![]() |
![]() |
4620 | ![]() |
||||
![]() | |||||||
| Identifiers | REFERENCE - ISO:C99-7.8 Format conversion of integer types <inttypes.h>, ISO:C99-Integer types <stdint.h> | ||||||
This macro name is a reserved identifier. It may be the name of a macro in the specified library header file. Is this intended ? According to the ISO:C99 standard, a macro with this name could be defined in the system library, although this would depend on the size of the integer types which happen to be supported in the implementation. Defining the macro outside the library header file is dangerous if the definitions are not consistent; but even if they are, it may be wiser to #define it by using the relevant library header file. For example:
/*PRQA S 553,2017 ++*/
#define INT16_MAX 32767 /* Message 4620 - "INT16_MAX" is a macro which might be defined in <stddef.h> */
See also:
![]() | ||
| QA·C Source Code Analyser 8.1.2
© 2013 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | Contents |