[previous] 4621 [next] The macro '%1s' may also be defined as a typedef in '<%2s>'.
Identifiers REFERENCE - ISO:C99-Integer types <stdint.h>

This macro name is a reserved identifier. It may be the name of a typedef declared in <stdint.h>. Is this intended ?

According to the ISO:C99 standard, a typedef with this name could be defined in <stdint.h>, although this would depend on the size of the integer types which happen to be supported in the implementation.

For example:


/*PRQA S 553,2017,3460 ++*/

#define int16_t short         /* Message 4621 - "int16_t" might be a typedef defined in <stdint.h> */

See also:

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