您的位置:首页 > 编程语言 > Qt开发

Qt一个错误的解决方法

2015-06-22 13:21 603 查看
arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o call.o src/call.cpp

src/call.cpp: In member function 'int Call::PhoneCall(char*)':

src/call.cpp:183: warning: deprecated conversion from string constant to 'char*'

src/call.cpp:184: warning: deprecated conversion from string constant to 'char*'

src/call.cpp: In member function 'int Call::SendMes(char*, char*)':

src/call.cpp:205: warning: deprecated conversion from string constant to 'char*'

src/call.cpp:206: warning: deprecated conversion from string constant to 'char*'

src/call.cpp:207: warning: deprecated conversion from string constant to 'char*'

src/call.cpp:208: warning: deprecated conversion from string constant to 'char*'

src/call.cpp: In member function 'virtual void Call::reject_phone()':

src/call.cpp:243: warning: deprecated conversion from string constant to 'char*'

src/call.cpp: In member function 'virtual void Call::del_mes()':

src/call.cpp:262: warning: deprecated conversion from string constant to 'char*'

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o callcome.o src/callcome.cpp

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o gprs.o src/gprs.cpp

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o login.o src/login.cpp

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o main.o src/main.cpp

src/main.cpp:2:19: warning: extra tokens at end of #include directive

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o mainform.o src/mainform.cpp

include/mainform.h: In constructor 'MainForm::MainForm(QWidget*)':

include/mainform.h:144: warning: 'MainForm::rigth_flag' will be initialized after

include/mainform.h:136: warning: 'short unsigned int MainForm::humidiyz'

src/mainform.cpp:168: warning: when initialized here

include/mainform.h:136: warning: 'MainForm::humidiyz' will be initialized after

include/mainform.h:135: warning: 'short unsigned int MainForm::tempz'

src/mainform.cpp:168: warning: when initialized here

include/mainform.h:137: warning: 'MainForm::temperature' will be initialized after

include/mainform.h:62: warning: 'Call* MainForm::call_win'

src/mainform.cpp:168: warning: when initialized here

src/mainform.cpp: At global scope:

src/mainform.cpp:432: warning: unused parameter 'k'

src/mainform.cpp: In member function 'virtual void MainForm::navigation_open()':

src/mainform.cpp:602: warning: deprecated conversion from string constant to 'char*'

src/mainform.cpp: In member function 'virtual void MainForm::timerEvent(QTimerEvent*)':

src/mainform.cpp:713: warning: deprecated conversion from string constant to 'char*'

src/mainform.cpp: In member function 'void MainForm::readClient()':

src/mainform.cpp:1125: warning: unused variable 'lon_short'

src/mainform.cpp:1126: warning: unused variable 'lat_short'

src/mainform.cpp: In member function 'virtual void MainForm::timerEvent(QTimerEvent*)':

src/mainform.cpp:687: warning: array subscript is above array bounds

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o msgcome.o src/msgcome.cpp

src/msgcome.cpp:8: warning: unused parameter 'RTH'

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o navigationl.o src/navigationl.cpp

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o QKeyPushButton.o src/QKeyPushButton.cpp

src/QKeyPushButton.cpp: In member function 'void QKeyPushButton::getKeyPress(bool)':

src/QKeyPushButton.cpp:21: warning: suggest parentheses around && within ||

src/QKeyPushButton.cpp: At global scope:

src/QKeyPushButton.cpp:41: warning: unused parameter 'event'

src/QKeyPushButton.cpp:88: warning: unused parameter 'event'

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o recvThread.o src/recvThread.cpp

src/recvThread.cpp: In member function 'virtual void RecvThread::run()':

src/recvThread.cpp:69: warning: deprecated conversion from string constant to 'char*'

src/recvThread.cpp:71: warning: deprecated conversion from string constant to 'char*'

src/recvThread.cpp:72: warning: deprecated conversion from string constant to 'char*'

src/recvThread.cpp:73: warning: deprecated conversion from string constant to 'char*'

src/recvThread.cpp:74: warning: deprecated conversion from string constant to 'char*'

