시스템 헤더와 MISRA

기술노트 160905

아키텍처:

all

컴포넌트:

compiler

업데이트:

2018-02-28 오전 1:44

Introduction

Running MISRA checks on a system header file might result in a warning for one or more MISRA rule violations.

Discussion

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.

Conclusion

If possible, avoid running MISRA checks on system header files.

 

All product names are trademarks or registered trademarks of their respective owners.

죄송하지만, 당사 사이트에서는 Internet Explorer를 지원하지 않습니다.보다 편안한 사이트를 위해 Chrome, Edge, Firefox 등과 같은 최신 브라우저를 사용해 주시길 부탁드립니다.