[previous] 3439 [next] Macro redefines a keyword.
Macro Definition

Message 3439 will be generated for any macro definition in which the macro name is a C language keyword.

For example:


/*PRQA S 553,2017 ++*/

#define int SINT16                      /* Message 3439 */
#define static                          /* Message 3439 */


MISRA C:2012 Rules applicable to message 3439:

Rule-20.4  (Required) A macro shall not be defined with the same name as a keyword


QA·C Source Code Analyser 8.1
MISRA C:2012 Compliance Module 1.0
© 2012 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index | MISRA C:2012 Rule Index Contents