Andrew Waldrum wrote:
> so it is almost certainly a name collision with a definition of "Status"
> in fltk or something else fltk uses.
It's probably a collision with this Xwindows definition:
$ grep -r Status /usr/include/X11/
[..]
/usr/include/X11/Xwindows.h:#define Status int
[..]
> Is there anything I can do about it?
Don't use the word Status in a global context.
Changing the order of your #include files will just 'hide'
the problem, but is still dangerous, as there will eventually
be a disagreement somewhere about the actual definition.
I'd strongly suggest either creating a namespace to protect
your other definition of Status, or more likely, use a different
name altogether to avoid collision with Xwindows.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk