Hello,
I use 2 dimensional arrays in my algo,
It works when it is located in data space but when I
want to put it in pdata or xdata, it fails and reports :
test.c:6: error: FATAL Compiler Internal Error in file
'gen.c' line number '7792' : need pointerCode
Contact Author with source code
Here is my code :
pdata unsigned char s[6][6];
void main() {
s[3][5] = 0x10;
}
PS:
sdcc -v :
SDCC :
mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08
2.3.8 (Sep 17 2004) (UNIX)
simple testcase
Logged In: YES
user_id=888171
Dear anonymous,
Allthough you compiled SDCC 2.3.8 only last week it still is
nowhere near up-to-date. Please try again with 2.4.4 from
the snapshot page. (http://sdcc.sourceforge.net/snap.php)
Greets,
Maarten
Logged In: YES
user_id=888171
Works perfectly on 2.4.5 with xdata. And with pdata there
are more known problems than just this one.
Logged In: YES
user_id=888171
Oops
Logged In: YES
user_id=888171
Fixed in SDCC 2.4.6