]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix a couple of issues with the cxx compiler.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 2 Oct 2002 22:41:45 +0000 (22:41 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 2 Oct 2002 22:41:45 +0000 (22:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@6593 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/sparse_direct.cc

index a42c4186a8c13582e014549b3fac0f93d93213ab..e789a5b3ee7eea2163f93ed123123e835fd331ae 100644 (file)
@@ -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<T> (CommunicationsLog::put, N, count, debug_info);
       };

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.