Document pedantic debug mode typo (was Re: GCC 3.4.4)

Jonathan Wakely cow@compsoc.man.ac.uk
Wed May 18 16:18:00 GMT 2005


Mark already approved the patch below (including for 3.4) and I committed
it to 3.4 just now.  Any v3 people have objections to putting it in on
mainline too?

The typo is fixed on the 4.0 branch and mainline but Mark said (in a
private mail) that it's not worth fixing on the 3.4 branch, so the
the affected versions are likely to stay as 3.4.x (for all x) and 4.0.0

2005-05-18  Jonathan Wakely  <redi@gcc.gnu.org>

        * docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC must
        be defined for pedantic mode in versions 3.4 and 4.0.0.


On Tue, May 17, 2005 at 03:40:22PM +0100, Jonathan Wakely wrote:

> On Mon, May 16, 2005 at 05:41:03PM -0700, Mark Mitchell wrote:
> 
> > I've very nearly ready to release GCC 3.4.4.  If you have objections or 
> > high-priority fixes that you think will be required for this release, 
> > please speak up within the next 24 hours.
> 
> Sorry for the last minute mail ...
> 
> It occurs to me that although we're not fixing this in 3.4.4
> 
> http://gcc.gnu.org/ml/libstdc++/2005-05/msg00105.html
> 
> we could document it, which would be a safe change:
> 
> Index: docs/html/debug.html
> ===================================================================
> RCS file: /cvs/gcc/gcc/libstdc++-v3/docs/html/debug.html,v
> retrieving revision 1.7
> diff -u -p -b -B -r1.7 debug.html
> --- docs/html/debug.html        18 Nov 2003 20:56:07 -0000      1.7
> +++ docs/html/debug.html        17 May 2005 09:09:06 -0000
> @@ -283,7 +283,9 @@
>    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. due to a bug in GCC
> +  3.4.x and 4.0.0 you also need <code>-D_GLIBXX_DEBUG_PEDANTIC</code>
> +  to fully enable pedantic mode).</p>
> 
>  <p>The following library components provide extra debugging
>    capabilities in debug mode:</p>

-- 
"Self-respect: the secure feeling that no one, as yet, is suspicious."
	- H.L. Mencken



More information about the Libstdc++ mailing list