Wireshark-dev: Re: [Wireshark-dev] error in epan/tfs.h

From: Helge Kruse <Helge.Kruse-nospam@xxxxxxx>
Date: Mon, 18 Jul 2011 10:02:50 +0200
Am 18.07.2011 07:16, schrieb sagar sg:
Yes. My dissector code is in C++ which i am compiling independently and
using the required libraries.

I use always C++ to write my custom dissectors. Did you surround the Wireshark #include with extern "C" like this?

  extern "C" {
  #include <epan/packet.h>
  #include <ftypes/ftypes.h>
  }

Helge