Package: aprsd Version: 1:2.2.5-13-3.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 aprsd_1:2.2.5-13-3.1 on coconut0 by sbuild/ia64 0.49 ... > depfile='.deps/httpserver.Po' tmpdepfile='.deps/httpserver.TPo' \ > depmode=gcc3 /bin/sh ../support/depcomp \ > g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -g -O2 -Wall -pipe > -pthread -c -o httpserver.o `test -f 'httpserver.cpp' || echo > './'`httpserver.cpp > httpserver.cpp: In function 'void buildPage(StringList&)': > httpserver.cpp:164: warning: deprecated conversion from string constant to > 'char*' > httpserver.cpp:166: warning: deprecated conversion from string constant to > 'char*' > httpserver.cpp:169: warning: deprecated conversion from string constant to > 'char*' > httpserver.cpp:171: warning: deprecated conversion from string constant to > 'char*' > httpserver.cpp:174: warning: deprecated conversion from string constant to > 'char*' > httpserver.cpp:176: warning: deprecated conversion from string constant to > 'char*' > httpserver.cpp: In function 'void > buildPortInfoPage(std::list<std::basic_string<char, std::char_traits<char>, > std::allocator<char> >, std::allocator<std::basic_string<char, > std::char_traits<char>, std::allocator<char> > > >&, const std::string&)': > httpserver.cpp:463: warning: comparison is always true due to limited range > of data type > httpserver.cpp:465: error: 'strtol' was not declared in this scope ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > httpserver.cpp:495: warning: deprecated conversion from string constant to > 'char*' > httpserver.cpp:496: warning: deprecated conversion from string constant to > 'char*' > httpserver.cpp:497: warning: deprecated conversion from string constant to > 'char*' > httpserver.cpp:498: warning: deprecated conversion from string constant to > 'char*' > httpserver.cpp:499: warning: deprecated conversion from string constant to > 'char*' > httpserver.cpp:500: warning: deprecated conversion from string constant to > 'char*' > httpserver.cpp:501: warning: deprecated conversion from string constant to > 'char*' > httpserver.cpp:502: warning: deprecated conversion from string constant to > 'char*' > httpserver.cpp:503: warning: deprecated conversion from string constant to > 'char*' > httpserver.cpp:504: warning: deprecated conversion from string constant to > 'char*' > httpserver.cpp:505: warning: deprecated conversion from string constant to > 'char*' > httpserver.cpp:506: warning: deprecated conversion from string constant to > 'char*' > httpserver.cpp:507: warning: deprecated conversion from string constant to > 'char*' > httpserver.cpp:508: warning: deprecated conversion from string constant to > 'char*' > httpserver.cpp:509: warning: deprecated conversion from string constant to > 'char*' > httpserver.cpp:510: warning: deprecated conversion from string constant to > 'char*' > httpserver.cpp:511: warning: deprecated conversion from string constant to > 'char*' > make[3]: *** [httpserver.o] Error 1 --- src/httpserver.cpp~ 2007-04-01 14:55:51.000000000 +0000 +++ src/httpserver.cpp 2007-04-01 14:55:58.000000000 +0000 @@ -22,6 +22,7 @@ * Look at the README for more information on the program. */ +#include <cstdlib> #include <sys/ioctl.h> #include <sys/types.h> // send() #include <sys/socket.h> // send() -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

