This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: remove some bits of -Wreorder documentation
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Sylvain Pion <pion at cs dot nyu dot edu>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 16 Aug 2002 22:32:50 +0100 (BST)
- Subject: Re: remove some bits of -Wreorder documentation
On Fri, 16 Aug 2002, Sylvain Pion wrote:
> Maybe we can simply remind this fact in the -Wall documentation, with
> something like this :
>
> diff -u -r1.173 invoke.texi
> @@ -2212,7 +2205,9 @@
> All of the above @samp{-W} options combined. This enables all the
> warnings about constructions that some users consider questionable, and
> that are easy to avoid (or modify to prevent the warning), even in
> -conjunction with macros.
> +conjunction with macros. This also enables some language-specific
> +warnings described in @ref{C++ Dialect Options} and
> +@ref{Objective-C Dialect Options}.
> @end table
That approach seems reasonable, as long as the language-specific sections
do document which language-specific options are in -Wall.
--
Joseph S. Myers
jsm28@cam.ac.uk