Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rule 5.6 / Rule 5.7
#3
MISRA-C meeting 23-8-2006

It is the experience of members of the committe that rule 5.7 can be sensibly applied to and is common in safety-critical software.

Quote:1. often identifieres are confused because their names are different (so misra compliant) but they closely match (only some characters differ), e.g.
srv, svr, etc... Some lint-like-tools have add-ons that catch such candidates.

2. If you make a (very) rigorous naming schema you easily end up with either unreadable names or very long names (which could violate R5.1)

Poor implementations can lead to unreadable long parameter names.

Good implementaion works, and is shown to avoid problems.
Posted by and on behalf of the MISRA C Working Group


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)