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 | [email protected] | 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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to