Re: [webkit-dev] Ports not building as C++11?
I’d really like to use atomic, which isn’t supported until VS2012. When will we VS2012? Geoff On Jul 28, 2013, at 9:10 PM, Brent Fulgham bfulg...@gmail.com wrote: We can support auto and move semantics. We cannot support ranged iterators until VS2012. But at least it's a step in the right direction... Sent from my iPad On Jul 28, 2013, at 2:36 PM, Oliver Hunt oli...@apple.com wrote: So wait, is everyone using C++11 now? I dream of using auto… :-D On Jul 28, 2013, at 12:47 PM, Gergely Kis gerg...@homejinni.com wrote: Hi, On Sun, Jul 28, 2013 at 7:30 PM, Allan Sandfeld Jensen k...@carewolf.com wrote: became required in WebKit2. The only fallout will likely be the loss of the Qt MIPS bot which is maintained by a third party and is too old. The MIPS bot was updated to Debian Wheezy and GCC 4.7.2 a few weeks ago, I just forgot to update the buildbot slave info file, did it now. Best Regards, Gergely the 3rd party maintaining the MIPS bot :) ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] Ports not building as C++11?
FWIW the GTK+ port also builds with C++11 support. Philippe On Fri, 2013-07-26 at 09:04 -0700, 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? - Anders ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] Ports not building as C++11?
Hi all, I'm afraid that our sh4 bot won't handle C++11 properly : http://build.webkit.org/builders/Qt%20Linux%20SH4%20Release $ sh4-linux-g++ --version sh4-linux-g++ (GCC) 4.6.3 20120613 (STMicroelectronics/Linux Base 4.6.3-111) Copyright (C) 2011 Free Software Foundation, Inc. Julien De : webkit-dev-boun...@lists.webkit.org [mailto:webkit-dev-boun...@lists.webkit.org] De la part de Geoffrey Garen Envoyé : lundi 29 juillet 2013 09:19 À : Brent Fulgham Cc : WebKit Development Objet : Re: [webkit-dev] Ports not building as C++11? I'd really like to use atomic, which isn't supported until VS2012. When will we VS2012? Geoff On Jul 28, 2013, at 9:10 PM, Brent Fulgham bfulg...@gmail.commailto:bfulg...@gmail.com wrote: We can support auto and move semantics. We cannot support ranged iterators until VS2012. But at least it's a step in the right direction... Sent from my iPad On Jul 28, 2013, at 2:36 PM, Oliver Hunt oli...@apple.commailto:oli...@apple.com wrote: So wait, is everyone using C++11 now? I dream of using auto... :-D On Jul 28, 2013, at 12:47 PM, Gergely Kis gerg...@homejinni.commailto:gerg...@homejinni.com wrote: Hi, On Sun, Jul 28, 2013 at 7:30 PM, Allan Sandfeld Jensen k...@carewolf.commailto:k...@carewolf.com wrote: became required in WebKit2. The only fallout will likely be the loss of the Qt MIPS bot which is maintained by a third party and is too old. The MIPS bot was updated to Debian Wheezy and GCC 4.7.2 a few weeks ago, I just forgot to update the buildbot slave info file, did it now. Best Regards, Gergely the 3rd party maintaining the MIPS bot :) ___ webkit-dev mailing list webkit-dev@lists.webkit.orgmailto:webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.orgmailto:webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.orgmailto:webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmas...@nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary. An NDS Group Limited company. www.nds.com ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] Ports not building as C++11?
On 07/29/2013 04:38 AM, Brianceau, Julien wrote: Hi all, I’m afraid that our sh4 bot won’t handle C++11 properly : http://build.webkit.org/builders/Qt%20Linux%20SH4%20Release $ sh4-linux-g++ --version sh4-linux-g++ (GCC) 4.6.3 20120613 (STMicroelectronics/Linux Base 4.6.3-111) Copyright (C) 2011 Free Software Foundation, Inc. For most of the thing this wont be a problem. http://gcc.gnu.org/gcc-4.6/cxx0x_status.html Julien *De :*webkit-dev-boun...@lists.webkit.org [mailto:webkit-dev-boun...@lists.webkit.org] *De la part de* Geoffrey Garen *Envoyé :* lundi 29 juillet 2013 09:19 *À :* Brent Fulgham *Cc :* WebKit Development *Objet :* Re: [webkit-dev] Ports not building as C++11? I’d really like to use atomic, which isn’t supported until VS2012. When will we VS2012? Geoff On Jul 28, 2013, at 9:10 PM, Brent Fulgham bfulg...@gmail.com mailto:bfulg...@gmail.com wrote: We can support auto and move semantics. We cannot support ranged iterators until VS2012. But at least it's a step in the right direction... Sent from my iPad On Jul 28, 2013, at 2:36 PM, Oliver Hunt oli...@apple.com mailto:oli...@apple.com wrote: So wait, is everyone using C++11 now? I dream of using auto… :-D On Jul 28, 2013, at 12:47 PM, Gergely Kis gerg...@homejinni.com mailto:gerg...@homejinni.com wrote: Hi, On Sun, Jul 28, 2013 at 7:30 PM, Allan Sandfeld Jensen k...@carewolf.com mailto:k...@carewolf.com wrote: became required in WebKit2. The only fallout will likely be the loss of the Qt MIPS bot which is maintained by a third party and is too old. The MIPS bot was updated to Debian Wheezy and GCC 4.7.2 a few weeks ago, I just forgot to update the buildbot slave info file, did it now. Best Regards, Gergely the 3rd party maintaining the MIPS bot :) ___ webkit-dev mailing list webkit-dev@lists.webkit.org mailto:webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org mailto:webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org mailto:webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmas...@nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary. An NDS Group Limited company. www.nds.com ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
[webkit-dev] RE : Ports not building as C++11?
Allright. I took a look to STM website and I saw that they've released a sh4 toolchain based on gcc/g++ 4.7.3 So from my side it should be ok : if we encounter any issues with C++11, I'll try to upgrade our build bot with this latest toolchain. Julien De : Hugo Parente Lima [hugo.l...@openbossa.org] Date d'envoi : lundi 29 juillet 2013 15:30 À : Brianceau, Julien; webkit-dev@lists.webkit.org Objet : Re: [webkit-dev] Ports not building as C++11? On 07/29/2013 04:38 AM, Brianceau, Julien wrote: Hi all, I’m afraid that our sh4 bot won’t handle C++11 properly : http://build.webkit.org/builders/Qt%20Linux%20SH4%20Release $ sh4-linux-g++ --version sh4-linux-g++ (GCC) 4.6.3 20120613 (STMicroelectronics/Linux Base 4.6.3-111) Copyright (C) 2011 Free Software Foundation, Inc. For most of the thing this wont be a problem. http://gcc.gnu.org/gcc-4.6/cxx0x_status.html Julien *De :*webkit-dev-boun...@lists.webkit.org [mailto:webkit-dev-boun...@lists.webkit.org] *De la part de* Geoffrey Garen *Envoyé :* lundi 29 juillet 2013 09:19 *À :* Brent Fulgham *Cc :* WebKit Development *Objet :* Re: [webkit-dev] Ports not building as C++11? I’d really like to use atomic, which isn’t supported until VS2012. When will we VS2012? Geoff On Jul 28, 2013, at 9:10 PM, Brent Fulgham bfulg...@gmail.com mailto:bfulg...@gmail.com wrote: We can support auto and move semantics. We cannot support ranged iterators until VS2012. But at least it's a step in the right direction... Sent from my iPad On Jul 28, 2013, at 2:36 PM, Oliver Hunt oli...@apple.com mailto:oli...@apple.com wrote: So wait, is everyone using C++11 now? I dream of using auto… :-D On Jul 28, 2013, at 12:47 PM, Gergely Kis gerg...@homejinni.com mailto:gerg...@homejinni.com wrote: Hi, On Sun, Jul 28, 2013 at 7:30 PM, Allan Sandfeld Jensen k...@carewolf.com mailto:k...@carewolf.com wrote: became required in WebKit2. The only fallout will likely be the loss of the Qt MIPS bot which is maintained by a third party and is too old. The MIPS bot was updated to Debian Wheezy and GCC 4.7.2 a few weeks ago, I just forgot to update the buildbot slave info file, did it now. Best Regards, Gergely the 3rd party maintaining the MIPS bot :) ___ webkit-dev mailing list webkit-dev@lists.webkit.org mailto:webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org mailto:webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org mailto:webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmas...@nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary. An NDS Group Limited company. www.nds.com ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] Ports not building as C++11?
Hello, so it looks like we’re in a pretty decent shape when it comes to C++11 capable compilers. If we limit ourselves to GCC 4.6, MSVC 2010 and a fairly recent version of clang (Whatever comes with Xcode 4.6), we should be able to make use of a nice chunk of C++11 features. (See http://wiki.apache.org/stdcxx/C%2B%2B0xCompilerSupport for more details). I think a good set of initial features to require is auto, nullptr, move semantics and not having to add a space after angle brackets in templates. Unless anyone objects, I’ll prepare a patch for Compiler.h that adds the correct WTF_COMPILER_SUPPORTS #ifdefs, and adds an #error if any of WTF_COMPILER_SUPPORTS_CXX_AUTO, WTF_COMPILER_SUPPORTS_CXX_NULLPTR, WTF_COMPILER_SUPPORTS_CXX_RVALUE_REFERENCES are not defined. Regards, - Anders ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] Ports not building as C++11?
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 | patri...@bsquare.commailto:patri...@bsquare.com Bsquare │Forging Smart Connections www.bsquare.comhttp://www.bsquare.com/ From: webkit-dev-boun...@lists.webkit.org [mailto:webkit-dev-boun...@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 ander...@apple.commailto:ander...@apple.com wrote: On Jul 26, 2013, at 8:09 PM, Allan Sandfeld Jensen k...@carewolf.commailto:k...@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@lists.webkit.orgmailto:webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] Ports not building as C++11?
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 patri...@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 | patri...@bsquare.com Bsquare │Forging Smart Connections www.bsquare.com ** ** ** ** ** ** *From:* webkit-dev-boun...@lists.webkit.org [mailto: webkit-dev-boun...@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 ander...@apple.com wrote:** ** ** ** On Jul 26, 2013, at 8:09 PM, Allan Sandfeld Jensen k...@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@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev