[previous] MISRA C:2012  Rule-5.8:  (Required) [next] Identifiers that define objects or functions with external linkage shall be unique

Amplification:

An identifier used as an external identifier shall not be used for any other purpose in any name space or translation unit, even if it denotes an object with no linkage.


QAC messages that encompass this guideline:

1525 Object/function with external linkage has same identifier as another object/function with internal linkage.
1526 Object with no linkage has same identifier as another object/function with external linkage.


Related rules:

Rule-5.9 Identifiers that define objects or functions with internal linkage should be unique



(c) The Motor Industry Research Association, 2012
QA C Source Code Analyser 8.1.2
MISRA C:2012 Compliance Module 1.0
© 2013 Programming Research
www.programmingresearch.com
Personality Groups | Glossary | Message Index | MISRA C:2012 Rule Index Contents