This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
g++ 3.0 vs. qt 2.3.0
- To: gcc at gcc dot gnu dot org
- Subject: g++ 3.0 vs. qt 2.3.0
- From: Peter Schmid <schmid at snake dot iap dot physik dot tu-darmstadt dot de>
- Date: Fri, 15 Jun 2001 16:48:39 +0200 (CEST)
- cc: libstdc++ at gcc dot gnu dot org, qt-interest at trolltech dot com
After applying the appended patch gcc version 3.0 20010614 compiles qt
version 2.3.0 without a problem and without a warning on the
i686-pc-linux-gnu target.
The executables, I tried, run fine.
Peter Schmid
*** src/tools/qglobal.h~ Mon Mar 5 19:09:36 2001
--- src/tools/qglobal.h Fri Jun 15 13:19:41 2001
***************
*** 200,205 ****
--- 200,209 ----
#define Q_DELETING_VOID_UNDEFINED
#define Q_FP_CCAST_BROKEN
#endif
+ #if __GNUC__ == 3
+ #define Q_DELETING_VOID_UNDEFINED
+ #endif
+
#if (defined(__arm__) || defined(__ARMEL__)) && !defined(QT_MOC_CPP)
#define Q_PACKED __attribute__ ((packed))
#endif