[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>  */

See also:

QA·C Source Code Analyser 8.1.2
© 2013 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index Contents