I am receiving WARNING "L13: RECURSIVE CALL TO SEGMENT" when I try to access a CROMDATA array from the same file.
That means CROMDATA variable and its usage are in the same .c file.
Can anybody please help, How can I remove this warning?
I have read warning description, but could not get any clue.
Thanks in advance
~Ronie
I am receiving WARNING "L13: RECURSIVE CALL TO SEGMENT" when I try to access a CROMDATA array from the same file. accessing an array would not give this error. WHERE and HOW the array is accesses is the issue.
show your code.
Erik
SHOW YOUR CODE NOW !
Code: CROMDATA unsigned long bgTypeArray[] = { 0xFFD50000, 0xFF00D500, 0xFF0000FF, 0xFFFFFF00, 0xFFff04FF, 0xFF00FFFF, 0xFF0000D7, 0xFFFF8000, 0xFFFBFBFB, 0xFF000000, 0xFF909090, 0xFFC0C0C0, 0xFF636363, };
unsigned long bgtype;
void ModifybgType(BYTE type) { bgtype = bgTypeArray[type]; }
This is how I am accessing the array in a single file.