Gents,

 

When building FGFS 1.0.0 using Cygwin the following error occurs when
compiling fgmetar.cxx:

 

make[2]: Entering directory
`/cygdrive/c/cm/FlightGear-1.0.0/src/Environment'

g++ -DHAVE_CONFIG_H -I. -I../../src/Include -I../.. -I../../src
-I/usr/local/in

clude  -g -O2 -D_REENTRANT -MT fgmetar.o -MD -MP -MF .deps/fgmetar.Tpo -c -o
fgm

etar.o fgmetar.cxx

In file included from /usr/include/c++/3.3.3/bits/locale_facets.tcc:43,

                 from /usr/include/c++/3.3.3/locale:47,

                 from /usr/include/c++/3.3.3/bits/ostream.tcc:37,

                 from /usr/include/c++/3.3.3/ostream:535,

                 from /usr/include/c++/3.3.3/iostream:45,

                 from /usr/local/include/simgear/debug/logstream.hxx:36,

                 from ../../src/Main/fg_props.hxx:9,

                 from fgmetar.cxx:38:

/usr/include/c++/3.3.3/limits:205:22: macro "min" requires 2 arguments, but
only

 1 given

 

This occurs with both gcc 3.3.3 and 3.4.4.  Plib 1.8.4 and SimGear 1.0.0
compile and install fine. In config.h (attached) NOMINMAX is defined to 1.
I don't use X, but do have some X headers installed, as required for the
Cygwin freetype package.

 

Any suggestions or ideas would be appreciated.

 

BTW the SourceForge FlightGear-Devel archives (post-2005) appear to be down,
so I was not able to search for this issue on the list.

 

Thanks,

Paul

 

[EMAIL PROTECTED]

 

 

 

 

 

Attachment: config.h
Description: Binary data

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to