Package: libqglviewer Version: 2.2.6-3-3 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 libqglviewer_2.2.6-3-3 on em64t by sbuild/amd64 0.53 .... > g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT -fPIC -DQT_NO_DEBUG > -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT > -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -I/usr/X11R6/include > -I.moc/ -o .obj/BSPSortMethod.o VRender/BSPSortMethod.cpp > VRender/BSPSortMethod.cpp: In member function 'void > BSPNode::Classify(vrender::Segment*, vrender::Segment*&, vrender::Segment*&)': > VRender/BSPSortMethod.cpp:306: error: 'printf' was not declared in this scope > VRender/BSPSortMethod.cpp: In member function 'void > BSPNode::Classify(vrender::Polygone*, vrender::Polygone*&, > vrender::Polygone*&)': > VRender/BSPSortMethod.cpp:319: error: 'printf' was not declared in this scope > VRender/BSPSortMethod.cpp:477: error: 'printf' was not declared in this scope > VRender/BSPSortMethod.cpp:480: error: 'printf' was not declared in this scope > VRender/BSPSortMethod.cpp:483: error: 'printf' was not declared in this scope > VRender/BSPSortMethod.cpp: In member function 'void > BSPNode::insert(vrender::Polygone*)': > VRender/BSPSortMethod.cpp:506: warning: suggest explicit braces to avoid > ambiguous 'else' > VRender/BSPSortMethod.cpp:512: warning: suggest explicit braces to avoid > ambiguous 'else' > VRender/BSPSortMethod.cpp: In member function 'void > BSPNode::insert(vrender::Point*)': > VRender/BSPSortMethod.cpp:545: warning: suggest explicit braces to avoid > ambiguous 'else' > VRender/BSPSortMethod.cpp:551: warning: suggest explicit braces to avoid > ambiguous 'else' > VRender/BSPSortMethod.cpp: In member function 'void > BSPNode::insert(vrender::Segment*)': > VRender/BSPSortMethod.cpp:564: warning: suggest explicit braces to avoid > ambiguous 'else' > VRender/BSPSortMethod.cpp:570: warning: suggest explicit braces to avoid > ambiguous 'else' > make[1]: *** [.obj/BSPSortMethod.o] Error 1 > make[1]: Leaving directory `/build/tbm/libqglviewer-2.2.6-3/QGLViewer' --- QGLViewer/VRender/BSPSortMethod.cpp~ 2008-11-08 20:47:19.000000000 +0000 +++ QGLViewer/VRender/BSPSortMethod.cpp 2008-11-08 20:49:01.000000000 +0000 @@ -45,6 +45,7 @@ *****************************************************************************/ +#include <cstdio> #include "VRender.h" #include "Primitive.h" #include "SortMethod.h" --- QGLViewer/VRender/Exporter.cpp~ 2008-11-08 20:48:22.000000000 +0000 +++ QGLViewer/VRender/Exporter.cpp 2008-11-08 20:48:29.000000000 +0000 @@ -45,6 +45,7 @@ *****************************************************************************/ +#include <cstdio> #include <stdexcept> #include "VRender.h" #include "Exporter.h" --- QGLViewer/VRender/FIGExporter.cpp~ 2008-11-08 20:49:17.000000000 +0000 +++ QGLViewer/VRender/FIGExporter.cpp 2008-11-08 20:49:31.000000000 +0000 @@ -45,6 +45,7 @@ *****************************************************************************/ +#include <cstdio> #include "Exporter.h" #include "math.h" -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]