MISRAC2012-Rule-5.1
In this section:
Synopsis
(Required) External identifiers shall be distinct.
Enabled by default
Yes
Severity/Certainty
Low/Medium

Full description
An external identifier was found that is not unique for the first 31 characters, but still not identical to another identifier.
This is a link analysis check.
Coding standards
- MISRA C:2012 Rule-5.1
(Required) External identifiers shall be distinct
Code examples
The following code example fails the check and will give a warning:
/* file1.c
int ABC;
*/
int ABC;
void example1 (void) {
}
The following code example passes the check and will not give a warning about this issue:
/* file1.c
int ABC;
*/
int a;
void example2 (void) {
}