Norman Vine wrote:
> Patrick Staehlin writes: > > > > Has anyone managed to compile 0.2.0 on cygwin/gcc3.2-2? > > Arrgh ... I thought that 3.2-2 would just work :-( > > Try adding this to $SIMGEAR / simgear / compiler.h > > $ cvs diff compiler.h > Index: compiler.h > =================================================================== > RCS file: /var/cvs/SimGear-0.3/SimGear/simgear/compiler.h,v > retrieving revision 1.1.1.1 > diff -r1.1.1.1 compiler.h > 144a145,149 > > # ifdef WIN32 > > // keep windows.h from #defining min() max() macros > > # define NOMINMAX > > #endif > > Can we get this patch or its functional equivalant comitted into the CVS please so that we can support gcc 3.2 on Windows ? I realize that Patrick needed to change the #ifdef WIN32 to #ifdef __CYGWIN__ but this should not be necessary in that WIN32 should be being #defined by our configure script and as it is written this works on both Cygwin and MingW32 Norman _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
