From: Gerald Pfeifer Date: Sun, 15 Aug 2010 18:26:01 +0000 (+0000) Subject: invoke.texi (Warning Options): Fix terminology and markup in the description of how... X-Git-Tag: releases/gcc-4.6.0~4993 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=09ccff9f3d0704402ec2b0dbefb6cf7021b87a15;p=thirdparty%2Fgcc.git invoke.texi (Warning Options): Fix terminology and markup in the description of how unknown warning options... * doc/invoke.texi (Warning Options): Fix terminology and markup in the description of how unknown warning options are handled. From-SVN: r163266 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9400493ab403..df9316115e65 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-08-15 Gerald Pfeifer + + * doc/invoke.texi (Warning Options): Fix terminology and markup + in the description of how unknown warning options are handled. + 2010-08-15 Ira Rosen * tree-vect-data-refs.c (vect_setup_realignment): Support realignment diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index edce70381063..3df16f83aaa8 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -2863,9 +2863,9 @@ two forms, whichever is not the default. For further, language-specific options also refer to @ref{C++ Dialect Options} and @ref{Objective-C and Objective-C++ Dialect Options}. -When an unrecognized warning label is requested (e.g., +When an unrecognized warning option is requested (e.g., @option{-Wunknown-warning}), GCC will emit a diagnostic stating -that the option is not recognized. However, if the @samp{-Wno-} form +that the option is not recognized. However, if the @option{-Wno-} form is used, the behavior is slightly different: No diagnostic will be produced for @option{-Wno-unknown-warning} unless other diagnostics are being produced. This allows the use of new @option{-Wno-} options