Package: simgear Severity: normal Tags: patch When building 'simgear' on amd64 with gcc-4.0, I get the following error:
g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../.. -fPIC -pipe -g -O2 -D_REENTRANT -c -o easyxml.o `test -f easyxml.cxx || echo './'`easyxml.cxx In file included from easyxml.cxx:3: ../../simgear/compiler.h:145:6: error: #error Time to upgrade. GNU compilers < 2.7 not supported In file included from easyxml.hxx:12, from easyxml.cxx:7: With the attached patch 'simgear' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/simgear-0.3.6/simgear/compiler.h ./simgear/compiler.h --- ../tmp-orig/simgear-0.3.6/simgear/compiler.h 2004-05-03 15:57:08.000000000 +0200 +++ ./simgear/compiler.h 2005-02-02 20:16:48.630765790 +0100 @@ -121,7 +121,7 @@ # define STL_STRSTREAM <strstream> # endif -# elif __GNUC__ == 3 +# elif __GNUC__ >= 3 // g++-3.0.x # define SG_EXPLICIT_FUNCTION_TMPL_ARGS # define SG_NEED_AUTO_PTR -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]