Supported Compilers / C++11 Support in KF5
Thiago Macieira
thiago at kde.org
Sun Jul 21 19:44:07 BST 2013
On domingo, 21 de julho de 2013 14.45.52, Rolf Eike Beer wrote:
> I totally agree with that. As I said: detection of this is trivial at CMake
> time, maybe I get my C++ feature detection package ready even to be
> included in 2.8.12, and if not the stuff can easily be extracted. And
> afterwards you just add -Doverride= to CMAKE_CXX_FLAGS and everything is
> fine.
No, it's not trivial. The trivial thing is to copy qcompilerdetection.h.
If you detect with cmake, it will detect for the current compiler. That means
the macro won't change for users of the library if they upgrade the compiler.
Otherwise, you're going to add #ifdefs anyway.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20130721/b9dcc9b0/attachment.sig>
More information about the kde-core-devel
mailing list