Allow to disable the "Result of comparison is constant" warning.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4883 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2010-11-28 21:16:46 +00:00
parent e907b57e9c
commit 3f5b2a8fbd
4 changed files with 20 additions and 13 deletions

View File

@@ -469,10 +469,14 @@ Here is a description of all the command line options:
The following warning names are currently recognized:
<descrip>
<tag><tt/const-comparison/</tag>
Warn if the result of a comparison is constant.
<tag><tt/error/</tag>
Treat all warnings as errors.
<tag><tt/no-effect/</tag>
Warn about statements that don't have an effect.
<tag><tt/struct-param/</tag>
Warn when passing structs by value.
<tag><tt/unknown-pragma/</tag>
Warn about known #pragmas.
<tag><tt/unused-label/</tag>