src/recvThread.cpp:75: warning: deprecated conversion from string constant to 'char*'

src/recvThread.cpp:76: warning: deprecated conversion from string constant to 'char*'

src/recvThread.cpp:157: warning: deprecated conversion from string constant to 'char*'

src/recvThread.cpp:216: warning: deprecated conversion from string constant to 'char*'

src/recvThread.cpp:218: warning: deprecated conversion from string constant to 'char*'

src/recvThread.cpp:220: warning: deprecated conversion from string constant to 'char*'

src/recvThread.cpp:249: warning: suggest a space before ';' or explicit braces around empty body in 'for' statement

src/recvThread.cpp:318: warning: suggest a space before ';' or explicit braces around empty body in 'for' statement

src/recvThread.cpp:320: warning: suggest a space before ';' or explicit braces around empty body in 'for' statement

src/recvThread.cpp:322: warning: suggest a space before ';' or explicit braces around empty body in 'for' statement

src/recvThread.cpp:333: warning: suggest a space before ';' or explicit braces around empty body in 'for' statement

src/recvThread.cpp:382: warning: unused variable 'CharMsgBug'

src/recvThread.cpp:235: warning: unused variable 'red'

src/recvThread.cpp:75: warning: unused variable 'ToCmd'

src/recvThread.cpp:76: warning: unused variable 'ToData'

src/recvThread.cpp: In member function 'int RecvThread::open_port(int, int)':

src/recvThread.cpp:654: warning: unused variable 'vdisable'

src/recvThread.cpp: In member function 'int RecvThread::PhoneCall(char*)':

src/recvThread.cpp:684: warning: deprecated conversion from string constant to 'char*'

src/recvThread.cpp:685: warning: deprecated conversion from string constant to 'char*'

src/recvThread.cpp: In member function 'int RecvThread::PhoneCtl(char*)':

src/recvThread.cpp:713: warning: deprecated conversion from string constant to 'char*'

src/recvThread.cpp: In member function 'int RecvThread::SendMes(char*, char*)':

src/recvThread.cpp:743: warning: deprecated conversion from string constant to 'char*'

src/recvThread.cpp:744: warning: deprecated conversion from string constant to 'char*'

src/recvThread.cpp:745: warning: deprecated conversion from string constant to 'char*'

src/recvThread.cpp:746: warning: deprecated conversion from string constant to 'char*'

src/recvThread.cpp:747: warning: unused variable 'j'

src/recvThread.cpp:748: warning: unused variable 'buf'

src/recvThread.cpp: In member function 'int RecvThread::DeleteMes()':

src/recvThread.cpp:776: warning: deprecated conversion from string constant to 'char*'

src/recvThread.cpp: In member function 'void RecvThread::ReadComPort()':

src/recvThread.cpp:803: warning: unused variable 'wnum'

src/recvThread.cpp: In member function 'void RecvThread::UtcToB(char*)':

src/recvThread.cpp:958: warning: unused variable 'i'

src/recvThread.cpp: In member function 'virtual void RecvThread::read_temp()':

src/recvThread.cpp:1078: warning: unused variable 'i'

src/recvThread.cpp:1078: warning: unused variable 'hh'

src/recvThread.cpp: In member function 'int RecvThread::NetSet(char*)':

src/recvThread.cpp:1031: warning: control reaches end of non-void function

src/recvThread.cpp: In member function 'int RecvThread::DeleteMes()':

src/recvThread.cpp:791: warning: control reaches end of non-void function

src/recvThread.cpp: In member function 'int RecvThread::SendMes(char*, char*)':

src/recvThread.cpp:770: warning: control reaches end of non-void function

src/recvThread.cpp: In member function 'int RecvThread::PhoneCtl(char*)':

src/recvThread.cpp:737: warning: control reaches end of non-void function

src/recvThread.cpp: In member function 'int RecvThread::PhoneCall(char*)':

src/recvThread.cpp:708: warning: control reaches end of non-void function

src/recvThread.cpp: In member function 'int RecvThread::DeleteMes()':

src/recvThread.cpp:777: warning: 'fd' is used uninitialized in this function

