Kc++, TP

Tells the compiler to process all source or unrecognized file types as C++ source files.

Syntax

Linux:

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

IDE Equivalent

Visual Studio: Advanced > Compile As

Eclipse: None

Alternate Options

Linux: -x c++

Windows: /Tp