C Pragmas

 

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_textdata_seginline_recursionsetlocale
auto_inlinefunctionintrinsicwarning
check_stackhdrstopmessage
code_seginclude_aliasoptimize
commentinline_depthpack

See Pragma Directives and the __Pragma Keyword in the Preprocessor Reference for a description of the Microsoft C compiler pragmas.

END Microsoft Specific

Source Files and Source Programs

Show: