"Jon S. Berndt" writes:

> > > This is under Cygwin, so it's a little surprising. I've been
> > > compiling this
> > > way for years and this is the first I've seen of it. Is this a
> > > relatively new change in the code?
> > >
> > > Jon
> > >
> > >
> > >
> > I could not compile SimGear CVS under CYGWIN for a short time due to
> > this error.
> > Will now try to make the changes recommended.
> > Thank you Jon for making it public.
> > Georg EDDW
> 
> George:
> 
> If you find the fix, please make *that* public! :-)  I've got a headache
> after looking through this for a while, and I've already spent more time on
> this than I have.
> 
> I'm DITW (dead in the water) until this is resolved.
> 

You need to include either config.h or simgear_config.h (can't remember which 
one offhand for SimGear) as the first include in the offending source (cxx or 
cpp) file.  This picks up the NOMINMAX definition.

Alternatively define NOMINMAX globally as Mattias say's later on.

Cheers - Dave


_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to