[Development] Removing the use of 'register'
thiago.macieira at intel.com
Sat Jun 15 01:25:28 CEST 2013
On sábado, 15 de junho de 2013 00.59.18, Giuseppe D'Angelo wrote:
> 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...)
N3337 isn't in C++11 (which was N3291). It can only be C++14.
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 190 bytes
Desc: This is a digitally signed message part.
More information about the Development