![]() |
![]() |
1527 | ![]() |
||||
![]() | |||||||
| CMA maintenance checks | |||||||
Cross module analysis has determined that objects or functions have been defined with the same name in different modules. Both have internal linkage. This is quite legitimate, but not recommended because of the potential for confusion.
For example:
file1.cpp
=======
static int cra; // Message 1527
file2.cpp
=======
static int cra; // Message 1527
MISRA-C:2004 Rules applicable to message 1527:
| Rule 5.5 (Advisory) | No object or function identifier with static storage duration should be reused. |
See also:
![]() | ||
| QA·C Source Code Analyser 8.1
MISRA-C:2004 Compliance Module 3.2 © 2012 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | MISRA-C:2004 Rule Index | Contents |