Package: aiksaurus Version: 1.2.1+dev-0.12-3 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 from unstable. > Automatic build of aiksaurus_1.2.1+dev-0.12-3 on coconut0 by sbuild/ia64 0.49 ... > creating libAiksaurus.la > (cd .libs && rm -f libAiksaurus.la && ln -s ../libAiksaurus.la > libAiksaurus.la) > if ia64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. > -DAIK_DATA_DIR=\"/usr/share/aiksaurus/\" -g -O2 -MT aiksaurus.t.o -MD -MP > -MF ".deps/aiksaurus.t.Tpo" -c -o aiksaurus.t.o aiksaurus.t.cpp; \ > then mv -f ".deps/aiksaurus.t.Tpo" ".deps/aiksaurus.t.Po"; else rm -f > ".deps/aiksaurus.t.Tpo"; exit 1; fi > aiksaurus.t.cpp: In function 'void checkError(const Aiksaurus&)': > aiksaurus.t.cpp:59: error: 'exit' was not declared in this scope > aiksaurus.t.cpp: In function 'int main(int, const char**)': > aiksaurus.t.cpp:138: error: 'exit' was not declared in this scope > aiksaurus.t.cpp:145: error: 'exit' was not declared in this scope > aiksaurus.t.cpp:153: error: 'exit' was not declared in this scope > make[3]: *** [aiksaurus.t.o] Error 1 > make[3]: Leaving directory `/build/tbm/aiksaurus-1.2.1+dev-0.12/base' --- base/aiksaurus.t.cpp~ 2007-04-01 14:20:58.000000000 +0000 +++ base/aiksaurus.t.cpp 2007-04-01 14:21:04.000000000 +0000 @@ -22,6 +22,7 @@ #include "Aiksaurus.h" #include "AsciiCompare.h" #include "config.h" +#include <cstdlib> #include <iostream> #include <string> using namespace std; --- gtk/src/gtkAiksaur.t.cpp~ 2007-04-01 14:21:52.000000000 +0000 +++ gtk/src/gtkAiksaur.t.cpp 2007-04-01 14:21:59.000000000 +0000 @@ -21,6 +21,7 @@ #include <AiksaurusGTK.h> #include "config.h" #include <gtk/gtk.h> +#include <cstdlib> #include <iostream> #include <string> using namespace std; -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]