On 2007-07-30, MenTaLguY <mental / rydia.net> wrote:

> On Tue, 2007-07-31 at 02:24 +0900, Jeremy Henty wrote:
> 
>> OK, the problem is that g++ requires you to declare enum's before
>> using them and 1.8.6-p36 added some declarations to intern.h that
>> use an enum defined in node.h .
>
> Would forward-declaring the enum before including either header
> work?

I thought of that but I couldn't get it to work.  I tried adding "enum
<missing_enum_name>;" but g++ raised the same error as before.  It
insists on a *definition* of the enum; a declaration is not enough, at
least as far as I can tell.  If anyone smarter than I can make this
work then I would really love to know!

Regards, 

Jeremy Henty