C++11 policy in frameworks?
Aleix Pol
aleixpol at kde.org
Sun Feb 8 17:18:48 UTC 2015
On Sun, Feb 8, 2015 at 5:55 PM, Jeremy Whiting <jpwhiting at kde.org> wrote:
> Hey all,
>
> In trying to get kf5 built on an older machine with clang 3.7 I've hit an
> isuse with kdeclarative. A few days ago some code was checked into it that
> uses std::lround which isn't available on clang's stdlib implementation yet.
> Should this change to floor or ciel, or is there an #ifdef we can put around
> it depending if C++11 support is available when building? Or is C++11 not
> allowed in frameworks yet (just applications) so it should be changed to use
> some other method to round the values (floor(value + 0.5) or something
> similar)?
The policy so far has been, AFAIK, that it needs to work on Qt
supported platforms:
http://doc.qt.io/qt-5/supported-platforms.html
Aleix
More information about the Kde-frameworks-devel
mailing list