Visible to Intel only — GUID: GUID-CC51DD80-7F6B-4703-AD4C-97C8C57CB59F
Visible to Intel only — GUID: GUID-CC51DD80-7F6B-4703-AD4C-97C8C57CB59F
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.
Syntax
Linux: |
None |
Windows: |
/TP |
Arguments
None
Default
OFF |
The compiler uses default rules for determining whether a file is a C++ source file. |
Description
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.
IDE Equivalent
Visual Studio: Advanced > Compile As
Eclipse: None
Alternate Options
Linux: -x c++
Windows: /Tp