I've succesfully compiled my app under version 4.3.4. 15 minutes ago I switched to 4.4.0 Opensource under XP and under Eclipse (it compiled without problems) and now I get following error:
Qt Code:
  1. mingw32-make
  2. mingw32-make -f Makefile.Debug
  3. mingw32-make[1]: Entering directory `C:/Documents and Settings/markofr/workspace/Client'
  4. g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Qt\4.4.0\include\QtCore" -I"..\..\..\..\Qt\4.4.0\include\QtCore" -I"..\..\..\..\Qt\4.4.0\include\QtGui" -I"..\..\..\..\Qt\4.4.0\include\QtGui" -I"..\..\..\..\Qt\4.4.0\include\QtSql" -I"..\..\..\..\Qt\4.4.0\include\QtSql" -I"..\..\..\..\Qt\4.4.0\include" -I"c:\Qt\4.4.0\include\ActiveQt" -I"debug" -I"." -I"..\..\..\..\Qt\4.4.0\mkspecs\win32-g++" -o debug\CShoppingCartDelegate.o CShoppingCartDelegate.cpp
  5. g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Qt\4.4.0\include\QtCore" -I"..\..\..\..\Qt\4.4.0\include\QtCore" -I"..\..\..\..\Qt\4.4.0\include\QtGui" -I"..\..\..\..\Qt\4.4.0\include\QtGui" -I"..\..\..\..\Qt\4.4.0\include\QtSql" -I"..\..\..\..\Qt\4.4.0\include\QtSql" -I"..\..\..\..\Qt\4.4.0\include" -I"c:\Qt\4.4.0\include\ActiveQt" -I"debug" -I"." -I"..\..\..\..\Qt\4.4.0\mkspecs\win32-g++" -o debug\CShoppingCartView.o CShoppingCartView.cpp
  6. g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Qt\4.4.0\include\QtCore" -I"..\..\..\..\Qt\4.4.0\include\QtCore" -I"..\..\..\..\Qt\4.4.0\include\QtGui" -I"..\..\..\..\Qt\4.4.0\include\QtGui" -I"..\..\..\..\Qt\4.4.0\include\QtSql" -I"..\..\..\..\Qt\4.4.0\include\QtSql" -I"..\..\..\..\Qt\4.4.0\include" -I"c:\Qt\4.4.0\include\ActiveQt" -I"debug" -I"." -I"..\..\..\..\Qt\4.4.0\mkspecs\win32-g++" -o debug\CShoppingCartModel.o CShoppingCartModel.cpp
  7. g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Qt\4.4.0\include\QtCore" -I"..\..\..\..\Qt\4.4.0\include\QtCore" -I"..\..\..\..\Qt\4.4.0\include\QtGui" -I"..\..\..\..\Qt\4.4.0\include\QtGui" -I"..\..\..\..\Qt\4.4.0\include\QtSql" -I"..\..\..\..\Qt\4.4.0\include\QtSql" -I"..\..\..\..\Qt\4.4.0\include" -I"c:\Qt\4.4.0\include\ActiveQt" -I"debug" -I"." -I"..\..\..\..\Qt\4.4.0\mkspecs\win32-g++" -o debug\CMerchandizeOrder.o CMerchandizeOrder.cpp
  8. g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Qt\4.4.0\include\QtCore" -I"..\..\..\..\Qt\4.4.0\include\QtCore" -I"..\..\..\..\Qt\4.4.0\include\QtGui" -I"..\..\..\..\Qt\4.4.0\include\QtGui" -I"..\..\..\..\Qt\4.4.0\include\QtSql" -I"..\..\..\..\Qt\4.4.0\include\QtSql" -I"..\..\..\..\Qt\4.4.0\include" -I"c:\Qt\4.4.0\include\ActiveQt" -I"debug" -I"." -I"..\..\..\..\Qt\4.4.0\mkspecs\win32-g++" -o debug\CLanguageSelectorWidget.o CLanguageSelectorWidget.cpp
  9. In file included from cdatabasefoundation.h:7,
  10. from CLanguageSelectorWidget.h:30,
  11. from CLanguageSelectorWidget.cpp:1:
  12. globals.h:41: error: expected unqualified-id before numeric constant
  13. globals.h:41: error: expected `,' or `;' before numeric constant
  14. mingw32-make[1]: *** [debug/CLanguageSelectorWidget.o] Error 1
  15. mingw32-make[1]: Leaving directory `C:/Documents and Settings/markofr/workspace/Client'
  16. mingw32-make: *** [debug] Error 2
To copy to clipboard, switch view to plain text mode 
The error reffers to following single line of code. What is wrong, I have no clue:
Qt Code:
  1. static const qreal M_PI=3.14159265358979323846;
To copy to clipboard, switch view to plain text mode