Package: zhcon Version: 1:0.2.6-5.2 User: [EMAIL PROTECTED] Usertags: ftbfs-gcc-4.4 Tags: patch
Your package fails to build with the upcoming GCC 4.4. Version 4.4 has not been released yet but I'm building with a snapshot in order to find errors and give people an advance warning. GCC 4.4 cleaned up some more C++ headers. You always have to #include headers directly and cannot rely for things to be included indirectly. You can reproduce this problem with gcc-snapshot from unstable. > Automatic build of zhcon_1:0.2.6-5.2 on em64t by sbuild/amd64 0.53 ... > if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -funsigned-char -O2 -DNDEBUG > -Wall -MT graphdev.o -MD -MP -MF ".deps/graphdev.Tpo" -c -o graphdev.o > graphdev.cpp; \ > then mv -f ".deps/graphdev.Tpo" ".deps/graphdev.Po"; else rm -f > ".deps/graphdev.Tpo"; exit 1; fi > graphdev.cpp: In member function 'void GraphDev::DrawLine(int, int, int, int, > int)': > graphdev.cpp:135: error: 'abs' was not declared in this scope > make[4]: *** [graphdev.o] Error 1 > make[4]: Leaving directory `/build/tbm/zhcon-0.2.6/src' --- src/graphdev.cpp~ 2008-11-11 20:07:41.000000000 +0000 +++ src/graphdev.cpp 2008-11-11 20:08:39.000000000 +0000 @@ -25,6 +25,7 @@ #include <sys/ioctl.h> #include <sys/mman.h> #include <assert.h> +#include <cstdlib> #include <iostream> #include "debug.h" --- src/inputmanager.cpp~ 2008-11-11 20:10:31.000000000 +0000 +++ src/inputmanager.cpp 2008-11-11 20:10:48.000000000 +0000 @@ -23,6 +23,7 @@ #include <unistd.h> #include <sys/time.h> +#include <cstdlib> #include <string> #include "global.h" -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

