[Development] QtCreator 3.0.0-rc1 building

Alexey Pavlov alexpux at gmail.com
Fri Dec 6 12:46:38 CET 2013


Hi!

I'm try to build 64-bit QtCreator-3.0.0-rc1 with mingw-w64 GCC-4.8.2
toolchain and got cast error:

C:/repo/mingw-w64-qt-creator/src/qt-creator-opensource-src-3.0.0-rc1/src/plugins/ios/iosdebugsupport.cpp:
In member function 'void
Ios::Internal::IosDebugSupport::handleGotInferiorPid(Q_PID)':
C:/repo/mingw-w64-qt-creator/src/qt-creator-opensource-src-3.0.0-rc1/src/plugins/ios/iosdebugsupport.cpp:163:15:
warning: ordered comparison of pointer with integer zero [-Wextra]
     if (pid > 0) {
               ^
C:/repo/mingw-w64-qt-creator/src/qt-creator-opensource-src-3.0.0-rc1/src/plugins/ios/iosdebugsupport.cpp:165:68:
error: cast from 'Q_PID {aka _PROCESS_INFORMATION*}' to 'int' loses
precision [-fpermissive]
         m_runControl->engine()->notifyEngineRemoteSetupDone(int(pid),
m_qmlPort);
                                                                    ^
Makefile.Debug:4665: recipe for target 'debug/iosdebugsupport.o' failed


Is it fixed in repository?


Regards,
Alexey.



More information about the Development mailing list