Making the project compile for gcc 4.1.2
authorviric@llimona
Fri, 08 Feb 2008 23:44:44 +0100
changeset 243 543cb6aaccf9
parent 242 673f326a5166
child 244 375fe7532b37
Making the project compile for gcc 4.1.2
qjpeg/gui/QChain.cpp
qjpeg/ogdl/OGDLChars.h
qjpeg/ogdl/Stream2Parser.cpp
--- a/qjpeg/gui/QChain.cpp	Mon Dec 17 00:03:15 2007 +0100
+++ b/qjpeg/gui/QChain.cpp	Fri Feb 08 23:44:44 2008 +0100
@@ -15,6 +15,8 @@
 #include <QGraphicsRectItem>
 #include <QGraphicsSimpleTextItem>
 
+#include <assert.h>
+
 #include <map>
 #include <Chain.h>
 #include <ChainStorage.h>
--- a/qjpeg/ogdl/OGDLChars.h	Mon Dec 17 00:03:15 2007 +0100
+++ b/qjpeg/ogdl/OGDLChars.h	Fri Feb 08 23:44:44 2008 +0100
@@ -8,8 +8,8 @@
 
 namespace OGDLChars
 {
-    bool OGDLChars::isspace(QChar c);
-    bool OGDLChars::isbreak(QChar c);
-    bool OGDLChars::isseparator(QChar c);
-    bool OGDLChars::ischarword(QChar c);
+    bool isspace(QChar c);
+    bool isbreak(QChar c);
+    bool isseparator(QChar c);
+    bool ischarword(QChar c);
 }
--- a/qjpeg/ogdl/Stream2Parser.cpp	Mon Dec 17 00:03:15 2007 +0100
+++ b/qjpeg/ogdl/Stream2Parser.cpp	Fri Feb 08 23:44:44 2008 +0100
@@ -9,6 +9,8 @@
 
 #include <QDebug>
 
+#include <assert.h>
+
 #include "Stream2Parser.h"
 #include "OGDLChars.h"
 #include "Parser.h"