Hi all
nhc98 uses a few of
static unsigned startLabel[]={};
which is a zero length array. It appears that it uses this as
reference to calculate the correct pointer for a bytecode.
pcc does not allow this since zero lenth array is another gcc
extension. I tried declaring it as
static unsigned startLabel[];
The resulting bytecode can then be compiled however it will only
crash. I traced it a pointer that tries to read an unallocated section
in memory.
Is it possible emulate zero pointer in pcc??
--
http://www.fernski.com