On Fri, 27 Jan 2017, Jakub Jelinek wrote: > For -Wregister I think it would be better to write more: > <li><code>-Wregister</code> warns about uses of <code>register</code> > storage > specifier. In C++17 this keyword has been removed and for C++17 > this is a pedantic warning enabled by default. The warning is not > emitted for the GNU Explicit Register Variables extension.</li>
Is C++17 correct in both cases? If the register keyword has been removed, wouldn't that be an error as opposed to just a warning? Gerald