]> https://gitweb.dealii.org/ - dealii.git/commitdiff
log abort to deallog
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Thu, 12 Feb 2004 10:40:50 +0000 (10:40 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Thu, 12 Feb 2004 10:40:50 +0000 (10:40 +0000)
git-svn-id: https://svn.dealii.org/trunk@8462 0785d39b-7218-0410-832d-ea1e28bc413d

tests/Makefile
tests/abort.cc

index e78ebdef4b24f301c70110a637b7530f14abf5f5..4823abd39a39d5c9e41893dd404a7d228323185d 100644 (file)
@@ -111,7 +111,7 @@ distclean-bits:
        cd bits ; $(MAKE) distclean
 
 abort.o: abort.cc
-        @$(CXX) -ggdb -o $@ -c $<
+        @$(CXX) $(CXXFLAGS.g) -o $@ -c $<
 
 .PHONY : all base lac fe deal.II bits \
        clean clean-base clean-lac clean-fe clean-deal.II clean-bits \
index 38d07196b434b93958ad1715f6f809e99c97aa7f..abc9cf6d63e420ae51130e1c7f2faaa46d70e4d9 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -20,6 +20,8 @@
 // actually generates an assertion, which would otherwise be
 // impossible
 
+#include <base/logstream.h>
+
 namespace  deal_II_exceptions
 {
   namespace internals 
@@ -31,5 +33,6 @@ namespace  deal_II_exceptions
 extern "C"
 void abort()
 {
+  deallog << "Abort!!!" << std::endl;
   deal_II_exceptions::internals::n_treated_exceptions = 0;
 }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.