Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Visible to Intel only — GUID: GUID-673AC723-D29C-49B7-8E2A-AFD022FA3284

Document Table of Contents

TC

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

Syntax

Linux:

None

Windows:

/TC

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.

NOTE:

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

None

See Also