From: wolf Date: Wed, 2 Oct 2002 22:41:45 +0000 (+0000) Subject: Fix a couple of issues with the cxx compiler. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e8d942ada4358e0060f49295fefe6baf7eea70c;p=dealii-svn.git Fix a couple of issues with the cxx compiler. git-svn-id: https://svn.dealii.org/trunk@6593 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/sparse_direct.cc b/deal.II/lac/source/sparse_direct.cc index a42c4186a8..e789a5b3ee 100644 --- a/deal.II/lac/source/sparse_direct.cc +++ b/deal.II/lac/source/sparse_direct.cc @@ -275,7 +275,7 @@ void die (const std::string &text) std::cerr << "+++++ detached_ma27 driver: " << text << std::endl; CommunicationsLog::list_communication (); - abort (); + std::abort (); }; @@ -290,7 +290,7 @@ void die (const std::string &text, const T1 t1, const T2 t2) << " code1=" << t1 << ", code2=" << t2 << std::endl; CommunicationsLog::list_communication (); - abort (); + std::abort (); }; @@ -304,7 +304,6 @@ void die (const std::string &text, const T1 t1, const T2 t2) * child. if the return value is non-null, then kill couldn't find * out about the process, so it is apparently gone */ -extern "C" void monitor_child_liveness (const pid_t child_pid) { while (true) @@ -380,7 +379,7 @@ struct SparseDirectMA27::DetachedModeData count += ret; }; - fflush (NULL); + std::fflush (NULL); CommunicationsLog:: record_communication (CommunicationsLog::put, N, count, debug_info); };