This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [wwwdocs] Add various new warnings for GCC 7


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]