> Looking in my copy of wtypes.h, at line 141 I actually have:
>
> typedef double DOUBLE;
>
> This appears to be getting expanded at compile time as:
>
> typedef double fltk3::DOUBLE;
>
> Which then clashes with the definition "fltk3::Mode
> fltk3::DOUBLE" in our enumerations.h.
>
>
> So - I wonder if this is a mingw issue or a gcc issue, or
> maybe we genuinely have a problem...
>
> I wonder if we are having some sort of namespace issue here,
> i.e. have we done a "using namespace fltk3" or whatever, and
> then somehow made it look to the compiler as if all the
> windows.h stuff is inside the fltk3 namespace, or...? Just guessing...
OK: I'm pretty sure that threads.h is the culprit here - it explicitly
#includes several system header files from inside the namespace fltk3
{...} and that seems to be the issue.
Moving those #include out of the namespace{} and all seems to compile
just fine...
SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14
3EL
A company registered in England & Wales. Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev