[prev in list] [next in list] [prev in thread] [next in thread]
List: flightgear-devel
Subject: [Flightgear-devel] Cygwin Build Problem
From: Jonathan Polley <eq_fidget () mac ! com>
Date: 2003-05-31 1:37:49
[Download RAW message or body]
I just updated to the latest SimGear and had to make a mod to simgear/scene/tgdb/obj.cxx. I had to add a #define of NOMINMAX before the #include of <simgear/bucket/newbucket.hxx>, otherwise I got the following error:
In file included from /usr/include/c++/3.2/bits/locale_facets.tcc:43,
from /usr/include/c++/3.2/locale:46,
from /usr/include/c++/3.2/bits/ostream.tcc:37,
from /usr/include/c++/3.2/ostream:275,
from /usr/include/c++/3.2/iostream:45,
from ../../../simgear/bucket/newbucket.hxx:44,
from obj.cxx:33:
/usr/include/c++/3.2/limits:942:22: macro "min" requires 2 arguments, but only 1
given
In file included from /usr/include/c++/3.2/bits/locale_facets.tcc:43,
from /usr/include/c++/3.2/locale:46,
from /usr/include/c++/3.2/bits/ostream.tcc:37,
from /usr/include/c++/3.2/ostream:275,
from /usr/include/c++/3.2/iostream:45,
from ../../../simgear/bucket/newbucket.hxx:44,
from obj.cxx:36:
/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
/usr/include/c++/3.2/limits:943: ISO C++ forbids defining types within return type
/usr/include/c++/3.2/limits:943: syntax error before `throw'
/usr/include/c++/3.2/limits:943: syntax error before `throw'
/usr/include/c++/3.2/limits:944: syntax error before `(' token
/usr/include/c++/3.2/limits:945: syntax error before `(' token
/usr/include/c++/3.2/limits:946: syntax error before `(' token
/usr/include/c++/3.2/limits:947: syntax error before `(' token
/usr/include/c++/3.2/limits:948: syntax error before `(' token
/usr/include/c++/3.2/limits:949: syntax error before `(' token
/usr/include/c++/3.2/limits:956: `numeric_limits' is not a template
/usr/include/c++/3.2/limits:957: confused by earlier errors, bailing out
make: *** [obj.o] Error 1
Tha MacOS X version built just fine.
Jonathan Polley
Of COURSE they can do that. They're engineers!
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic