-Xignore_files_misra [Professional Edition only]


This option specifies files that will not be checked against the MISRA-C:2004 or MISRA-C:2012 rules.

[Specification format]

-Xignore_files_misra=file[,file]...

 

-

Interpretation when omitted

All C source files are checked.

[Detailed description]

-

This option does not check the source code of the file specified by file against the MISRA-C:2004 or MISRA-C:2012 rules.

-

This option is valid only when the -Xmisra2004 or -Xmisra2012 option is specified.
If the -Xmisra2004 or -Xmisra2012 option is not specified, this option will be ignored (A warning will not be output).

[Example of use]

-

Not to check sample.c against the MISRA-C:2004 rules, describe as:

>ccrh -Xmisra2004=all -Xignore_files_misra=sample.c -Xcommon=rh850 main.c