[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-edu
Subject:    Re: [kig] /: Enable C++11
From:       David Narvaez <david.narvaez () computer ! org>
Date:       2014-01-18 14:59:56
Message-ID: CACFh1D5TJ3UU41T-=q83eOi5qfC1O-9vn-Su308G8GDL00r8yw () mail ! gmail ! com
[Download RAW message or body]

On Fri, Jan 17, 2014 at 7:27 PM, Frederik Gladhorn <gladhorn@kde.org> wrote:
> Are you sure this is a good idea?
>
> Older versions of these compilers do not support C++11, so your logic is
> flawed. If at all you'd have to also check for versions and even if there is
> C++11 support, it varies which features are implemented.
>
> I'd suggest you take a look at
> qtbase/src/corelib/global/qcompilerdetection.h in Qt 5 if you really want to
> go in this direction.

I pretty much copied what was done in KDevPlatform[1] to enable C++11
support, but I'll take a look at Qt5 as you suggest. My
interpretatinon of enabling C++11 is not supporting older versions of
those compilers that do not support the flag, but I agree it could be
done in a more elegant way like displaying nice error messages.

Thanks for the feedback!

David E. Narvaez

[1] http://commits.kde.org/kdevplatform/fedb51885a812f2dad631441018c66a60bef0dc3
_______________________________________________
kde-edu mailing list
kde-edu@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-edu
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic