Moderators: misra-c, david ward
- Posts: 1
- Joined: Mon Apr 03, 2006 5:00 pm
Need clarification on rule 5.1 (equivalenet to rule 11 in MISRA C1):
Does this rule disallow to use identifier that has more than 31 characters? Even though the first 31 characters are guaranteed to be distinct.
- Posts: 566
- Joined: Thu Jan 05, 2006 1:11 pm
Identifiers can be longer than 31 characters, but must be unique within the first 31 characters.
This is detailed in the supporting text of the rule in MISRA-C:2004.
Posted by and on behalf of
the MISRA C Working Group