Taking RISC-V to the next level!

IAR Embedded Workbench for RISC-V now released

Tools for Risc-V

System headers vs MISRA

Technical Note 160905



10/17/2016 8: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.

© IAR Systems 1995-2019 - All rights reserved.

We use cookies on this website to provide you with a better experience. You need to accept cookies to continue using this site. Cookies