[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:2012 Rules applicable to message 0837:

Rule-1.3  (Required) There shall be no occurrence of undefined or critical unspecified behaviour


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