mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-28 05:47:48 +00:00
-Wall enables -Wcharmap-redef, and document -Wnested-comment (#1528)
This commit is contained in:
@@ -291,6 +291,13 @@ This warning is enabled by
|
||||
Warn when shifting macro arguments past their limits.
|
||||
This warning is enabled by
|
||||
.Fl Wextra .
|
||||
.It Fl Wno-nested-comment
|
||||
Warn when the block comment start sequence
|
||||
.Ql /*
|
||||
is found inside of a block comment.
|
||||
Block comments cannot be nested, so an "inner"
|
||||
.Ql */
|
||||
is likely to have ended the whole comment.
|
||||
.It Fl Wno-obsolete
|
||||
Warn when obsolete constructs such as the
|
||||
.Ic _PI
|
||||
|
||||
Reference in New Issue
Block a user