I'm trying to test a dissector plug in for wireshark in Linux by following these steps. When I use sudo make -C plugins, I get several similar compilation errors say that MySourceFileDissectorName.c: In function 'X': MySourceFileDissectorName.c:990:11: error: request for implicit conversion from 'gpointer' to 'some struct data type *' not permitted in C++ [-Werror=c++-compat] .... etc.
I've no idea what the cause of the error or how can I resolve it. Any ideas or hints!
Thanks in advance!
asked 15 Jun '14, 14:18
The cause of the error is that
so we build the code with "-Werror=c++-compat".
You resolve it by doing
answered 15 Jun ‘14, 15:49
Guy Harris ♦♦