]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make sure abort() has the right signature.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 23 Feb 2004 22:38:39 +0000 (22:38 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 23 Feb 2004 22:38:39 +0000 (22:38 +0000)
git-svn-id: https://svn.dealii.org/trunk@8511 0785d39b-7218-0410-832d-ea1e28bc413d

tests/abort.cc

index abc9cf6d63e420ae51130e1c7f2faaa46d70e4d9..af2f137bf3ce1cfd582b345344876531ec23acbb 100644 (file)
@@ -32,6 +32,9 @@ namespace  deal_II_exceptions
 
 extern "C"
 void abort()
+#ifdef DEAL_II_ABORT_NOTHROW_EXCEPTION
+  throw ()
+#endif
 {
   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.