mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-24 03:52:08 +00:00
Fix numeric constant overflow checks
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Success!
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
; file doesn't cause a segfault.
|
||||
|
||||
bar: MACRO
|
||||
WARN ""
|
||||
ENDM
|
||||
|
||||
foo: bar baz\
|
||||
|
||||
@@ -1 +1 @@
|
||||
$0
|
||||
|
||||
|
||||
@@ -3,6 +3,6 @@ warning: overflow.asm(24): [-Wdiv]
|
||||
warning: overflow.asm(25): [-Wdiv]
|
||||
Division of -2147483648 by -1 yields -2147483648
|
||||
warning: overflow.asm(39): [-Wlarge-constant]
|
||||
Integer constant '4294967296' is too large
|
||||
Integer constant is too large
|
||||
warning: overflow.asm(42): [-Wlarge-constant]
|
||||
Graphics constant '`333333333' is too long
|
||||
Graphics constant is too long, only 8 first pixels considered
|
||||
|
||||
Reference in New Issue
Block a user