[Development] Removing the use of 'register'

Giuseppe D'Angelo dangelog at gmail.com
Sat Jun 15 00:59:18 CEST 2013

On 15 June 2013 00:37, Thiago Macieira <thiago.macieira at intel.com> wrote:
> C++11 did not change the meaning of the keyword. This is a completely made-up
> warning by Clang, like the GCC warning that says const in prvalue return types
> makes no sense or the one telling you to use () around && with ||.

No, "register" is officially deprecated (N3337 ┬žD.2 [depr.register]),
so the warning "makes sense". My concern was about getting such
warnings from code we don't have control upon, that is, 3rdparty code
(qtbase/3rdparty, webkit, v8...)

Giuseppe D'Angelo

More information about the Development mailing list