]> gcc.gnu.org Git - gcc.git/blobdiff - libstdc++-v3/docs/html/19_diagnostics/howto.html
eh_term_handler.cc: Add comment about embedded systems.
[gcc.git] / libstdc++-v3 / docs / html / 19_diagnostics / howto.html
index d1d759d5a432e8e3f88a9a4b94d142809264f35c..dbfcc9cb054ba0a4b0a564612a81e82e2ae26922 100644 (file)
    %</pre>
    <p>The 'Aborted' line comes from the call to abort(), of course.
    </p>
+   <p><strong>UPDATE:</strong> Starting with GCC 3.4, this is the default
+      termination handler; nothing need be done to use it.  To go back to
+      the previous &quot;silent death&quot; method, simply include
+      <code>&lt;exception&gt;<code> and <code>&lt;cstdlib&gt;<code>, and call
+   </p>
+   <pre>
+       std::set_terminate (std::abort);</pre>
    <p>Return <a href="#top">to top of page</a> or
       <a href="../faq/index.html">to the FAQ</a>.
    </p>
This page took 0.025034 seconds and 5 git commands to generate.