[previous] 4601 [next] The macro '%1s' is the name of an identifier in '<%2s>'.
Identifiers REFERENCE - ISO:C90-7.1.2.1 Reserved Identifiers, ISO:C99-7.1.3 Reserved Identifiers

This macro name is a reserved identifier. It is an identifier declared in the specified library header file (but not as a macro). Is this intended ?

For example:


/*PRQA S 553,2017,3429,3453 ++*/

#define strcat(s1, s2) concatenate(s1, s2)   /* Message 4601 - "strcat" is declared as a function in <string.h> */


MISRA-C:2004 Rules applicable to message 4601:

Rule  20.1  (Required) Reserved identifiers, macros and functions in the standard library, shall not be defined, redefined or undefined.


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