Unable to compile wireshark plugin on windows 10
I'm getting the following error while trying to build a plugin for wireshark 3.2.1 on my PC (windows 10)
C:\Users\ravishas\Desktop\wsnew\plugins\epan\expand\packet-expand.c(778,43): warning C4113: 'void (__cdecl *)(tvbuff_t *,packet_info *,proto_tree *)' differs in parameter lists from 'dissector_t' [C:\Development\build_try\plugins\epan\expand\expand.vcxproj]
C:\Users\ravishas\Desktop\wsnew\plugins\epan\expand\packet-expand.c(778,43): warning C4133: 'function': incompatible types - from 'void (__cdecl *)(tvbuff_t *,packet_info *,proto_tree *)' to 'dissector_t' [C:\Development\build_try\plugins\epan\expand\expand.vcxproj]
There seems to be an error in the parameter list for the dissector_t and create_dissector_handle functions. I tried using the new_create_dissector_handle function too but the error remains. What else is the error? How can it be rectified?
Thanks a lot