MISRA Discussion Forums
Incorrect example for rule 6.3? - 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 Exemplar Suite (https://forum.misra.org.uk/forumdisplay.php?fid=116)
+--- Thread: Incorrect example for rule 6.3? (/showthread.php?tid=449)



Incorrect example for rule 6.3? - pkruk - 28-01-2008

Hello,

TC1 has following sentence:

Quote:This rule is inappropriate (plain) char


But the mc2_0603.c has following example:

Quote:char character63; /* Not Compliant */


In my opinion this code is compliant with TC1?


Re: Incorrect example for rule 6.3? - misra-c - 21-05-2008

Code:
char character63; /* Not Compliant */
TC1 relaxed rule 6.3 so that it no longer applies to type char.
You are correct - this line is compliant with this rule.