System headers vs MISRA
Technical Note 160905
10/17/2016 10:57 AM
Running MISRA checks on a system header file might result in a warning for one or more MISRA rule violations.
System header files are not required to comply with MISRA rules (see, for example, MISRA C-2012, section 6.7).
The suggested solution is not to run MISRA checks on system header files.
IAR MISRA checkers
By design and default, IAR MISRA checkers do not check system header files for MISRA rule violations.
Please contact IAR support if you find otherwise.
If possible, avoid running MISRA checks on system header files.
All product names are trademarks or registered trademarks of their respective owners.