C Pragmas
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at C Pragmas.
Microsoft Specific**
A "pragma" instructs the compiler to perform a particular action at compile time. Pragmas vary from compiler to compiler. For example, you can use the optimize pragma to set the optimizations to perform on your program. The Microsoft C pragmas are:
| alloc_text | data_seg | inline_recursion | setlocale |
| auto_inline | function | intrinsic | warning |
| check_stack | hdrstop | message | |
| code_seg | include_alias | optimize | |
| comment | inline_depth | pack |
See Pragma Directives and the __Pragma Keyword in the Preprocessor Reference for a description of the Microsoft C compiler pragmas.
END Microsoft Specific
Show: