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.
Solved! Go to Solution.
Hi Parvez,
The official approach is to generate the header file to comply with the C90 standard. There is no official plan to make a MISRA compliant header.
user need make the MISRA compliant header file oneself.
=================================================
this answer is for you, if it helps, please click on "correct answer " button. thanks!
Best Regards,
ZhangJun
Hi Parvez,
The official approach is to generate the header file to comply with the C90 standard. There is no official plan to make a MISRA compliant header.
user need make the MISRA compliant header file oneself.
=================================================
this answer is for you, if it helps, please click on "correct answer " button. thanks!
Best Regards,
ZhangJun