Skip to content

Commit 3f35b2e

Browse files
Merge pull request #6169 from StephanTLavavej/docs-editor/rtc-run-time-error-checks-1764310667
Update rtc-run-time-error-checks.md regarding /RTCc and the STL
2 parents 1bb7865 + dc90fbf commit 3f35b2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/build/reference/rtc-run-time-error-checks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ int main() {
4242
}
4343
```
4444
45-
Because **`/RTCc`** rejects code that conforms to the standard, it's not supported by the C++ Standard Library. Code that uses **`/RTCc`** and the C++ Standard Library may cause compiler error [C1189](../../error-messages/compiler-errors-1/fatal-error-c1189.md). You can define `_ALLOW_RTCc_IN_STL` to silence the warning and use the **`/RTCc`** option.
45+
Because **`/RTCc`** rejects code that conforms to the standard, it's not supported by the C++ Standard Library. Code that uses **`/RTCc`** and the C++ Standard Library may cause compiler error [C1189](../../error-messages/compiler-errors-1/fatal-error-c1189.md) or [C2338](../../error-messages/compiler-errors-1/compiler-error-c2338.md). Remove the **`/RTCc`** option to use the C++ Standard Library.
4646
4747
**`/RTCs`**<br/>
4848
Enables stack frame run-time error checking, as follows:

0 commit comments

Comments
 (0)