Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.32 KB

y-ignore-precompiled-header-options.md

File metadata and controls

42 lines (27 loc) · 1.32 KB
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: /Y- (Ignore Precompiled Header Options)
/Y- (Ignore Precompiled Header Options)
11/04/2016
/y-
Y- compiler option [C++]
-Y- compiler option [C++]
/Y- compiler option [C++]
cfaecb36-58db-46b8-b04d-cca6072b1b7a

/Y- (Ignore Precompiled Header Options)

Causes all other /Y compiler options to be ignored (and cannot itself be overridden).

Syntax

/Y-

Remarks

For more information on precompiled headers, see:

To set this compiler option in the Visual Studio development environment

  1. Open the project's Property Pages dialog box. For details, see Set C++ compiler and build properties in Visual Studio.

  2. Select the Configuration Properties > C/C++ > Command Line property page.

  3. Enter the compiler option in the Additional Options box.

To set this compiler option programmatically

  • See xref:Microsoft.VisualStudio.VCProjectEngine.VCCLCompilerTool.AdditionalOptions%2A.

See also

MSVC Compiler Options
MSVC Compiler Command-Line Syntax