Partager via


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

See Also

Concepts

Source Files and Source Programs