Add -Wlarge-constant to RGBLINK as it is for RGBASM

This commit is contained in:
Rangi42
2026-04-28 14:45:22 +02:00
committed by Rangi
parent 998f636495
commit f72a4d53e2
10 changed files with 67 additions and 16 deletions
+1
View File
@@ -142,6 +142,7 @@ _rgblink_completions() {
mapfile -t COMPREPLY < <(compgen -W "
assert
div
large-constant
obsolete
shift
shift-amount
+1
View File
@@ -9,6 +9,7 @@ _rgblink_warnings() {
'assert:Warn when WARN-type asserts fail'
'div:Warn when dividing the smallest int by -1'
'large-constant:Warn on constants too large for a signed 32-bit int'
'obsolete:Warn when using deprecated features'
'shift:Warn when shifting negative values'
'shift-amount:Warn when a shift'\''s operand is negative or \> 32'