> /usr/include/c++/3.2/limits:942: parse error before `throw'
> /usr/include/c++/3.2/limits:943:22: macro "max" requires 2 arguments, 
> but only 1  given
>
> This error comes from a <windows.h> and gnu STL header clash where
either all of the STL > headers must be include either before or after
<windows.h> to avoid this clash or to #define NOMINMAX

>Powers tobe have tried to squash it by having the autoconfig mechanism
#define NOMINMAX in the FGFS config.h file

I've looked at config.h and it's not been defined - I've added a line
#define NOMINMAX 1
But this does not resolve the problem.
I'm also having the same problem compiling terragear - my main reason
for compiling flightgear was to ensure that all the prereqs. For
terragear have been fulfilled.

>My guess is that the FGFS "config.h" is not be be being included in a
file 

This might be the case, however it's there in the Makefile so it
*should* be included.

>Some previous discussion on this issue in this thread
http://www.menet.umn.edu/~curt/lists/fgfs/archive-200212/msg00050.html 

Thanks for the link - but then as well as being totally lost it all went
dark too ;-)

Sorry for my n00b questions but I'm a bit new to developing using
cygwin/gcc and it's taking a while to grasp how all the source hangs
together - something I'm sure I'll get to grips with over time.  Thanks
for your help.
Al

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.507 / Virus Database: 304 - Release Date: 04/08/2003
 


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to