Keil™, An ARM® Company

Technical Support

C166: INCREMENTING A CAST POINTER PRODUCES AN INTERNAL ERROR


Information in this article applies to:

  • C166 Version 4.20c

QUESTION

The following code demonstrates a problem that occurred when I upgraded from V4.06 to V4.20c.

   unsigned char data[10];
   unsigned long flash_ptr = 0x180000;

   data[j] = *(unsigned char huge *)(flash_ptr++);

The code compiled successfully with the old version but generates the following error when compiled with V4.20c:

ERROR C11: INTERNAL ERROR

RESOLUTION

This problem has been resolved. You may download the latest updates from the Keil Website.

Last Reviewed: Wednesday, January 08, 2003


Did this article provide the answer you needed?
 
Yes
No
Not Sure