[webkit-dev] -Wpessimizing-move and -Wredundant-move

Michael Catanzaro mcatanzaro at igalia.com
Tue Mar 19 05:41:41 PDT 2019


On Tue, Mar 19, 2019 at 12:57 AM, Tomas Popela <tpopela at redhat.com> 
wrote:
> If a note from 
> https://cgit.freedesktop.org/libreoffice/core/commit/?id=dc06c8f4989fc28d0c31ebd333e53dfe0e0f5f66 
> applies, then you can't fix it until we support Ubuntu 14.04 (due to 
> its old gcc version):
> 
> Turns out the
> std::move can only be dropped if the compiler has a fix for CWG1579.  
> For GCC
> that's the case starting with GCC 5.1

Currently we require GCC 6 to build, and if we follow our dependencies 
policy we'll be able to require GCC 7 next month, so that should be no 
problem.




More information about the webkit-dev mailing list