Norman Vine wrote: > 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
A better idea would probably be to firewall off the windows.h madness and make sure it's included *only* where it's actually needed for OS-dependent functions. IMHO, there's absolutely no reason for the autopilot implementation to have to pull in OS dependencies at all. Do a "fgrep -riI windows.h ." in the source trees. It appears in all sorts of places where it really shouldn't. Andy _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
