Skip to content

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