Hello,
I am using CCS4.2 with 6.0.2 Codegen tools.
I am using the MISRA language option which requires the strict Ansi C language option.
I get the following errors when I compile on extended C keywords and a few other symbols. These errors do not occur with relaxed Ansi.
C Code Error
extern cregister volatile unsigned int IFR; "../include/DSP2802x_Device.h", line 51: error: omission of explicit type is nonstandard ("int" assumed) "../include/DSP2802x_Device.h", line 51: error: expected a ";"
extern cregister volatile unsigned int IER; Same as above
typedef interrupt void(*PINT)(void); "..\include\DSP2802x_PieVect.h", line 26: error: omission of explicit type is nonstandard ("int" assumed)
"..\include\DSP2802x_PieVect.h", line 26: error: expected a ";"
interrupt void WatchdogISR(void) Same as above +
"../pwm_int.c", line 145: error: invalid combination of type specifiers
Is there something I am misunderstanding, or is there an issue with Strict Ansi Lanuage mode and the keywords 'interrupt' and 'cregister' ?