Rule: Calling convention macro undefined after use¶
Canonical rule slug: calling-convention-macro-undefined-after-use. ← back to all rules
An exported function's calling convention changes through a convention macro that the header undefines right after the declaration, so the macro is absent from the final preprocessor state.
Canonical demonstration¶
- case212_calling_convention_macro_undefined_after_use — Calling Convention Macro
#undef'd After Use (🔴 BREAKING)