Yu

Tells the compiler to use a precompiled header file.

IDE Equivalent

Windows: Language > Create/Use Precompiled Header

Linux: None

Mac OS X: None

Architectures

IA-32, Intel® 64, IA-64 architectures

Syntax

Linux and Mac OS X:

None

Windows:

/Yufile

Arguments

file

Is the name of the precompiled header file to use.

Default

OFF

The compiler does not use precompiled header files unless it is told to do so.

Description

This option tells the compiler to use a precompiled header file.

When this option is specified, the Microsoft Visual C++* compiler ignores all text, including declarations preceding the #include statement of the specified file.

Alternate Options

None

See Also