Please also see Intel®-Specific Pragmas.
The Intel® C++ Compiler supports the following pragmas:
Pragma | Description |
---|---|
alloc_text | names the code section where the specified function definitions are to reside |
auto_inline | excludes any function defined within the range where off is specified from being considered as candidates for automatic inline expansion |
check_stack | on argument indicates that stack checking should be enabled for functions that follow and off argument indicates that stack checking should be disabled for functions that follow. |
code_seg | specifies a code section where functions are to be allocated |
comment | places a comment record into an object file or executable file |
conform | specifies the run-time behavior of the /Zc:forScope compiler option |
stdc cx_limited_range | informs the implementation that the usual formulas are acceptable |
data_seg | specifies the default section for initialized data |
stdc fenv_access | informs an implementation that a program may test status flags or run under a non-default control mode |
float_control | specifies floating-point behavior for a function |
stdc fp_contract | allows or disallows the implementation to contract expressions |
ident | places the string in the comment section of the executable |
init_seg | specifies the section to contain C++ initialization code for the translation unit |
message | displays the specified string literal to the standard output device |
optimize | specifies optimizations to be performed on a function-by-function basis |
pointers_to_members | specifies whether a pointer to a class member can be declared before its associated class definition and is used to control the pointer size and the code required to interpret the pointer |
pop_macro | sets the value of the macro_name macro to the value on the top of the stack for this macro |
push_macro | saves the value of the macro_name macro on the top of the stack for this macro |
section | creates a section in an .obj file. Once a section is defined, it remains valid for the remainder of the compilation |
vtordisp | on argument enables the generation of hidden vtordisp members and off disables them |
warning | allows selective modification of the behavior of compiler warning messages |
weak | declares symbol you enter to be weak |