Add a -Wunmapped-char warning for characters not in the charmap (#1023)

Fixes #1022
This commit is contained in:
Rangi
2022-08-28 15:12:43 -04:00
committed by GitHub
parent d29057e747
commit 8207dc57b7
14 changed files with 58 additions and 11 deletions

View File

@@ -25,6 +25,7 @@ _rgbasm_warnings() {
'shift:Warn when shifting negative values'
'shift-amount:Warn when a shift'\''s operand it negative or \> 32'
'truncation:Warn when implicit truncation loses bits'
'unmapped-char:Warn on unmapped character'
'user:Warn when executing the WARN built-in'
)
# TODO: handle `no-` and `error=` somehow?