Package: tulip
Version: 3.1.2-1
User: [email protected]
Usertags: ftbfs-gcc-4.4
Tags: patch
Your package fails to build with GCC 4.4, which has 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-4.4/g++-4.4 from unstable.
> Automatic build of tulip_3.1.2-1 on em64t by sbuild/amd64 0.53
...
> g++ -DHAVE_CONFIG_H -I. -I../../../../library/tulip-ogl/src -I../../..
> -I../../../../library/tulip-ogl/include -D_REENTRANT -I/usr/include
> -I../../../../library/tulip/include -I../../../../library/tulip/include/tulip
> -I../../../library/tulip/include -I../../../library/tulip/include/tulip
> -I/usr/include/GL -I../../../../thirdparty/ftgl -I/usr/include/freetype2
> -I/usr/include/libxml2 -DI64 -DSTATS_UI -DNDEBUG -O3 -funroll-loops -pipe -MT
> GlFeedBackRecorder.lo -MD -MP -MF .deps/GlFeedBackRecorder.Tpo -c
> ../../../../library/tulip-ogl/src/GlFeedBackRecorder.cpp -fPIC -DPIC -o
> .libs/GlFeedBackRecorder.o
> ../../../../library/tulip-ogl/src/GlFeedBackRecorder.cpp: In member function
> 'void tlp::GlFeedBackRecorder::sortAndRecord(GLint, GLfloat*)':
> ../../../../library/tulip-ogl/src/GlFeedBackRecorder.cpp:83: error: 'printf'
> was not declared in this scope
> ../../../../library/tulip-ogl/src/GlFeedBackRecorder.cpp: In member function
> 'GLfloat* tlp::GlFeedBackRecorder::recordPrimitive(GLfloat*)':
> ../../../../library/tulip-ogl/src/GlFeedBackRecorder.cpp:198: error: 'printf'
> was not declared in this scope
> make[5]: *** [GlFeedBackRecorder.lo] Error 1
> make[5]: Leaving directory
> `/build/tbm/tulip-3.1.2/BUILD/library/tulip-ogl/src'
> make[4]: *** [all-recursive] Error 1
--- library/tulip-ogl/src/GlFeedBackRecorder.cpp~ 2009-05-06
07:17:30.000000000 +0000
+++ library/tulip-ogl/src/GlFeedBackRecorder.cpp 2009-05-06
07:17:36.000000000 +0000
@@ -11,6 +11,7 @@
*/
#include "tulip/GlFeedBackRecorder.h"
+#include <cstdio>
#include <iostream>
using namespace std;
--- library/tulip-qt/src/SGHierarchyWidget.cpp~ 2009-05-06 07:19:49.000000000
+0000
+++ library/tulip-qt/src/SGHierarchyWidget.cpp 2009-05-06 07:19:54.000000000
+0000
@@ -13,6 +13,7 @@
#include <config.h>
#endif
+#include <cstdio>
#include <iostream>
#include <QtGui/qinputdialog.h>
--- library/tulip-qt/src/MainController.cpp~ 2009-05-06 07:28:39.000000000
+0000
+++ library/tulip-qt/src/MainController.cpp 2009-05-06 07:28:49.000000000
+0000
@@ -11,6 +11,8 @@
*/
#include "tulip/MainController.h"
+#include <cstdio>
+
#include <QtGui/QDockWidget>
#include <QtGui/QWorkspace>
#include <QtGui/QToolBar>
--- plugins/import/dotImportCLUT.h~ 2009-05-06 07:34:14.000000000 +0000
+++ plugins/import/dotImportCLUT.h 2009-05-06 07:34:23.000000000 +0000
@@ -10,6 +10,7 @@
(at your option) any later version.
*/
+#include <cstdio>
struct X11Color
{
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]