Yu

Tells the compiler to use a precompiled header file.

IDE Equivalent

Windows: C/C++ > Language > Create/Use Precompiled Header

Linux: None

Mac OS: None

Architectures

IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture

Syntax

Linux and Mac OS: 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