You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. patch http://code.google.com/p/protobuf-wireshark/issues/detail?id=9
2. compile against wireshark-1.10.5
CC packet-protobuf.lo
packet-protobuf.c: In function 'proto_register_protobuf':
packet-protobuf.c:70:9: error: too many arguments to function
'get_persconffile_path'
dirname = get_persconffile_path("protobuf", FALSE, FALSE);
^
In file included from packet-protobuf.c:9:0:
../../epan/filesystem.h:197:21: note: declared here
WS_DLL_PUBLIC char *get_persconffile_path(const char *filename, gboolean from_profile);
^
packet-protobuf.c:60:12: warning: variable 'protobuf_module' set but not used
[-Wunused-but-set-variable]
module_t *protobuf_module;
^
packet-protobuf.c: In function 'wireshark_pb_process_protobuf_register_subtree':
packet-protobuf.c:152:31: warning: request for implicit conversion from 'void
*' to 'struct hf_register_info *' not permitted in C++ [-Wc++-compat]
hf_register_info *hf_info = malloc(sizeof( hf_register_info ) );
^
packet-protobuf.c: In function 'wireshark_pb_process_protobuf_register_field':
packet-protobuf.c:173:27: warning: enum conversion in initialization is invalid
in C++ [-Wc++-compat]
type,
^
packet-protobuf.c:173:27: warning: (near initialization for
'message_info.hfinfo.type') [-Wc++-compat]
packet-protobuf.c:181:31: warning: request for implicit conversion from 'void
*' to 'struct hf_register_info *' not permitted in C++ [-Wc++-compat]
hf_register_info *hf_info = malloc(sizeof( hf_register_info ) );
^
make: *** [packet-protobuf.lo] Error 1
Unable to compile wireshark plugin in /tmp/wireshark-1.10.5//plugins/protobuf
f
Original issue reported on code.google.com by [email protected] on 3 Mar 2014 at 1:37
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 3 Mar 2014 at 1:37The text was updated successfully, but these errors were encountered: