Visible to Intel only — GUID: GUID-65F1FC0F-16CB-441E-8E38-3A49DED905F6
Visible to Intel only — GUID: GUID-65F1FC0F-16CB-441E-8E38-3A49DED905F6
RTC
Enables checking for certain run-time conditions.
Syntax
Linux: |
None |
macOS: |
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 run-time conditions. |
Description
This option enables checking for certain run-time conditions. Using the /RTC option sets __MSVC_RUNTIME_CHECKS = 1.
Option |
Description |
---|---|
/RTC1 |
This is the same as specifying /RTCsu. |
/RTCs |
Enables run-time checks of the stack frame. |
/RTCu |
Enables run-time 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
Xcode: None
Alternate Options
None