10-07-2025, 12:21 PM
As you observe, use of #undef is a violation of Rule 20.5
However, this does not preclude #undef (eg under deviation) being a use of a macro
However, this does not preclude #undef (eg under deviation) being a use of a macro
Posted by and on behalf of the MISRA C Working Group