forwarded 613568 https://geuz.org/trac/gmsh/ticket/130
tags 613568 patch
thanks

If the patch will be applied by upstream, we will just update gmsh to
a newer svn-version.

Anton
Index: Common/GmshMessage.cpp
===================================================================
--- Common/GmshMessage.cpp	(Revision 9491)
+++ Common/GmshMessage.cpp	(Arbeitskopie)
@@ -99,6 +99,12 @@
   // used to call abort() to flush open streams, but on modern OSes
   // this calls the annoying "report this crash to the mothership"
   // window... so just exit!
+  
+  // If there were an errors, raise up the level
+  if (_errorCount > 0) {
+    level = 1;
+  }
+  
   if(level){
 #if defined(HAVE_SLEPC)
     SlepcFinalize();

Reply via email to