CCRX does not have a#pragma to suppress warnings. This can only be done using command line options. Only informational messages can be suppressed. To suppress a warning message you have to use -change_message= error_number to switch the warning message to an informational message, and in addition you have to use -nomessage= error_number to suppress the message. You can define these options file specific for every source file, so you don't have to suppress a warning for all files. MISRA can be used only with C89. It is ignored when using C99 or CPP.
↧