mirror of
https://github.com/cc65/cc65.git
synced 2025-04-12 00:37:12 +00:00
Another warning.
This commit is contained in:
parent
6ad79067ac
commit
8845e71161
@ -731,7 +731,7 @@ SymEntry* AddLabelSym (const char* Name, unsigned Flags)
|
||||
has automatic storage duration? Let's emit a warning. */
|
||||
if ((long)CollLast (AIC) != DOR->LocalsBlockId &&
|
||||
(CollCount (AIC) >= DOR->Depth ||
|
||||
(long)CollLast (AIC) >= DOR->Line))
|
||||
(long)CollLast (AIC) >= (long)DOR->Line))
|
||||
Warning ("Goto at line %d to label %s jumps into a block with "
|
||||
"initialization of an object that has automatic storage duration.",
|
||||
DOR->Line, Name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user