[webkit-dev] Ports not building as C++11?
Nico Weber
thakis at chromium.org
Mon Jul 29 17:26:06 PDT 2013
FYI: In gcc 4.7, things like "foo%"PRIuS are hard errors due to
user-defined literals (it's a disablable warning in clang and gcc4.8, and
gcc4.6 is fine since it doesn't implement user-defined literals yet), and
some system headers (dbus1.0, dbus1.2, probably others) contain code like
that. I'd encourage you to try actually building WebKit in c++11 mode with
your port to check if you run into anything like that.
Nico
On Mon, Jul 29, 2013 at 10:42 AM, Patrick East <patricke at bsquare.com> wrote:
> There is support for C++11 on Windows Embedded Compact 2013 using the
> newer VC11 compiler, but for CE 5, 6, or WEC 7 they will not be able to
> support it since they are limited to the VC9 compiler. Afaik there doesn’t
> appear to be any plans from Microsoft to back-port the newer compiler and
> run time to support older versions of CE.****
>
> ** **
>
> I realize that CE 5, 6, and 7 are probably not top priorities for the
> community, but these changes will basically force dropping support for
> those platforms. We do have some interest in keeping WebKit working for our
> downstream build, so if it’s possible to make this change over to using
> C++11 in a way that can allow for building without the new features that
> would be ideal. If there is anything we can do that help make this happen
> let me know.****
>
> ** **
>
> Thanks!****
>
> ** **
>
> *Patrick East* | Software Engineer ****
>
> +1 425.519.5912 | patricke at bsquare.com ****
>
> Bsquare │Forging Smart Connections****
>
> www.bsquare.com ****
>
> ** **
>
> ** **
>
> ** **
>
> *From:* webkit-dev-bounces at lists.webkit.org [mailto:
> webkit-dev-bounces at lists.webkit.org] *On Behalf Of *Brent Fulgham
> *Sent:* Saturday, July 27, 2013 3:04 PM
> *To:* Anders Carlsson
> *Cc:* WebKit Development
> *Subject:* Re: [webkit-dev] Ports not building as C++11?****
>
> ** **
>
> The only platform I know cannot support C++11 is WinCE, and that port is
> in favor of making the move to C++11 in anticipation of updated build tools
> from Microsoft.****
>
> ** **
>
> What other platform are we talking about here? The GNU compilers have
> supported C++11 for a long time.****
>
> ** **
>
> -Brent
>
> Sent from my iPhone****
>
>
> On Jul 26, 2013, at 8:12 PM, Anders Carlsson <andersca at apple.com> wrote:**
> **
>
> ** **
>
> On Jul 26, 2013, at 8:09 PM, Allan Sandfeld Jensen <kde at carewolf.com>
> wrote:****
>
>
>
> ****
>
> On Friday 26 July 2013, Anders Carlsson wrote:
>
> ****
>
> Hi everyone,
>
> when Oliver landed his “let’s break everything” patches in JSC the other
> day, I noticed that some of the follow-up build fixes by other ports were
> removing use of C++11 features (mainly nullptr).
>
> Are there any ports that aren’t building as C++11? If so, why not?****
>
> Yes, and because C++11 is not supported on all the platforms we support. *
> ***
>
> ** **
>
> Could you please elaborate? What compilers are you using?****
>
>
>
> ****
>
> We don't all have the option to not care about the platforms of a certain
> fruit
> themed vendor's 1 or 2 year old operating systems.****
>
> ** **
>
> I don’t think this comment adds anything constructive.****
>
> ** **
>
> Thanks,****
>
> - Anders****
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev****
>
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130729/3b7f7b82/attachment.html>
More information about the webkit-dev
mailing list