Skip to content

Latest commit

 

History

History
68 lines (61 loc) · 2.92 KB

c-pragmas.md

File metadata and controls

68 lines (61 loc) · 2.92 KB
description title ms.date helpviewer_keywords ms.assetid
Learn more about: C Pragmas
C Pragmas
07/26/2020
pragmas, C/C++
3d6d36b4-d565-4632-a4cd-e39aeaded5ad

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:

:::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

See also

Source Files and Source Programs