Package: openvrml Version: 0.15.10-8 Usertags: ftbfs-gcc-4.3 Tags: patch Your package fails to build with GCC 4.3. Version 4.3 has not been released yet but I'm building with a snapshot in order to find errors and give people an advance warning. In GCC 4.3, the C++ header dependencies have been cleaned up. The advantage of this is that programs will compile faster. The downside is that you actually need to directly #include everything you use (but you really should do this anyway, otherwise your program won't work with any compiler other than GCC). Some background of this can be found at http://gcc.gnu.org/PR28080
You can reproduce this problem with gcc-snapshot (20070326-1 or higher) from unstable. (Currently not available for i386, but for amd64, powerpc and ia64. I hope to have i386 binaries in the archive in the near future.) > Automatic build of openvrml_0.15.10-8 on em64t by sbuild/amd64 0.53 ... > g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/antlr -DANTLR_EXPORTS -g -Os > -MT src/CharScanner.lo -MD -MP -MF src/.deps/CharScanner.Tpo -c > src/CharScanner.cpp -fPIC -DPIC -o src/.libs/CharScanner.o > src/CharScanner.cpp: In member function 'virtual void > antlr::CharScanner::panic()': > src/CharScanner.cpp:85: error: 'exit' was not declared in this scope > src/CharScanner.cpp: In member function 'virtual void > antlr::CharScanner::panic(const std::string&)': > src/CharScanner.cpp:91: error: 'exit' was not declared in this scope > make[4]: *** [src/CharScanner.lo] Error 1 > make[4]: Leaving directory `/build/tbm/openvrml-0.15.10/lib/antlr' --- lib/antlr/src/CharScanner.cpp~ 2007-04-25 09:30:40.000000000 +0000 +++ lib/antlr/src/CharScanner.cpp 2007-04-25 09:31:13.000000000 +0000 @@ -5,6 +5,7 @@ * $Id: CharScanner.cpp,v 1.1.1.2 2004/11/08 20:45:24 braden Exp $ */ +#include <cstdlib> #include <iostream> #include "antlr/CharScanner.hpp" --- lib/antlr/src/Parser.cpp~ 2007-04-25 09:34:41.000000000 +0000 +++ lib/antlr/src/Parser.cpp 2007-04-25 09:34:48.000000000 +0000 @@ -11,6 +11,7 @@ #include "antlr/TokenBuffer.hpp" #include "antlr/MismatchedTokenException.hpp" //#include "antlr/ASTFactory.hpp" +#include <cstdlib> #include <iostream> #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE --- lib/antlr/src/TreeParser.cpp~ 2007-04-25 09:40:05.000000000 +0000 +++ lib/antlr/src/TreeParser.cpp 2007-04-25 09:40:13.000000000 +0000 @@ -10,6 +10,7 @@ #include "antlr/MismatchedTokenException.hpp" #include <iostream> #include <stdio.h> +#include <cstdlib> #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE namespace antlr { -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]