[webkit-dev] C++11 (was Re: on coding-style)

Patrick Gansterer paroga at paroga.com
Fri Apr 12 22:48:25 PDT 2013


Am 13.04.2013 um 03:22 schrieb Benjamin Poulain:

> On Fri, Apr 12, 2013 at 6:15 PM, Maciej Stachowiak <mjs at apple.com> wrote:
> On Apr 12, 2013, at 4:09 PM, Karen Shaeffer <shaeffer at neuralscape.com> wrote:
> 
> As others have said, we are definitely eager to use C++11 across the board but are limited by compiler support requirements.
> 
> One thing that it would be useful to know: what are the compilers and minimum required versions used for in-tree ports? Perhaps we could record this so we can regularly evaluate which features are safe to use and what the blockers are to wholesale adoption, if any.
> 
> I think the worse thing we support right now is supporting MSVC 2005 (for compiler support) and Windows XP (for library support). 
> 
> From the CMake thread, I got that MSVC 2010 will soon be the oldest version supported. Is that correct?

The oldest support compiler (with the most bugs) with an buildslave is the cl 14 for ARM. It comes from Visual Studio 2005 for Windwos CE.
It would be great if we can try to keep it compiling with it until a newer version is available. The next version should support all C++11 features available in the desktop version [1] and will be available with Windows Embedded 2013 in Q2 [2].
I already try to keep the impact at an minimum for the trunk, but it's hard if you have a very bad compiler. E.g. the current trunk does not compile [3] due to a compiler bug (some problems with resolving friend classes correctly).

[1] http://blogs.msdn.com/b/windows-embedded/archive/2012/11/14/windows-embedded-compact-v-next-uncovered.aspx
[2] http://www.blogcdn.com/www.engadget.com/media/2012/11/windowsembeddedrolloutroadmapweb.jpg
[3] http://build.webkit.org/builders/WinCE%20Release%20%28Build%29/builds/33715/steps/compile-webkit/logs/stdio

-- Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130413/674e5174/attachment.html>


More information about the webkit-dev mailing list