Wireshark mailing list archives

include "tvbuff.h" failed


From: Marcel Haas <inf462 () Fh-Worms DE>
Date: Tue, 11 Oct 2011 10:32:33 +0200

Hey,

i want to include the tvbuff.h to my code so i can make own tvbs with tvbuff_t*
my code lies at wireshark/epan so as tvbuff.h.

My code :
#include "tvbuff.h"
...

when i am running make i get that failure

In file included from exceptions.h:29,
                 from tvbuff.h:41,
                 from list_mh.c:4:
except.h:97: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’ except.h:98: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’ except.h:99: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’ except.h:100: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’

What doing iam wrong ??

thx and regards
Marcel
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: