| description | Learn more about: C Pragmas | |
|---|---|---|
| title | C Pragmas | |
| ms.date | 07/26/2020 | |
| helpviewer_keywords |
|
|
| ms.assetid | 3d6d36b4-d565-4632-a4cd-e39aeaded5ad |
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:
:::row:::
:::column:::
alloc_text
auto_inline
bss_seg
check_stack
code_seg
comment
component
const_seg
data_seg
deprecated
:::column-end:::
:::column:::
detect_mismatch
fenv_access
float_control
fp_contract
function
hdrstop
include_alias
inline_depth
inline_recursion
:::column-end:::
:::column:::
intrinsic
make_public
managed
message
omp
once
optimize
pack
pop_macro
:::column-end:::
:::column:::
push_macro
region, endregion
runtime_checks
section
setlocale
strict_gs_check
system_header
unmanaged
warning
:::column-end:::
:::row-end:::
See Pragma Directives and the __Pragma Keyword for a description of the Microsoft C compiler pragmas.
END Microsoft Specific