Supported Compilers / C++11 Support in KF5

Volker Krause vkrause at kde.org
Sun Jul 21 13:11:07 BST 2013


On Sunday 21 July 2013 13:52:06 Rolf Eike Beer wrote:
> Volker Krause wrote:
> > - GCC >= 4.5
> > 
> > - override
> 
> Explicit virtual overrides require g++ 4.7:
> 
> http://gcc.gnu.org/projects/cxx0x.html

you are right, it's also what all other sources referenced in 
http://article.gmane.org/gmane.comp.kde.devel.frameworks/3652 say, no idea how 
that slipped in then, sorry.

> This is trivially to work around by a CMake time check and then just define
> override to empty.

sure, for KF5 this is not really a problem since Qt provides corresponding 
macros already. I was hoping for real unconditional usage though, since 
Akonadi will need to stay backward-compatible with Qt4 for a while longer, and 
I wanted to avoid to have to basically copy qcompilerdetection.h for that. Not 
to mention that "override" looks much nicer than "Q_DECL_OVERRIDE" ;)

regards,
Volker
-------------- 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/df94ca3d/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-core-devel mailing list