[previous] 0777 [next] [U] External identifier does not differ from other identifier(s) (e.g. '%s') within the specified number of significant characters.
Explicitly undefined REFERENCE - ISO:C90-6.1.2 Identifiers - Implementation Limits

This identifier with external linkage is not distinguishable from other identifiers with external linkage within the parameters specified by the -XN and -XC options.

The -XN and -XC options should be configured to reflect (at least) the limitations of the implementation; but they may also be used to apply additional restriction. So for example:

Message 0777 is generated when identifiers cannot be distinguished within the limits imposed by these 2 options.

For example:


/*PRQA S 553,776,2017,3210,3408,3447 ++*/
/************************/
/* OPTIONS: -XN 10 -XC+ */
/************************/

extern int a234567890;                       /*      */
extern int a234567890a;                      /* 0777 */

extern int b234567890;                       /*      */
extern int B234567890;                       /* 0777 */


MISRA C:2012 Rules applicable to message 0777:

Rule-1.3  (Required) There shall be no occurrence of undefined or critical unspecified behaviour
Rule-5.1  (Required) External identifiers shall be distinct


See also:

QA·C Source Code Analyser 8.1
MISRA C:2012 Compliance Module 1.0
© 2012 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index | MISRA C:2012 Rule Index Contents