diff options
Diffstat (limited to 'docs/markdown/snippets/cpp-debug.md')
| -rw-r--r-- | docs/markdown/snippets/cpp-debug.md | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/docs/markdown/snippets/cpp-debug.md b/docs/markdown/snippets/cpp-debug.md deleted file mode 100644 index 2a62b9399..000000000 --- a/docs/markdown/snippets/cpp-debug.md +++ /dev/null @@ -1,10 +0,0 @@ -## `ndebug` setting now controls C++ stdlib assertions - -The `ndebug` setting, if disabled, now passes preprocessor defines to enable -debugging assertions within the C++ standard library. - -For GCC, `-D_GLIBCXX_ASSERTIONS=1` is set. - -For Clang, `-D_GLIBCXX_ASSERTIONS=1` is set to cover libstdc++ usage, -and `-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE` or -`-D_LIBCPP_ENABLE_ASSERTIONS=1` is used depending on the Clang version. |