src/recvThread.cpp: In member function 'int RecvThread::SendMes(char*, char*)':

src/recvThread.cpp:750: warning: 'fd' is used uninitialized in this function

src/recvThread.cpp: In member function 'int RecvThread::PhoneCtl(char*)':

src/recvThread.cpp:717: warning: 'fd' is used uninitialized in this function

src/recvThread.cpp: In member function 'int RecvThread::PhoneCall(char*)':

src/recvThread.cpp:689: warning: 'fd' is used uninitialized in this function

src/recvThread.cpp: In member function 'void RecvThread::ReadComPort()':

src/recvThread.cpp:849: warning: array subscript is above array bounds

src/recvThread.cpp:856: warning: array subscript is above array bounds

src/recvThread.cpp:872: warning: array subscript is above array bounds

src/recvThread.cpp:939: warning: array subscript is above array bounds

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o setting.o src/setting.cpp

src/setting.cpp:29: warning: 'lock_flag' initialized and declared 'extern'

src/setting.cpp: In member function 'virtual void Setting::on_phone_control()':

src/setting.cpp:334: warning: statement has no effect

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o settingfun.o src/settingfun.cpp

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o settinglock.o src/settinglock.cpp

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o state.o src/state.cpp

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o widgetKeyBoard.o src/widgetKeyBoard.cpp

src/widgetKeyBoard.cpp:7: warning: unused parameter 'embeddedKeyboard'

src/widgetKeyBoard.cpp: In member function 'void widgetKeyBoard::receiptChildKey(QKeyEvent*, QLineEdit*, bool)':

src/widgetKeyBoard.cpp:102: warning: suggest braces around empty body in an 'if' statement

src/widgetKeyBoard.cpp: In member function 'QLineEdit* widgetKeyBoard::getNextTextbox(QLineEdit*, bool)':

src/widgetKeyBoard.cpp:123: warning: suggest explicit braces to avoid ambiguous 'else'

src/widgetKeyBoard.cpp: In member function 'void widgetKeyBoard::focusThis(QLineEdit*)':

src/widgetKeyBoard.cpp:188: warning: suggest braces around empty body in an 'else' statement

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o CoordConversion.o common/src/CoordConversion.cpp

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o CXCoor.o common/src/CXCoor.cpp

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o CXFile.o common/src/CXFile.cpp

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o CXFileIni.o common/src/CXFileIni.cpp

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o CXGPSRecvThread.o common/src/CXGPSRecvThread.cpp

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o CXInfoBar.o common/src/CXInfoBar.cpp

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o CXInfoBarBottom.o common/src/CXInfoBarBottom.cpp

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o CXInfoBarCommon.o common/src/CXInfoBarCommon.cpp

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o CXInfoBarSpeed.o common/src/CXInfoBarSpeed.cpp

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o CXInfoBarTop.o common/src/CXInfoBarTop.cpp

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o CXLocatorThread.o common/src/CXLocatorThread.cpp

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o CXLoopThread.o common/src/CXLoopThread.cpp

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o CXMapPainter.o common/src/CXMapPainter.cpp

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtCore -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtNetwork -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include/QtGui -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/include -I. -Iinclude -IQt/src -Icommon/src
-IQt/KDevelop/src -I. -o CXMapPainter2D.o common/src/CXMapPainter2D.cpp

In file included from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/char_traits.h:46,

from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/ios:46,

from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/ostream:45,

from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/iostream:45,

from common/src/Guide.cpp:1,

from common/src/CXMapPainter2D.cpp:34:

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/stl_algobase.h:232:56: error: macro "min" passed 3 arguments,
but takes just 2

In file included from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/char_traits.h:46,

from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/ios:46,

from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/ostream:45,

from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/iostream:45,

from common/src/Guide.cpp:1,

from common/src/CXMapPainter2D.cpp:34:

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/stl_algobase.h:188: error: expected unqualified-id before
'const'

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/stl_algobase.h:188: error: expected `)' before 'const'

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/stl_algobase.h:188: error: expected `)' before 'const'

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/stl_algobase.h:188: error: expected `)' before 'const'

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/stl_algobase.h:188: error: expected initializer before
'const'

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/stl_algobase.h:232: error: function definition does not
declare parameters

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/stl_algobase.h: In static member function 'static bool
std::__lexicographical_compare::__lc(const _Tp*, const _Tp*, const _Up*, const _Up*)':

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/stl_algobase.h:904: error: expected unqualified-id before
'(' token

In file included from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/string:58,

from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/locale_classes.h:47,

from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/ios_base.h:48,

from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/ios:48,

from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/ostream:45,

from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/iostream:45,

from common/src/Guide.cpp:1,

from common/src/CXMapPainter2D.cpp:34:

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/basic_string.h: In member function 'int std::basic_string<_CharT,
_Traits, _Alloc>::compare(const std::basic_string<_CharT, _Traits, _Alloc>&) const':

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/basic_string.h:1945: error: expected unqualified-id before
'(' token

In file included from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/string:61,

from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/locale_classes.h:47,

from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/ios_base.h:48,

from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/ios:48,

from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/ostream:45,

from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/iostream:45,

from common/src/Guide.cpp:1,

from common/src/CXMapPainter2D.cpp:34:

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/basic_string.tcc: In member function 'typename std::basic_string<_CharT,
_Traits, _Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::rfind(const _CharT*, typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type) const':

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/basic_string.tcc:759: error: expected unqualified-id before
'(' token

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/basic_string.tcc: In member function 'int std::basic_string<_CharT,
_Traits, _Alloc>::compare(typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type, const std::basic_string<_CharT, _Traits, _Alloc>&) const':

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/basic_string.tcc:896: error: expected unqualified-id before
'(' token

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/basic_string.tcc: In member function 'int std::basic_string<_CharT,
_Traits, _Alloc>::compare(typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type, const std::basic_string<_CharT, _Traits, _Alloc>&, typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type)
const':

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/basic_string.tcc:913: error: expected unqualified-id before
'(' token

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/basic_string.tcc: In member function 'int std::basic_string<_CharT,
_Traits, _Alloc>::compare(const _CharT*) const':

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/basic_string.tcc:929: error: expected unqualified-id before
'(' token

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/basic_string.tcc: In member function 'int std::basic_string<_CharT,
_Traits, _Alloc>::compare(typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type, const _CharT*) const':

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/basic_string.tcc:945: error: expected unqualified-id before
'(' token

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/basic_string.tcc: In member function 'int std::basic_string<_CharT,
_Traits, _Alloc>::compare(typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type, const _CharT*, typename _Alloc::rebind<_CharT>::other::size_type) const':

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/basic_string.tcc:961: error: expected unqualified-id before
'(' token

In file included from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/streambuf:801,

from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/ios:49,

from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/ostream:45,

from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/iostream:45,

from common/src/Guide.cpp:1,

from common/src/CXMapPainter2D.cpp:34:

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/streambuf.tcc: In member function 'virtual std::streamsize
std::basic_streambuf<_CharT, _Traits>::xsgetn(_CharT*, std::streamsize)':

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/streambuf.tcc:59: error: expected unqualified-id before
'(' token

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/streambuf.tcc: In member function 'virtual std::streamsize
std::basic_streambuf<_CharT, _Traits>::xsputn(const _CharT*, std::streamsize)':

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/streambuf.tcc:93: error: expected unqualified-id before
'(' token

In file included from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/istream:836,

from /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/iostream:46,

from common/src/Guide.cpp:1,

from common/src/CXMapPainter2D.cpp:34:

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/istream.tcc: In member function 'std::streamsize std::basic_istream<_CharT,
_Traits>::readsome(_CharT*, std::streamsize)':

/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/include/c++/4.3.2/bits/istream.tcc:646: error: expected unqualified-id before
'(' token

common/src/CoordConstants.h: At global scope:

common/src/CoordConstants.h:51: warning: 'ellipsoid' defined but not used

make: *** [CXMapPainter2D.o] 错误 1

一般出现这个错误就是头文件的顺序不正确,可以试着调整一下头文件的顺序
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: