ECM and QNX
Rafael Roquetto
rafael.roquetto at kdab.com
Thu Oct 9 16:59:56 UTC 2014
Hello,
KDECompilerSettings.cmake:176 adds -std=c++0x to CMAKE_CXX_FLAGS for GNU
compilers. Would it be possible to pass -std=gnu++0x instead?
Rationale:
The underlying GCC is v4.4, which doesn't know -std=c++11
yet, only c++0x.
We can't use -std=c++0x here, because the QNX headers
depend on some GNU extensions (nanosleep() was one that I
saw), so it has to be gnu++0x, ie. STD C++ + GNU extensions.
I am not sure what's the best way to detect a QNX compiler, I am no CMake
expert.
Thanks,
Rafael
--
Qt Developer Days 2014 - October 6 - 8 at BCC, Berlin
Rafael Roquetto | rafael.roquetto at kdab.com | Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - Qt Experts - Platform-independent software solutions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4861 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20141009/b17aa6b9/attachment.bin>
More information about the Kde-buildsystem
mailing list