mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Add a -Wunmapped-char warning for characters not in the charmap (#1023)
Fixes #1022
This commit is contained in:
@@ -274,6 +274,12 @@ warns when an N-bit value's absolute value is 2**N or greater.
|
||||
or just
|
||||
.Fl Wtruncation
|
||||
also warns when an N-bit value is less than -2**(N-1), which will not fit in two's complement encoding.
|
||||
.It Fl Wunmapped-char
|
||||
Warn when a character goes through charmap conversion but has no defined mapping.
|
||||
This warning is always disabled if the active charmap is empty, and/or is the default charmap
|
||||
.Sq main .
|
||||
This warning is enabled by
|
||||
.Fl Wall .
|
||||
.It Fl Wno-user
|
||||
Warn when the
|
||||
.Ic WARN
|
||||
|
||||
Reference in New Issue
Block a user