remove some bits of -Wreorder documentation

Sylvain Pion pion@cs.nyu.edu
Fri Aug 16 13:09:00 GMT 2002


It seems the documentation of -Wreorder has been moved to a C++ specific
section, but a part of it remains in the common section on warnings.
I guess this should be removed (or fixed in any case : the example which
is supposed to follow is missing).


2002-08-16  Sylvain Pion <pion@cs.nyu.edu>

	* doc/invoke.texi: Removes bits of -Wreorder



diff -u -r1.173 invoke.texi
--- gcc/doc/invoke.texi 14 Aug 2002 20:06:11 -0000      1.173
+++ gcc/doc/invoke.texi 16 Aug 2002 20:03:07 -0000
@@ -2189,13 +2189,6 @@
 Some spurious warnings can be avoided if you declare all the functions
 you use that never return as @code{noreturn}.  @xref{Function
 Attributes}.
-
-@item -Wreorder @r{(C++ only)}
-@opindex Wreorder
-@cindex reordering, warning
-@cindex warning for reordering of member initializers
-Warn when the order of member initializers given in the code does not
-match the order in which they must be executed.  For instance:
 
 @item -Wunknown-pragmas
 @opindex Wunknown-pragmas


-- 
Sylvain



More information about the Gcc-patches mailing list