Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Kc++, TP
Tells the compiler to process all source or unrecognized file types as C++ source files. This is a deprecated option that may be removed in a future release.
| Linux: | -Kc++ | 
| Windows: | /TP | 
None
| OFF | The compiler uses default rules for determining whether a file is a C++ source file. | 
This option tells the compiler to process all source or unrecognized file types as C++ source files.
This is a deprecated option that may be removed in a future release. The replacement option for Kc++ is -x c++; the replacement option for /TP is /Tp<file>.
This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.
Visual Studio: Advanced > Compile As
Eclipse: None
Linux: -x c++
Windows: /Tp