Package: paintlib Version: 2.6.2-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. > Automatic build of paintlib_2.6.2-8 on coconut0 by sbuild/ia64 0.49 ... > plpixelformat.cpp:53: warning: deprecated conversion from string constant to > 'char*' > plpixelformat.cpp:53: warning: deprecated conversion from string constant to > 'char*' > plpixelformat.cpp: In static member function 'static PLPixelFormat::Channel > PLPixelFormat::parseChannel(const std::string&, unsigned int&)': > plpixelformat.cpp:129: warning: comparison is always false due to limited > range of data type > plpixelformat.cpp:137: warning: comparison is always false due to limited > range of data type > plpixelformat.cpp: In constructor 'PLPixelFormat::PLPixelFormat(const > std::string&)': > plpixelformat.cpp:228: error: 'atoi' was not declared in this scope > make[4]: *** [plpixelformat.lo] Error 1 --- common/plpixelformat.cpp~ 2007-04-02 20:52:11.000000000 +0000 +++ common/plpixelformat.cpp 2007-04-02 20:52:17.000000000 +0000 @@ -10,6 +10,7 @@ #include "plpixelformat.h" +#include <cstdlib> #include <vector> #include <sstream> -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]