[previous] 0854 [next] [U] Attempting to #define '%s', which is a predefined macro name.
Explicitly undefined REFERENCE - ISO:C90-6.8.8 Predefined Macro Names

You have attempted to redefine a pre-defined macro name. This is not allowed.

Pre-defined macro names specified in ISO:C90 include '__LINE__', '__FILE__', '__DATE__', '__TIME__' and '__STDC__'. None of these macros can be either redefined or undefined.

For example:


/*PRQA S 553,2017 ++*/

#define __DATE__  "Date:"         /* Message 0854 */

See also:

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