[previous] 0837 [next] [U] Use of '#undef' to remove the operator 'defined'.
Explicitly undefined REFERENCE - ISO:C90-6.8.8 Predefined Macro Names

You have attempted to #undef the preprocessor operator 'defined'. The token 'defined' can never be redefined or undefined.

For example:


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

#undef defined               /* Message 0837 */


MISRA-C:2004 Rules applicable to message 0837:

Rule  1.2  (Required) No reliance shall be placed on undefined or unspecified behaviour.


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