From: wolf Date: Mon, 23 Feb 2004 22:38:39 +0000 (+0000) Subject: Make sure abort() has the right signature. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dd1811aa84d5ed69094743ee3f59b0a2e175d41;p=dealii-svn.git Make sure abort() has the right signature. git-svn-id: https://svn.dealii.org/trunk@8511 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/abort.cc b/tests/abort.cc index abc9cf6d63..af2f137bf3 100644 --- a/tests/abort.cc +++ b/tests/abort.cc @@ -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;