ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] include "tvbuff.h" failed

From: Marcel Haas <inf462@xxxxxxxxxxx>
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