Package: sailcut Version: 1.3.2-1 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 sailcut_1.3.2-1 on em64t by sbuild/amd64 0.53 ... > g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -g -O2 -g -Wall -O2 -W -Wall > -c -o panelgroup.o panelgroup.cpp > panelgroup.cpp: In member function 'void CPanelGroup::placeLabels()': > panelgroup.cpp:89: error: 'sprintf' was not declared in this scope > panelgroup.cpp: In member function 'void CPanelGroup::plotLabels()': > panelgroup.cpp:104: error: 'sprintf' was not declared in this scope > make[5]: *** [panelgroup.o] Error 1 --- src/sailcpp/panelgroup.cpp~ 2008-11-11 21:40:01.000000000 +0000 +++ src/sailcpp/panelgroup.cpp 2008-11-11 21:40:20.000000000 +0000 @@ -18,6 +18,7 @@ */ #include "panelgroup.h" +#include <cstdio> /** Constructs a panel group with the specified number of panels. */ --- src/main.cpp~ 2008-11-11 21:44:11.000000000 +0000 +++ src/main.cpp 2008-11-11 21:44:16.000000000 +0000 @@ -20,6 +20,7 @@ #include "sailcutqt.h" #include "formmain.h" #include <geocpp/core.h> +#include <cstdio> /** @mainpage * This is the documentation for Sailcut CAD's code. -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]