Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 7/13/2023
Public
Document Table of Contents

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.

Syntax

Linux:

-Kc++

macOS:

-Kc++

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>.

IDE Equivalent

Visual Studio: Advanced > Compile As

Eclipse: None

Xcode: None

Alternate Options

Linux and macOS: -x c++

Windows: /Tp