[webkit-dev] Build slave for JSCOnly Linux MIPS

Anders Carlsson andersca at apple.com
Tue Apr 19 12:11:50 PDT 2016


> On Apr 19, 2016, at 12:09 PM, Konstantin Tokarev <annulen at yandex.ru> wrote:
> 
> 
> 
> 19.04.2016, 21:38, "Anders Carlsson" <andersca at apple.com>:
>> I’d like us to switch over to using C++14 in WebKit2 so we can get the new generalized lambda capture (https://isocpp.org/files/papers/N3648.html), so we can capture move-only types in lambdas. According to https://gcc.gnu.org/projects/cxx-status.html that would require GCC 4.9.
> 
> This code compiles fine with GCC 4.8 with -std=c++1y flag:
> 
> auto f(std::unique_ptr<int> ptr)
> {
>    [value = std::move(ptr)] {return *value;};
> }

GCC 4.8 has “partial” support, which may or may not be OK for our purposes. I’d rather be safe than sorry.

- Anders



More information about the webkit-dev mailing list