Document rgbasm -Wempty-data-directive

Fixes #1829
This commit is contained in:
Rangi42
2025-09-15 09:44:50 -04:00
parent 1fdeb34e50
commit 6cffd991f7

View File

@@ -384,6 +384,15 @@ This warning is enabled by
.Fl Wall . .Fl Wall .
.It Fl Wdiv .It Fl Wdiv
Warn when dividing the smallest negative integer (-2**31) by -1, which yields itself due to integer overflow. Warn when dividing the smallest negative integer (-2**31) by -1, which yields itself due to integer overflow.
.It Fl Wempty-data-directive
Warn when
.Ic DB ,
.Ic DW ,
or
.Ic DL
is used without an argument in a ROM section.
This warning is enabled by
.Fl Wall .
.It Fl Wempty-macro-arg .It Fl Wempty-macro-arg
Warn when a macro argument is empty. Warn when a macro argument is empty.
This warning is enabled by This warning is enabled by