C++11 policy in frameworks?

Jeremy Whiting jpwhiting at kde.org
Sun Feb 8 21:45:39 UTC 2015


Yeah it's using the newest xcode for is x 10.7 so the libc++ is probably
older, Qt supports 10.7 though so maybe we shouldn't be using these newer
c++11 methods in frameworks just yet right?
On Feb 8, 2015 2:04 PM, "Ivan Čukić" <ivan.cukic at kde.org> wrote:

> > thought this was clang 3.7 maybe I'm confused though
>
> This is (should not) be a problem with the compiler version - this is
> a library function. Which version of libc++ is it using? (it might be
> using the old system's one instead of the latest release or something)
>
> Cheerio,
> Ivan
>
> On 8 February 2015 at 21:59, Jeremy Whiting <jpwhiting at kde.org> wrote:
> > https://trac.macports.org/browser/trunk/dports/lang/llvm-3.7/Portfile I
> > thought this was clang 3.7 maybe I'm confused though
> >
> > On Feb 8, 2015 1:39 PM, "Albert Astals Cid" <aacid at kde.org> wrote:
> >>
> >> El Diumenge, 8 de febrer de 2015, a les 09:55:05, Jeremy Whiting va
> >> escriure:
> >> > Hey all,
> >> >
> >> > In trying to get kf5 built on an older machine with clang 3.7 I've hit
> >> > an
> >> > isuse with kdeclarative.
> >>
> >> clang 2.7 or 3.7?
> >>
> >> 3.7 is still unreleased, no?
> >>
> >> Cheers,
> >>   Albert
> >>
> >> > 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)?
> >> >
> >> > thanks,
> >> > Jeremy
> >>
> >> _______________________________________________
> >> Kde-frameworks-devel mailing list
> >> Kde-frameworks-devel at kde.org
> >> https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
> >
> >
> > _______________________________________________
> > Kde-frameworks-devel mailing list
> > Kde-frameworks-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
> >
>
>
>
> --
> Cheerio,
> Ivan
>
> --
> While you were hanging yourself on someone else's words
> Dying to believe in what you heard
> I was staring straight into the shining sun
> _______________________________________________
> Kde-frameworks-devel mailing list
> Kde-frameworks-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150208/2ce1c167/attachment.html>


More information about the Kde-frameworks-devel mailing list