![]() |
![]() |
0836 | ![]() |
||||
![]() | |||||||
| Explicitly undefined | REFERENCE - ISO:C90-6.8.8 Predefined Macro Names | ||||||
You have attempted to #define a macro called 'defined'. The token 'defined' is a preprocessor operator; it can never be redefined or undefined. For example:
/*PRQA S 0553,2017 ++*/
#define defined !defined /* Message 0836 */
MISRA-C:2004 Rules applicable to message 0836:
| Rule 1.2 (Required) | No reliance shall be placed on undefined or unspecified behaviour. |
| Rule 20.1 (Required) | Reserved identifiers, macros and functions in the standard library, shall not be defined, redefined or undefined. |
![]() | ||
| 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 |