summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-23 21:53:46 +0000
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-23 21:53:46 +0000
commite181a5049abffe963582ae7ec423ff87b20ebb1e (patch)
tree816acbce8d089bc26302b352edd6dda99892736d
parent43944aa4bf5cda5c46a808cb8d816bb4ad7f2eb6 (diff)
downloadgcc-e181a5049abffe963582ae7ec423ff87b20ebb1e.tar.gz
* docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC
had to be defined for pedantic mode in 3.4 and 4.0.0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100087 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/docs/html/debug.html5
2 files changed, 9 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index f4116a9eca7..bba5f417cfd 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2005-05-23 Jonathan Wakely <redi@gcc.gnu.org>
+
+ * docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC
+ had to be defined for pedantic mode in 3.4 and 4.0.0.
+
2005-05-20 Jan Beulich <jbeulich@novell.com>
* libmath/stubs.c: Also implement fabsf/fabsl if not present in the
diff --git a/libstdc++-v3/docs/html/debug.html b/libstdc++-v3/docs/html/debug.html
index af1177bd2d2..0242d4363e3 100644
--- a/libstdc++-v3/docs/html/debug.html
+++ b/libstdc++-v3/docs/html/debug.html
@@ -286,7 +286,10 @@
under pedantic debug mode libstdc++ would signal an error. To enable
the pedantic debug mode, compile your program with
both <code>-D_GLIBCXX_DEBUG</code>
- and <code>-D_GLIBCXX_DEBUG_PEDANTIC</code> .</p>
+ and <code>-D_GLIBCXX_DEBUG_PEDANTIC</code> .
+ (N.B. In GCC 3.4.x and 4.0.0, due to a bug,
+ <code>-D_GLIBXX_DEBUG_PEDANTIC</code> was also needed. The problem has
+ been fixed in GCC 4.0.1 and later versions.) </p>
<p>The following library components provide extra debugging
capabilities in debug mode:</p>