Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 7402] generic preferences implementation

Date: Fri, 6 Jul 2012 00:46:46 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7402

--- Comment #10 from Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> 2012-07-06 00:46:45 PDT ---
I fixed some, but there're still some build issues:

prefs.c: In function 'prefs_register_modules':
prefs.c:1001:9: error: passing argument 5 of 'prefs_register_string_preference'
from incompatible pointer type
prefs.c:779:1: note: expected 'const char **' but argument is of type 'gchar
**'
prefs.c:1005:9: error: passing argument 5 of
'prefs_register_filename_preference' from incompatible pointer type
prefs.c:791:1: note: expected 'const char **' but argument is of type 'gchar
**'

prefs.c:2214:21: error: 'pr_formats' defined but not used
prefs.c:2215:21: error: 'pr_dests' defined but not used


ipproto.c: In function 'ipprotostr':
ipproto.c:288:26: error: invalid operands to binary != (have 'e_addr_resolve'
and 'int')

capture_file_dlg.c: In function 'file_open_cmd':
capture_file_dlg.c:581:29: error: 'e_prefs' has no member named 'name_resolve'


And for easier code maintaince I think we really need some macros (or
functions) for old RESOLV_ALL_ADDRS and RESOLV_ALL.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.