Latte : make_unique for gcc <=4.8

Michail Vourlakos mvourlakos at gmail.com
Thu Nov 9 10:36:38 GMT 2017


gcc 4.8.5 is used by openSUSE Leap.

 If you check the code now i enable it through cmake if it is needed by
using the flag -DINCLUDE_MAKE_UNIQUE=ON

Στις 9 Νοε 2017 11:56, ο χρήστης "Sven Brauch" <mail at svenbrauch.de> έγραψε:

On 05/11/17 16:12, Michail Vourlakos wrote:
> Do you know any better way to handle this?

You can let cmake do the check:

https://cmake.org/cmake/help/v3.0/module/CheckSymbolExists.html

Not sure if this is the best option, though.

Greetings,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20171109/1ec73379/attachment.htm>


More information about the kde-core-devel mailing list