evidently MIrA does not allow if (bool_something == true) but doee not allow if (int_comething)
am I confoosed between the various versions, trying to use 2012
Hello Eric,
I would like to better understand your setup.
I am assuming you are using MDK-ARM v 5.25; ARM Compiler 6 & you call PC-Lint from the Keil IDE to check your code.
Some background questions: - Are you using this lint configuration file? C:\Keil_v5\UV4\Lint\co-ARMCC-6.lnt - Are you running Lint 9 or Lint 8? - What is the full lint error message you get? - Are you compiling for C99 standard? - What MISRA Standard are you checking against? 2012? - How are you defining "true" - is it a typedef? Could you provide a code snippet I could run through lint?
- If you are getting message or error codes from Lint, these forum threads may be interesting to you
- For 9034 or 9030 " href= "http://www.gimpel.com/Discussion.cfm?ThreadID=104">www.gimpel.com/Discussion.cfm - For 731: www.misra.org.uk/.../viewtopic.php
For the benefit of future readers, see also discussion at
http://www.keil.com/forum/63386