Intel-supported Pragma Reference
The Intel® C++ Compiler supports the following pragmas to ensure compatibility with other compilers.
Pragmas Compatible with the Microsoft* Compiler
The following pragmas are compatible with the Microsoft* compiler. For more information about these pragmas, go to the Microsoft* Developer Network (http://msdn.microsoft.com).
Names the code section where the specified function definitions are to reside.
Excludes any function defined within the range where
is specified from being considered as candidates for automatic inline expansion.
Indicates to the compiler the segment where uninitialized variables are stored in the
argument indicates that stack checking should be enabled for functions that follow and the
argument indicates that stack checking should be disabled for functions that follow.
Specifies a code section where functions are to be allocated.
Places a comment record into an object file or executable file.
Controls collecting of browse information or dependency information from within source files.
Specifies the run-time behavior of the
Specifies the segment where functions are stored in the
Specifies the default section for initialized data.
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.
Informs an implementation that a program may test status flags or run under a non-default control mode.
Specifies floating-point behavior for a function.
Allows or disallows the implementation to contract expressions.
Controls how the loop code will be considered or excluded from consideration by the auto-vectorizer.
Specifies the section to contain C++ initialization code for the translation unit.
Displays the specified string literal to the standard output device (
Specifies optimizations to be performed on functions below the pragma or until the next optimize pragma; implemented to partly support the Microsoft* implementation of same pragma; for the Intel® C++ Compiler implementation, see the
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.
Sets the value of the specified macro to the value on the top of the stack.
Saves the value of the specified macro on the top of the stack.
Specifies a code segment in the Microsoft* Visual Studio* Code Editor that expands and contracts by using the outlining feature.
Creates a section in an
.objfile. Once a section is defined, it remains valid for the remainder of the compilation.
argument enables the generation of hidden
vtordispmembers and the
argument pushes the current
vtordispsetting to the internal compiler stack.
argument removes the top record from the compiler stack and restores the removed value of
Allows selective modification of the behavior of compiler warning messages.
Declares symbol you enter to be weak.
OpenMP* Standard Pragmas
The Intel® C++ Compiler currently supports OpenMP* TR4: Version 5.0 pragmas, as listed below. For more information about these pragmas, reference the OpenMP* TR4: Version 5.0 specification.
Intel-specific clauses are noted in the affected pragma description.
Specifies a computation that must be executed atomically.
Specifies a point in the code where each thread must wait until all threads in the team arrive.
Requests cancellation of the innermost enclosing region of the