格式不好,重发下:
00:28:08 **** Incremental Build of project qt ****make debug make -f Makefile.Debugmake[1]: Entering directory `G:/eclipse/workspace/qt'g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\Qt\4.8.2\include\QtCore" -I"..\..\..\Qt\4.8.2\include\QtGui" -I"..\..\..\Qt\4.8.2\include" -I"..\..\..\Qt\4.8.2\include\ActiveQt" -I"debug" -I"." -I"..\..\..\Qt\4.8.2\mkspecs\default" -o debug\main.o main.cpp
In file included from g:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/utility:71:0, from g:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/algorithm:61, from ..\..\..\Qt\4.8.2\include/QtCore/../../src/corelib/global/qglobal.h:68, from ..\..\..\Qt\4.8.2\include/QtCore/qglobal.h:1, from ..\..\..\Qt\4.8.2\include/QtCore/../../src/corelib/global/qnamespace.h:45, from ..\..\..\Qt\4.8.2\include/QtCore/qnamespace.h:1, from ..\..\..\Qt\4.8.2\include/QtCore/../../src/corelib/kernel/qobjectdefs.h:45, from ..\..\..\Qt\4.8.2\include/QtCore/qobjectdefs.h:1, from ..\..\..\Qt\4.8.2\include/QtGui/../../src/gui/kernel/qwindowdefs.h:45, from ..\..\..\Qt\4.8.2\include/QtGui/qwindowdefs.h:1, from ..\..\..\Qt\4.8.2\include/QtGui/../../src/gui/kernel/qwidget.h:45, from ..\..\..\Qt\4.8.2\include/QtGui/qwidget.h:1, from ..\..\..\Qt\4.8.2\include/QtGui/../../src/gui/dialogs/qdialog.h:45, from ..\..\..\Qt\4.8.2\include/QtGui/qdialog.h:1, from ..\..\..\Qt\4.8.2\include/QtGui/QDialog:1, from qt.h:4, from main.cpp:1:g:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/stl_relops.h:68:15: 错误:expected ‘{’ before ‘_GLIBCXX_VISIBILITY’g:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/stl_relops.h:68:34: 错误:expected constructor, destructor, or type conversion before ‘(’ token
In file included from g:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/new:42:0, from g:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/stl_construct.h:61, from g:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/stl_tempbuf.h:62, from g:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/bits/stl_algo.h:64, from g:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/algorithm:63, from ..\..\..\Qt\4.8.2\include/QtCore/../../src/corelib/global/qglobal.h:68, from ..\..\..\Qt\4.8.2\include/QtCore/qglobal.h:1, from ..\..\..\Qt\4.8.2\include/QtCore/../../src/corelib/global/qnamespace.h:45, from ..\..\..\Qt\4.8.2\include/QtCore/qnamespace.h:1, from ..\..\..\Qt\4.8.2\include/QtCore/../../src/corelib/kernel/qobjectdefs.h:45, from ..\..\..\Qt\4.8.2\include/QtCore/qobjectdefs.h:1, from ..\..\..\Qt\4.8.2\include/QtGui/../../src/gui/kernel/qwindowdefs.h:45, from ..\..\..\Qt\4.8.2\include/QtGui/qwindowdefs.h:1, from ..\..\..\Qt\4.8.2\include/QtGui/../../src/gui/kernel/qwidget.h:45, from ..\..\..\Qt\4.8.2\include/QtGui/qwidget.h:1, from ..\..\..\Qt\4.8.2\include/QtGui/../../src/gui/dialogs/qdialog.h:45, from ..\..\..\Qt\4.8.2\include/QtGui/qdialog.h:1, from ..\..\..\Qt\4.8.2\include/QtGui/QDialog:1, from qt.h:4, from main.cpp:1:
g:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/exception:37:37: 错误:expected ‘}’ before end of linemake[1]: Leaving directory `G:/eclipse/workspace/qt'g:\mingw\bin\../lib/gcc/mingw32/4.7.2/include/c++/exception:37:37: 错误:expected declaration before end of line
make[1]: *** [debug/main.o] Error 1make: *** [debug] Error 200:28:10 Build Finished (took 1s.349ms)