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

From: Marcel Haas <inf462@xxxxxxxxxxx>
Date: Tue, 11 Oct 2011 14:02:48 +0200
On Tue, 11 Oct 2011 10:32:33 +0200, Marcel Haas <inf462@xxxxxxxxxxx> wrote:
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@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe


Problem solved !