AnsweredAssumed Answered

How to make mc9s08mp16.h 100% MISRA C Compliant

Question asked by Parvez Shaikh on Jun 30, 2014
Latest reply on Jul 3, 2014 by ZhangJennie

Hi,

 

When I run MISRA C checking tool on the CodeWarrior generated header file mc9s08mp16.h, I am getting a warning "Macros shall not be #define'd within a block".

How can I solve this warning in  mc9s08mp16.h, so that mc9s08mp16.h is 100% MISRA C compliant without any exception.

Outcomes