I am working on the USBSTK5515. Whenever I declare a pointer to ioport space I get a question mark on the left hand marigin that says Syntax Error. However the code still compiles without error and runs as expected. Does someone know why this is? Below is an example of what I am saying.
volatile ioport Uint16* led_ptr1 = (volatile ioport Uint16*)(0x1c0a);
However I do not get the warning for the following
volatile
ioport X;
Only when I add the Uint16* do I get that warning, Why would this be and am I doing something wrong?