The Intel® oneAPI DPC++ Compiler searches the default system areas for include files and items specified by the I compiler option. The compiler searches directories for include files in the following order:
Use the X(Windows*) or -nostdinc (Linux*)option to remove the default directories from the include file search path.
For example, to direct the compiler to search the path /alt/include instead of the default path, do the following:
Example |
---|
// Linux*
dpcpp -nostdinc -I/alt/include prog1.cpp |
// Windows*
dpcpp-cl /X /I\alt\include prog1.cpp |