This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Memory Specific Pointers

Hello,

I am delcaring some memory specific pointers using the examples on page 76 of the C51 Compiler Users Guide 01.97.

unsigned char xdata * idata key
Meaning a pointer in idata to a xdata unsigned char.

When I compile this I get a warning.
warning C258: 'key' mspace on parameter ignored
If I ignore this warning the code works fine, but I don't like ignoring warnings uless I understand the problem.

Does anyone know why this code generates a warning? I have searched through the Keil site but have had no success.

Thanks,
Nick

0