mirror of
https://github.com/cc65/cc65.git
synced 2024-06-25 13:29:41 +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. */
|
has automatic storage duration? Let's emit a warning. */
|
||||||
if ((long)CollLast (AIC) != DOR->LocalsBlockId &&
|
if ((long)CollLast (AIC) != DOR->LocalsBlockId &&
|
||||||
(CollCount (AIC) >= DOR->Depth ||
|
(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 "
|
Warning ("Goto at line %d to label %s jumps into a block with "
|
||||||
"initialization of an object that has automatic storage duration.",
|
"initialization of an object that has automatic storage duration.",
|
||||||
DOR->Line, Name);
|
DOR->Line, Name);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user