Intel® C++ Compiler XE 13.1 User and Reference Guides
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 |
|
bss_seg |
indicates to the compiler the segment where uninitialized variables are stored in the .obj file |
|
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 |
|
component |
controls collecting of browse information or dependency information from within source files |
|
conform |
specifies the run-time behavior of the /Zc:forScope compiler option |
|
const_seg |
specifies the segment where functions are stored in the .obj file |
|
data_seg |
specifies the default section for initialized data |
|
deprecated |
indicates that a function, type, or any other identifier may not be supported in a future release or indicates that a function, type, or any other identifier should not be used any more |
|
poison |
labels the identifiers you want removed from your program; an error results when compiling a "poisoned" identifier; #pragma POISON is also supported. |
|
float_control |
specifies floating-point behavior for a function |
|
fp_contract |
allows or disallows the implementation to contract expressions |
|
include_directory |
appends the string argument to the list of places to search for #include files; HP compatible pragma |
|
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 functions below the pragma or till next optimize pragma; implemented to partly support Microsoft's implementation of same pragma; click here for Intel's implementation |
|
options |
GCC-compatible (MacOS) pragma; sets the alignment of fields in structures |
|
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 |
|
region/endregion |
specifies a code segment in the Microsoft Visual Studio* 2005 Code Editor that expands and contracts by using the outlining feature |
|
section |
creates a section in an .obj file. Once a section is defined, it remains valid for the remainder of the compilation |
|
start_map_region |
used in conjunction with the stop_map_region pragma |
|
stop_map_region |
used in conjunction with the start_map_region pragma |
|
fenv_access |
informs an implementation that a program may test status flags or run under a non-default control mode |
|
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 |