Package: qwtplot3d
Version: 0.2.7+svn191-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 qwtplot3d_0.2.7+svn191-2 on em64t by sbuild/amd64 0.53
...
> g++ -c -pipe -fno-exceptions -g -D_REENTRANT -Wall -W -fPIC -DGL2PS_HAVE_ZLIB 
> -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
> -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore 
> -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui 
> -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 
> -Iinclude -I/usr/X11R6/include -Itmp -I. -o tmp/qwt3d_function.o 
> src/qwt3d_function.cpp
> src/qwt3d_function.cpp: In member function 'virtual bool 
> Qwt3D::Function::create()':
> src/qwt3d_function.cpp:80: error: 'stderr' was not declared in this scope
> src/qwt3d_function.cpp:80: error: 'fprintf' was not declared in this scope
> make[1]: *** [tmp/qwt3d_function.o] Error 1
> make[1]: Leaving directory `/build/tbm/qwtplot3d-0.2.7+svn191/build/qt4'
> make: *** [build-stamp] Error 2

--- src/qwt3d_function.cpp~     2008-11-07 21:20:26.000000000 +0000
+++ src/qwt3d_function.cpp      2008-11-07 21:20:33.000000000 +0000
@@ -1,6 +1,8 @@
 #include "qwt3d_surfaceplot.h"
 #include "qwt3d_function.h"
 
+#include <cstdio>
+
 using namespace Qwt3D;
 
 Function::Function()

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to