<sigh>
There is a conflict between <windows.h> and some of the libstdc++ STL headers
unless all of the STL includes are included before <windows.h> or visa versa
otherwise some versions of the GNU compilers need NOMINMAX defined
I *really* don't understand why this isn't done in the configure script or
in <simgear/compiler.h> which should be included in all compilations
</sigh>
FWIW To get around this I resort to specifying my compiler flags explicitly
i.e. < something like >
export CXXFLAGS="-pipe -O2 -Wall -DWIN32 -DNOMINMAX" export CFLAGS=$CXXFLAGS ./configure
Norman
The -DNOMINMAX flag worked, thanks!
-- Roy Vegard Ovesen
_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel