qtlocation failed to compile :(

  /Developer/usr/bin/clang -c -pipe -O2 -isysroot 
/Developer/SDKs/MacOSX10.7.sdk -mmacosx-version-min=10.6 -fvisibility=hidden 
-fvisibility-inlines-hidden -Wall -W -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_XCB 
-DQT_NO_XKBCOMMON -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE 
-DQT_NO_DEBUG -DQT_PLUGIN -DQT_POSITIONING_LIB -DQT_QML_LIB -DQT_NETWORK_LIB 
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_NAMESPACE=TestNamespace 
-I/work/build/qt/qtbase/mkspecs/macx-clang -I. -I/work/build/qt/qtbase/include 
-I/work/build/qt/qtbase/include/QtLocation 
-I/work/build/qt/qtbase/lib/QtPositioning.framework/Versions/5/Headers 
-I/work/build/qt/qtbase/lib/QtQml.framework/Versions/5/Headers 
-I/work/build/qt/qtbase/lib/QtNetwork.framework/Versions/5/Headers 
-I/work/build/qt/qtbase/lib/QtGui.framework/Versions/5/Headers 
-I/work/build/qt/qtbase/lib/QtCore.framework/Versions/5/Headers -I.moc 
-I/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
 -I/Developer/SDKs/Ma
 cOSX10.7.sdk/System/Library/Frameworks/AGL.framework/Headers 
-F/work/build/qt/qtbase/lib qgeopositioninfosource_cl.mm -o 
.obj/qgeopositioninfosource_cl.o
  qgeopositioninfosource_cl.mm:51:1:/Developer/usr/bin/clang++ 
-headerpad_max_install_names -Wl,-syslibroot,/Developer/SDKs/MacOSX10.7.sdk 
-mmacosx-version-min=10.6 -single_module -dynamiclib -o 
libqtposition_positionpoll.dylib .obj/qgeoareamonitor_polling.o 
.obj/positionpollfactory.o .obj/moc_positionpollfactory.o  
-F/work/build/qt/qtbase/lib -framework QtPositioning -framework QtQml 
-framework QtNetwork -framework QtCore -framework Foundation -framework QtGui 
-framework OpenGL -framework AGL
  qgeopositioninfosource_cl.mm:57:1: error: Objective-C declarations may only 
appear in global scope
  qgeopositioninfosource_cl.mm:62:9: error: use of undeclared identifier 
'm_positionInfoSource'; did you mean 'positionInfoSource'?
  qgeopositioninfosource_cl.mm:58:54: note: 'positionInfoSource' declared here
  qgeopositioninfosource_cl.mm:62:30: warning: explicitly assigning a variable 
of type 'TestNamespace::QGeoPositionInfoSourceCL *' to itself [-Wself-assign]
  qgeopositioninfosource_cl.mm:88:5: error: use of undeclared identifier 
'm_positionInfoSource'; did you mean 'positionInfoSource'?
  qgeopositioninfosource_cl.mm:58:54: note: 'positionInfoSource' declared here
  qgeopositioninfosource_cl.mm:88:5: error: /Developer/usr/bin/clang++ -c -pipe 
-O2 -isysroot /Developer/SDKs/MacOSX10.7.sdk -mmacosx-version-min=10.6 
-fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -fPIC 
-DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_XCB -DQT_NO_XKBCOMMON -DQT_NO_EXCEPTIONS 
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN 
-DQT_LOCATION_LIB -DQT_POSITIONING_LIB -DQT_QML_LIB -DQT_NETWORK_LIB 
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_NAMESPACE=TestNamespace 
-I/work/build/qt/qtbase/mkspecs/macx-clang -I. 
-I/work/build/qt/qtbase/lib/QtLocation.framework/Versions/5/Headers 
-I/work/build/qt/qtbase/lib/QtLocation.framework/Versions/5/Headers/5.2.0 
-I/work/build/qt/qtbase/lib/QtLocation.framework/Versions/5/Headers/5.2.0/QtLocation
 -I/work/build/qt/qtbase/lib/QtPositioning.framework/Versions/5/Headers 
-I/work/build/qt/qtbase/lib/QtQml.framework/Versions/5/Headers 
-I/work/build/qt/qtbase/lib/QtNetwork.framework/Versions/5/Headers -I/work/build
 /qt/qtbase/lib/QtGui.framework/Versions/5/Headers 
-I/work/build/qt/qtbase/lib/QtCore.framework/Versions/5/Headers -I.moc 
-I/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
 
-I/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/AGL.framework/Headers
 -F/work/build/qt/qtbase/lib -o .obj/qgeoroutingmanagerengineosm.o 
qgeoroutingmanagerengineosm.cpp
  qgeopositioninfosource_cl.mm:58:54: note: 'positionInfoSource' declared here
  qgeopositioninfosource_cl.mm:94:5: error: use of undeclared identifier 
'm_positionInfoSource'; did you mean 'positionInfoSource'?
  qgeopositioninfosource_cl.mm:58:54: note: 'positionInfoSource' declared here
  qgeopositioninfosource_cl.mm:94:5: error: reference to local variable 
'positionInfoSource' declared in enclosed function ''
  make[5]: *** [.obj/qgeopositioninfosource_cl.o] Error 1
  make[4]: *** [sub-corelocation-make_first] Error 2
  make[3]: *** [sub-position-make_first] Error 2
  make[2]: *** [sub-plugins-make_first-ordered] Error 2
  make[1]: *** [sub-src-make_first] Error 2
  make: *** [module-qtlocation] Error 2

  Build log: 
http://testresults.qt-project.org/ci/QtLocation_stable_Integration/build_00020/macx-clang_developer-build_qtnamespace_OSX_10.7/log.txt.gz

  Tested changes (refs/builds/stable_1383241019):
    http://codereview.qt-project.org/68306 [PS9] - Add CoreLocation positioning 
plugin for QtLocation
_______________________________________________
Ci-reports mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/ci-reports

Reply via email to