[previous] MISRA-C:2004  Rule  1.4:  (Required) [next] The compiler/linker shall be checked to ensure that 31 character significance and case sensitivity are supported for external identifiers.
The ISO standard requires external identifiers to be distinct in the first 6 characters. However compliance with this severe and unhelpful restriction is considered an unnecessary limitation since most compilers/linkers allow at least 31 character significance (as for internal identifiers).

The compiler/linker must be checked to establish this behaviour. If the compiler/linker is not capable of meeting this limit, then use the limit of the compiler.

Example Code:


#include "misra.h"
#include "m2cmex.h"

extern S16 test_0104( void )
{
   return 0;
}


No QAC messages cover this rule.



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