Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 44348: /trunk/ /trunk/epan/: libwire

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Wed, 8 Aug 2012 23:10:57 +0200
On Wed, Aug 08, 2012 at 04:50:47PM -0400, mmann78@xxxxxxxxxxxx wrote:
> 
> Sort of "brute force" rethinking, but r44359 should compile now.

Not completely:

revision 44360

[  5%] Building C object epan/CMakeFiles/epan.dir/prefs.c.o
/home/jmayer/work/wireshark/svn/trunk/epan/prefs.c: In function ‘prefs_register_custom_preference’:
/home/jmayer/work/wireshark/svn/trunk/epan/prefs.c:1062:12: error: unused parameter ‘custom_data’ [-Werror=unused-parameter]
/home/jmayer/work/wireshark/svn/trunk/epan/prefs.c: In function ‘prefs_register_modules’:
/home/jmayer/work/wireshark/svn/trunk/epan/prefs.c:1780:9: error: passing argument 6 of ‘prefs_register_string_custom_preference’ from incompatible pointer type [-Werror]
/home/jmayer/work/wireshark/svn/trunk/epan/prefs.c:944:6: note: expected ‘const char **’ but argument is of type ‘gchar **’
/home/jmayer/work/wireshark/svn/trunk/epan/prefs.c:1705:43: error: variable ‘console_module’ set but not used [-Werror=unused-but-set-variable]
/home/jmayer/work/wireshark/svn/trunk/epan/prefs.c: At top level:
/home/jmayer/work/wireshark/svn/trunk/epan/prefs.c:2330:1: error: ‘find_index_from_string_array’ defined but not used [-Werror=unused-function]

Ciao
     Jörg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.