From: Wolfgang Bangerth Date: Mon, 23 Feb 2004 22:38:39 +0000 (+0000) Subject: Make sure abort() has the right signature. X-Git-Tag: v8.0.0~15763 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=690cb73cc9204fcbd1cc2c8aa02291fe9c948025;p=dealii.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;