mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-29 06:17:48 +00:00
Implement STRFMT and more printf-like format specifiers for string interpolation (#646)
Fixes #570 Fixes #178 Use errors for inapplicable format spec flags instead of -Wstring-format
This commit is contained in:
11
test/asm/strfmt.err
Normal file
11
test/asm/strfmt.err
Normal file
@@ -0,0 +1,11 @@
|
||||
ERROR: strfmt.asm(14):
|
||||
Formatting number as type 's'
|
||||
ERROR: strfmt.asm(14):
|
||||
STRFMT: 1 unformatted argument(s)
|
||||
ERROR: strfmt.asm(19):
|
||||
STRFMT: Illegal '%' at end of format string
|
||||
ERROR: strfmt.asm(22):
|
||||
STRFMT: Invalid format spec for argument 1
|
||||
ERROR: strfmt.asm(24):
|
||||
STRFMT: Not enough arguments for format spec
|
||||
error: Assembly aborted (5 errors)!
|
||||
Reference in New Issue
Block a user