Package: kmchart
Version: 1.2.7
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 kmchart_1.2.7 on em64t by sbuild/amd64 0.53
...
> g++ -c -pipe -g -Wall -W -fPIC -D_REENTRANT -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 -I/usr/X11R6/include -I. -I.
> -o qwt3d_function.o qwt3d_function.cpp
> qwt3d_function.cpp: In member function 'virtual bool
> Qwt3D::Function::create()':
> qwt3d_function.cpp:80: error: 'stderr' was not declared in this scope
> qwt3d_function.cpp:80: error: 'fprintf' was not declared in this scope
> make[4]: *** [qwt3d_function.o] Error 1
> make[3]: *** [default] Error 2
> make[2]: *** [default] Error 2
--- src/libqwt3d/qwt3d_function.cpp~ 2008-11-07 20:50:29.000000000 +0000
+++ src/libqwt3d/qwt3d_function.cpp 2008-11-07 20:50:41.000000000 +0000
@@ -1,6 +1,8 @@
#include "qwt3d_surfaceplot.h"
#include "qwt3d_function.h"
+#include <cstdio>
+
using namespace Qwt3D;
Function::Function()
--- src/query/kmquery.h~ 2008-11-07 20:55:17.000000000 +0000
+++ src/query/kmquery.h 2008-11-07 20:55:30.000000000 +0000
@@ -31,6 +31,8 @@
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
+#include <cstdio>
+
class KmQuery : public QDialog
{
Q_OBJECT
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]