### defer_codegen

Controls the inlining of functions that are not yet compiled.

##### Syntax

#pragma defer_codegen on | off | reset

##### Targets

All platforms.

##### Remarks

This setting lets you use inline and auto-inline functions that are called before their definition:

#pragma defer_codegen on
#pragma auto_inline on

extern void f();
extern void g();

main()
{
f(); // will be inlined
g(); // will be inlined
}

inline void f() {}
void g() {}

NOTE The compiler requires more memory at compile time if you enable this pragma.

This pragma corresponds to the Deferred Inlining setting . To check this setting, use the __option (defer_codegen), described in Checking Settings. The default setting is off.