]> gcc.gnu.org Git - gcc.git/commitdiff
vterminate.cc (__verbose_terminate_handler): Send diagnostics to stderr.
authorJason Merrill <jason@redhat.com>
Wed, 18 Dec 2002 16:31:35 +0000 (11:31 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 18 Dec 2002 16:31:35 +0000 (11:31 -0500)
        * src/vterminate.cc (__verbose_terminate_handler): Send
        diagnostics to stderr.

From-SVN: r60254

libstdc++-v3/ChangeLog
libstdc++-v3/src/vterminate.cc

index 7b9d4da9ef8dc70f346bf13a820b91fc6d85ce56..b74d3f3257982a66a27573ba676f763a2efb438b 100644 (file)
@@ -1,3 +1,8 @@
+2002-12-18  Jason Merrill  <jason@redhat.com>
+
+       * src/vterminate.cc (__verbose_terminate_handler): Send
+       diagnostics to stderr.
+
 2002-12-18  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * configure.in: Define with_target_subdir and with_build_subdir
index 26e09d17b57c04d315580bd0d825478371a9c6ca..6e28575170247312dc601b4750c1fa2f4ac35360 100644 (file)
@@ -55,11 +55,10 @@ namespace __gnu_cxx
          int status = -1;
          char *dem = 0;
          
-         // Disabled until __cxa_demangle gets the runtime GPL exception.
          dem = __cxa_demangle(name, 0, 0, &status);
 
-         printf("terminate called after throwing a `%s'\n", 
-                status == 0 ? dem : name);
+         fprintf(stderr, "terminate called after throwing a `%s'\n", 
+                 status == 0 ? dem : name);
 
          if (status == 0)
            free(dem);
This page took 0.069219 seconds and 5 git commands to generate.