diff mbox series

[wwwdocs] Document defining _GLIBCXX_ASSERTIONS for -O0

Message ID 20241009130158.585173-1-jwakely@redhat.com
State New
Headers show
Series [wwwdocs] Document defining _GLIBCXX_ASSERTIONS for -O0 | expand

Commit Message

Jonathan Wakely Oct. 9, 2024, 1:01 p.m. UTC
---
Pushed to wwwdocs.

 htdocs/gcc-15/changes.html | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/htdocs/gcc-15/changes.html b/htdocs/gcc-15/changes.html
index ad0daf04..805a6703 100644
--- a/htdocs/gcc-15/changes.html
+++ b/htdocs/gcc-15/changes.html
@@ -93,6 +93,9 @@  a work-in-progress.</p>
 <h4 id="libstdcxx">Runtime Library (libstdc++)</h4>
 
 <ul>
+  <li>Debug assertions are now enabled by default for unoptimized builds.
+    Use <code>-D_GLIBCXX_NO_ASSERTIONS</code> to override this.
+  </li>
   <li>Improved experimental support for C++26, including:
     <ul>
     <li><code>views::concat</code>.</li>