Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Incorrect example for rule 6.3?
#1
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?
Reply
#2
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.
Posted by and on behalf of the MISRA C Working Group
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)