We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
warning C258: 'key' mspace on parameter ignored
Thanks Bob, I have just read that section now and it has cleared up a few other confusions for me. I think I have solved my original problem, as the warnings were generated when the pointer declaration was a parameter in a function declaration. Of course I shouldn't have specified the memory type of the pointer in the function declaration, just the memory type of what is being pointed to. Thanks again, Nick