Enables checking for certain run-time conditions.
Windows: C/C++ > Code Generation > Basic Runtime Checks
Linux: None
Mac OS: None
IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture
Linux and Mac OS: | None |
Windows: | /RTCoption |
option | Specifies the condition to check. Possible values are 1, s, u, or c. |
OFF | No checking is performed for these run-time conditions. |
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. |
None