This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [wwwdocs] Add various new warnings for GCC 7
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 27 Jan 2017 17:36:48 +0100
- Subject: Re: [wwwdocs] Add various new warnings for GCC 7
- Authentication-results: sourceware.org; auth=none
- References: <20170127161322.GC6809@redhat.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Jan 27, 2017 at 05:13:22PM +0100, Marek Polacek wrote:
> + <li><code>-Wregister</code> warns about uses of register storage specifier.
> + </li>
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>
?
Jakub