Intel® C++ Compiler 16.0 User and Reference Guide
Removes standard directories from the include file search path.
Linux and OS X: | -X |
Windows: | /X |
None
OFF |
Standard directories are in the include file search path. |
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 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.
Visual Studio: Preprocessor > Ignore Standard Include Path
Eclipse: Preprocessor > Ignore Standard Include Path
Xcode: Preprocessor > Ignore Standard Include Path
Linux and OS X: -nostdinc
Windows: None