Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 1.26 KB

c-pragmas.md

File metadata and controls

36 lines (31 loc) · 1.26 KB
title ms.custom ms.date ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
C Pragmas | Microsoft Docs
11/04/2016
cpp-language
article
C++
pragmas, C/C++
3d6d36b4-d565-4632-a4cd-e39aeaded5ad
13
mikeblome
mblome
ghogen

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

Source Files and Source Programs