Rule 21.1: uint8 = ~uint8? - Printable Version +- MISRA Discussion Forums (https://forum.misra.org.uk) +-- Forum: MISRA C (https://forum.misra.org.uk/forumdisplay.php?fid=4) +--- Forum: MISRA-C: 2004 rules (https://forum.misra.org.uk/forumdisplay.php?fid=17) +---- Forum: 6.21 Run-time Failures (https://forum.misra.org.uk/forumdisplay.php?fid=41) +---- Thread: Rule 21.1: uint8 = ~uint8? (/showthread.php?tid=259) |
Rule 21.1: uint8 = ~uint8? - Manni - 17-05-2006 Hello, I use a tool, which tested code to MISRA-C:2004 compliance. Here is a code example, on which our analyse tool says, there is a breach of rule 21.1. Code: ... The Tool says, this breaches rule 21.1. But i think it's ok, or what do the MISRA comitee says? thanks a lot - misra-c - 22-08-2006 MISRA-C meeting 22-8-2006 Your example is fully compliant. |