Package: nload Version: 0.6.0-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 (20070326-1 or higher) from unstable. > Automatic build of nload_0.6.0-3 on coconut0 by sbuild/ia64 0.49 ... > if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT main.o -MD -MP -MF > ".deps/main.Tpo" \ > -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp; \ > then mv -f ".deps/main.Tpo" ".deps/main.Po"; \ > else rm -f ".deps/main.Tpo"; exit 1; \ > fi > In file included from main.cpp:34: > dev.h:40: warning: deprecated conversion from string constant to 'char*' > main.cpp: In function 'int main(int, char**)': > main.cpp:80: error: 'exit' was not declared in this scope > main.cpp:89: error: 'atol' was not declared in this scope > main.cpp:97: error: 'exit' was not declared in this scope > main.cpp:108: error: 'atol' was not declared in this scope > main.cpp:116: error: 'exit' was not declared in this scope > main.cpp:125: error: 'atoi' was not declared in this scope > main.cpp:137: error: 'exit' was not declared in this scope > main.cpp:145: error: 'atoi' was not declared in this scope > main.cpp:153: error: 'exit' was not declared in this scope > main.cpp:196: error: 'exit' was not declared in this scope > main.cpp:204: error: 'exit' was not declared in this scope > main.cpp:247: error: 'exit' was not declared in this scope > main.cpp:255: error: 'exit' was not declared in this scope > main.cpp: In function 'void end(int)': > main.cpp:399: error: 'exit' was not declared in this scope > make[3]: *** [main.o] Error 1 --- src/main.cpp~ 2007-04-02 19:30:36.000000000 +0000 +++ src/main.cpp 2007-04-02 19:30:46.000000000 +0000 @@ -41,6 +41,7 @@ #include <time.h> #include <curses.h> #include <signal.h> +#include <cstdlib> #include <string> #include <vector> using std::string; -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

