This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Getting Apple's libstdc++ debug mode into the FSF tree
- From: Phil Edwards <phil at jaj dot com>
- To: Doug Gregor <dgregor at apple dot com>
- Cc: libstdc++ at gcc dot gnu dot org, bkoz <bkoz at redhat dot com>
- Date: Fri, 11 Jul 2003 17:12:34 -0400
- Subject: Re: Getting Apple's libstdc++ debug mode into the FSF tree
- References: <B8582730-B3C9-11D7-9EF0-00039354D67A@apple.com>
Reviewing the patch itself:
> + debug mode that provides additional checking of library facilities,
> + and will report errors in the use of libstdc++ as soon as they can
> + be detected by emitting a description of the problem to standard
> + error and aborting the program. <p>
Missing a '/' on the trailing tag there.
> + according to the same predicate that was passed
> + to <code>binary_search</code>; the libstdc++ debug mode will
> + detect an error if the sequence is not sorted or was sorted by a
> + different predicate.</li>
> + </ul>
> + </p>
No </p> needed (or allowed) there.
> + <p>Additionally, you must rebuild your application and any C++
> + libraries its depends on to enable the debug mode. Compile your C++
> + code with the compiler flag <code>-D_GLIBCXX_DEBUG</code> and add
[...]
> + the pedantic debug mode, compile your program
> + with <code>-D_GLIBCXX_DEBUG_PEDANTIC</code> in addition
> + to <code>_GLIBCXX_DEBUG</code>.</p>
Could I ask you to add these macros to the list in
docs/html/17_intro/howto.html#6 ?
Phil
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams