Package: qrfcview
Version: 0.62-5
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.
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 qrfcview_0.62-5 on em64t by sbuild/amd64 0.53
...
> /usr/bin/uic-qt4 find_dlg.ui -o ui_find_dlg.h
> g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_GUI_LIB
> -DQT_NETWORK_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/QtNetwork -I/usr/include/qt4/QtNetwork
> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I.
> -o rfcview.o rfcview.cpp
> In file included from rfcview.cpp:24:
> mainwindow.h:50: error: 'uint32_t' has not been declared
> mainwindow.h:113: error: 'uint8_t' does not name a type
> make[2]: *** [rfcview.o] Error 1
> make[2]: Leaving directory `/build/tbm/qrfcview-0.62/src'
--- src/mainwindow.h~ 2008-11-11 19:58:57.000000000 +0000
+++ src/mainwindow.h 2008-11-11 19:59:06.000000000 +0000
@@ -25,6 +25,8 @@
#include <QMainWindow>
#include <QDir>
+#include <stdint.h>
+
class QAction;
class QMenu;
class QWorkspace;
--- src/rfcloader.h~ 2008-11-11 20:00:16.000000000 +0000
+++ src/rfcloader.h 2008-11-11 20:00:23.000000000 +0000
@@ -25,6 +25,8 @@
#include <QStringList>
#include <QMap>
+#include <stdint.h>
+
/**
@author Romain Rollet
*/
--- src/mdichild.h~ 2008-11-11 20:00:54.000000000 +0000
+++ src/mdichild.h 2008-11-11 20:01:14.000000000 +0000
@@ -25,6 +25,8 @@
#include <QSplitter>
+ #include <stdint.h>
+
#define PARSER_NORMALTEXT 0
#define PARSER_BIBTEXT 1
#define PARSER_HEADER 2
--- src/cdialogfind.h~ 2008-11-11 20:01:18.000000000 +0000
+++ src/cdialogfind.h 2008-11-11 20:01:25.000000000 +0000
@@ -24,6 +24,8 @@
#include <qdialog.h>
#include <ui_find_dlg.h>
+#include <stdint.h>
+
#define FIND_OPTIONSFLAG_REGEXP 0x01
#define FIND_OPTIONSFLAG_CASE 0x02
#define FIND_OPTIONSFLAG_WHOLE 0x04
--- src/TitleModel.h~ 2008-11-11 20:02:00.000000000 +0000
+++ src/TitleModel.h 2008-11-11 20:02:05.000000000 +0000
@@ -30,6 +30,8 @@
#include <QModelIndex>
#include <QVariant>
+#include <stdint.h>
+
#define MAX_TITLE_LEVEL 16
class CTitleItem;
--- src/qrfceditor.h~ 2008-11-11 20:02:39.000000000 +0000
+++ src/qrfceditor.h 2008-11-11 20:02:46.000000000 +0000
@@ -22,6 +22,9 @@
#define QRFCEDITOR_H
#include <qtextbrowser.h>
+
+#include <stdint.h>
+
class QStringList;
/**
--- src/cdialogsetdirectory.h~ 2008-11-11 20:03:27.000000000 +0000
+++ src/cdialogsetdirectory.h 2008-11-11 20:03:34.000000000 +0000
@@ -23,6 +23,8 @@
#include <QStringList>
#include <ui_setdirectory_dlg.h>
+#include <stdint.h>
+
/**
@author Romain Rollet
*/
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]