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: 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


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