[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


defer_codegen

Description:

Controls the inlining of functions that haven't been compiled yet.

Compatibility:

This pragma is compatible with the following platform targets:

68K

PowerPC

NEC V800

Intel x86

MIPS

Embedded 68K

Prototype:
  #pragma defer_codegen on | off | reset Remarks:

This option allows inlining of 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 will need more memory at compile-time when this option is selected.

This pragma corresponds to the Deferred Inlining option in the C/C++ Language Settings panel, described in ""Inlining"." To check whether this option is on, use the __option (defer_codegen), described in "Checking Options."


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 17, 2000