Add -Wsingle-union warning for UNION without NEXTU (#2170)

This commit is contained in:
Rangi authored and GitHub committed 2026-09-27 20:02:42 -04:00
1 parent 62a9d8d518
commit ba4e58f4e0
11 files changed
+22 -3

No files matched your search

+1
View File
@@ -25,6 +25,7 @@ _rgbasm_warnings() {
'purge:Warn when purging exported symbols or labels'
'shift:Warn when shifting negative values'
'shift-amount:Warn when a shift'\''s operand is negative or \> 32'
'single-union:Warn on UNION without NEXTU'
'truncation:Warn when implicit truncation loses bits'
'unmapped-char:Warn on unmapped character'
'unmatched-directive:Warn on unmatched directive pair'