Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

?:Syntax Error

$
0
0

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?

 

 


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>