This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

g++ 3.0 vs. qt 2.3.0


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]