On Keil C51 compiler using an already posted solution I get the following warning
Mail.c(256): warning C182: pointer to different objects
on "pointer = &tab1;"
int (*pointer)[100][280]; // pointer creation pointer = &tab1; //assignation (*pointer)[5][12] = 517; // use int myint = (*pointer)[5][12]; // use
WHY?
OK here is my exact code, nothing i do seems to cure the problem...could it be the data space that objects are in??
int xdata RefPSX [PSX_SIZE][NUMBER_VOLTS]; //xdata space
int (xdata * xdata Ptr)[PSX_SIZE][NUMBER_VOLTS]; //pointer in xdta space pointing //to xdata 2D array
Ptr=RefPSX; // init pointer ****warning C182: pointer different objects****
(*Ptr)[1][2] = 4; // use