From 6cffd991f7347630f787f49e0ef8eba58954d63f Mon Sep 17 00:00:00 2001 From: Rangi42 Date: Mon, 15 Sep 2025 09:44:50 -0400 Subject: [PATCH] Document `rgbasm -Wempty-data-directive` Fixes #1829 --- man/rgbasm.1 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/man/rgbasm.1 b/man/rgbasm.1 index 4227a955..3924a4ec 100644 --- a/man/rgbasm.1 +++ b/man/rgbasm.1 @@ -384,6 +384,15 @@ This warning is enabled by .Fl Wall . .It Fl Wdiv 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 Warn when a macro argument is empty. This warning is enabled by