[QGIS Commit] r12781 - trunk/qgis/src/providers/grass

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Jan 16 12:58:37 EST 2010


Author: rblazek
Date: 2010-01-16 12:58:36 -0500 (Sat, 16 Jan 2010)
New Revision: 12781

Modified:
   trunk/qgis/src/providers/grass/qgsgrass.cpp
Log:
note about exceptions in GRASS lib (-fexception)

Modified: trunk/qgis/src/providers/grass/qgsgrass.cpp
===================================================================
--- trunk/qgis/src/providers/grass/qgsgrass.cpp	2010-01-16 17:50:05 UTC (rev 12780)
+++ trunk/qgis/src/providers/grass/qgsgrass.cpp	2010-01-16 17:58:36 UTC (rev 12781)
@@ -391,6 +391,10 @@
 
 int QgsGrass::error_routine( const char *msg, int fatal )
 {
+  // Unfortunately the exceptions thrown here can only be caught if GRASS libraries are compiled 
+  // with -fexception option on Linux (works on Windows)
+  // GRASS developers are reluctant to add -fexception by default
+  // https://trac.osgeo.org/grass/ticket/869
   QgsDebugMsg( QString( "error_routine (fatal = %1): %2" ).arg( fatal ).arg( msg ) );
 
   error_message = msg;



More information about the QGIS-commit mailing list