This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Getting Apple's libstdc++ debug mode into the FSF tree


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]