Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 9/08/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

I-

Splits the include path.

Syntax

Linux:

-I-

Windows:

/I-

Arguments

None

Default

OFF

The default directory is searched for include files.

Description

This option splits the include path. It prevents the use of the current directory as the first search directory for '#include "file"'.

If you specify directories using the I option before you specify option I-, the directories are searched only for the case of '#include "file"'; they are not searched for '#include <file>'.

If you specify directories using the I option after you specify option I-, these directories are searched for all '#include' directives.

This option has no effect on option nostdinc++, which searches the standard system directories for header files.

This option is provided for compatibility with gcc.

IDE Equivalent
None
Alternate Options

None

See Also