invoke.texi (Wenum-compare): Mention that it is enabled by default.

2008-06-08  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

	* doc/invoke.texi (Wenum-compare): Mention that it is enabled by
	default.

From-SVN: r136567
This commit is contained in:
Manuel López-Ibáñez 2008-06-08 16:56:57 +00:00
parent 0fc38aaa37
commit cf0fd6189a
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-06-08 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* doc/invoke.texi (Wenum-compare): Mention that it is enabled by
default.
2008-06-08 Joseph Myers <joseph@codesourcery.com>
PR tree-optimization/36218

View File

@ -3659,7 +3659,8 @@ the semicolon. This warning is also enabled by @option{-Wextra}.
@item -Wenum-compare @r{(C++ and Objective-C++ only)}
@opindex Wenum-compare
@opindex Wno-enum-compare
Warn about a comparison between values of different enum types.
Warn about a comparison between values of different enum types. This
warning is enabled by default.
@item -Wsign-compare
@opindex Wsign-compare