mirror of
https://github.com/gbdev/rgbds.git
synced 2026-06-11 03:02:34 +00:00
Add -Wlarge-constant to RGBLINK as it is for RGBASM
This commit is contained in:
@@ -142,6 +142,7 @@ _rgblink_completions() {
|
||||
mapfile -t COMPREPLY < <(compgen -W "
|
||||
assert
|
||||
div
|
||||
large-constant
|
||||
obsolete
|
||||
shift
|
||||
shift-amount
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user