Tell people to use character literals or CHARVAL instead of strings as numbers

This commit is contained in:
Rangi42
2025-09-03 22:46:19 -04:00
parent c5c2800f17
commit c5d437ab3c
6 changed files with 13 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
warning: Treating strings as numbers is deprecated [-Wobsolete]
warning: Treating strings as numbers is deprecated; use character literals or `CHARVAL` instead [-Wobsolete]
at raw-string-symbol-errors.asm(7)
error: Strings as numbers must be a single charmap unit
at raw-string-symbol-errors.asm(7)
@@ -10,7 +10,7 @@ error: `m` is not a string symbol
at raw-string-symbol-errors.asm(13)
error: `u` is not a string symbol
at raw-string-symbol-errors.asm(14)
warning: Treating strings as numbers is deprecated [-Wobsolete]
warning: Treating strings as numbers is deprecated; use character literals or `CHARVAL` instead [-Wobsolete]
at raw-string-symbol-errors.asm(17)
error: Strings as numbers must be a single charmap unit
at raw-string-symbol-errors.asm(17)