Package: guessnet Version: 0.42-1 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 guessnet_0.42-1 on coconut0 by sbuild/ia64 0.49 ... > IFace.cc:468: warning: type qualifiers ignored on function return type > g++ -DHAVE_CONFIG_H -I. -I.. -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD > -DHAVE_NET_ETHERNET_H -I/usr/include/boost-1_33_1/ > -DSCRIPTDIR=\"/usr/share/guessnet/test\" -DCOMPILE_TESTSUITE -g -Wall -O2 > -c -o Environment.o Environment.cc > Environment.cc: In function 'void fatal_error(const char*, ...)': > Environment.cc:64: error: 'exit' was not declared in this scope > make[3]: *** [Environment.o] Error 1 > make[3]: Leaving directory `/build/tbm/guessnet-0.42/src' --- tests/test-iface.cc~ 2007-04-01 20:54:18.000000000 +0000 +++ tests/test-iface.cc 2007-04-01 20:54:24.000000000 +0000 @@ -1,6 +1,7 @@ #include "Environment.h" #include "IFace.h" +#include <cstdlib> #include <stdio.h> static void printConfig(const char* tag, IFace& iface) --- src/Environment.cc~ 2007-04-01 20:50:13.000000000 +0000 +++ src/Environment.cc 2007-04-01 20:50:29.000000000 +0000 @@ -29,6 +29,7 @@ #include "Environment.h" +#include <cstdlib> #include <stdio.h> #include <stdarg.h> -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]