-W-unreachable-code option added, alphabetic order of --list-warnings

This commit is contained in:
Dirk Lehmann
2021-04-12 17:05:31 +02:00
committed by Oliver Schmidt
parent 5f8d163045
commit eb1cf750f2
4 changed files with 9 additions and 4 deletions

View File

@@ -555,6 +555,8 @@ Here is a description of all the command line options:
Warn when passing structs by value.
<tag><tt/unknown-pragma/</tag>
Warn about #pragmas that aren't recognized by cc65.
<tag><tt/unreachable-code/</tag>
Warn about unreachable code in cases of comparing constants, etc.
<tag><tt/unused-label/</tag>
Warn about unused labels.
<tag><tt/unused-param/</tag>