debuginline
• Anonymous struct
& union
objects. Listing 29-2 on page 438
shows an example.
Listing 29-2. Example of Anonymous struct
& union
Objects
#pragma cpp_extensions on void func()
{
union {
long hilo;
struct { short hi, lo; }; // anonymous struct
};
hi=0x1234;
lo=0x5678; // hilo==0x12345678
}
• Unqualified pointer to a member function. Listing 29-3 on page 438
shows an example.
Listing 29-3. Example of an Unqualified Pointer to a Member Function
#pragma cpp_extensions on struct RecA { void f(); } void RecA::f()
{
void (RecA::*ptmf1)() = &RecA::f; // ALWAYS OK
void (RecA::*ptmf2)() = f; // OK if you enable cpp_extensions.
}
• Inclusion of const
data in precompiled headers.
By default, this pragma is disabled.
29.12 debuginline
Controls whether the compiler emits debugging information for expanded inline function calls.
Syntax
#pragma debuginline on | off | reset
Remarks
If the compiler emits debugging information for inline function calls, then the debugger can step to the body of the inlined function. This behavior more closely resembles the debugging experience for un-inlined code.
NOTE
Since the actual "call" and "return" instructions are no longer present when stepping through inline code, the debugger will immediately jump to the body of an inlined function and
CodeWarrior Development Studio for Power Architecture Processors Build Tools Reference Manual, Rev.
10.6, 02/2014
438 Freescale Semiconductor, Inc.