Files
rgbds/test/asm/disable-warnings.asm
T

11 lines
240 B
NASM

MACRO test
static_assert warn, 0, "-Wassert is on by default"
warn "-Wuser is on by default"
ENDM
test ; no warnings because of -w
OPT -Weverything
test ; still no warnings because of -w
OPT Werror=everything
test ; now errors can occur