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]

remove some bits of -Wreorder documentation


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


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