Object code control
| Pragma | Description |
|---|---|
#pragma alloca (C only) |
Provides an inline definition of system function |
#pragma comment |
Places a comment into the object module. |
#pragma fini (C only) |
Specifies the order in which the runtime library calls a list of functions after main() completes or exit() is called. |
#pragma hashome (C++ only) |
Informs the compiler that the specified class has a home module that will be specified by #pragma ishome. |
#pragma ishome (C++ only) |
Informs the compiler that the home module of the specified class is the current compilation unit. |
#pragma init (C only) |
Specifies the order in which the runtime library calls a list of functions before main() is called. |
#pragma map |
Converts all references to an identifier to another, externally defined identifier. |
| #pragma pack | Sets the alignment of all aggregate members to a specified byte boundary. |
![]() |
Specifies the priority level for the initialization of static objects. |
#pragma reg_killed_by |
Specifies registers that may be altered by functions specified by #pragma mc_func. |
#pragma strings |
Specifies the storage type for string literals. |
#pragma weak |
Prevents the linker from issuing error messages if it encounters a symbol multiply-defined during linking, or if it does not find a definition for a symbol. |

