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

ID 767253
Date 3/31/2023
Public

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

Document Table of Contents

RTC

Enables checking for certain runtime conditions.

Syntax

Linux:

None

Windows:

/RTCoption

Arguments

option

Specifies the condition to check. Possible values are 1, s, u, or c.

Default

OFF

No checking is performed for these runtime conditions.

Description

This option enables checking for certain runtime conditions. Using the /RTC option sets __MSVC_RUNTIME_CHECKS = 1.

Option

Description

/RTC1

This is the same as specifying /RTCsu.

/RTCs

Enables runtime checks of the stack frame.

/RTCu

Enables runtime checks for unintialized variables.

/RTCc

Enables checks for converting to smaller types.

IDE Equivalent

Visual Studio: Code Generation > Basic Runtime Checks / Smaller Type Check

Eclipse: None

Alternate Options

None