Ethereal-dev: Re: [ethereal-dev] Ethereal C++ compatability

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Mon, 29 May 2000 12:37:32 -0700
On Mon, May 29, 2000 at 05:04:51PM +0200, andreas.sikkema@xxxxxxxxxxx wrote:
> When I don't put the two typedefs within the #ifndef, I get the 
> following error:
> proto.h(46) : error C2371: 'GNode' : redefinition; different basic types
>         C:\tools\gtk-dev\src\glib\glib.h(694) : see declaration of 'GNode'

What happens if you change the typedefs to

	typedef GNode proto_tree;
	typedef GNode proto_item;