X

Removes standard directories from the include file search path.

IDE Equivalent

Windows: Preprocessor > Ignore Standard Include Path

Linux: Preprocessor > Ignore Standard Include Path

Mac OS X: Preprocessor > Ignore Standard Include Path

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux and Mac OS X:

-X

Windows:

/X

Arguments

None

Default

OFF

Standard directories are in the include file search path.

Description

This option removes standard directories from the include file search path. It prevents the compiler from searching the default path specified by the INCLUDE environment variable.

On Linux and Mac OS X systems, specifying -X (or -noinclude) prevents the compiler from searching in /usr/include for files specified in an INCLUDE statement.

You can use this option with the I option to prevent the compiler from searching the default path for include files and direct it to use an alternate path.

Alternate Options

Linux and Mac OS X: -nostdinc

Windows: None

See Also


Submit feedback on this help topic

Copyright © 1996-2011, Intel Corporation. All rights reserved.