[previous] 4642 [next] The macro '%1s' could conflict in the future with the name of a function in '<%2s>'.
Identifiers REFERENCE - ISO:C90-7.13 Future Library Directions, ISO:C99-7.26 Future Library Directions

This macro name is a reserved identifier. It could be introduced as a function in a future revision of the specified system library file.

Identifiers of this form are described in the ISO:C99 standard in Section 7.26 - Future Library Directions.

Names to avoid are:

Although these names may not currently be used in the standard library, they might be in the future and it is therefore best to avoid them.

For example:


/*PRQA S 553,2017 ++*/

#define isabc             /* Message 4642 - A function of this name could be defined in a future revision of <ctype.h>    */
#define toabc             /* Message 4642 - A function of this name could be defined in a future revision of <ctype.h>    */
#define strabc            /* Message 4642 - A function of this name could be defined in a future revision of <stdlib.h>   */
#define memabc            /* Message 4642 - A function of this name could be defined in a future revision of <string.h>   */
#define wcsabc            /* Message 4642 - A function of this name could be defined in a future revision of <string.h>   */
#define cerf              /* Message 4642 - A function of this name could be defined in a future revision of <complex.h>  */
#define cexpm1f           /* Message 4642 - A function of this name could be defined in a future revision of <complex.h>  */


No MISRA-C:2004 Rules applicable to message 4642


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