Skip to content
Permalink
Browse files

note about exceptions in GRASS lib (-fexception)

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12781 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek
rblazek committed Jan 16, 2010
1 parent cc01cc1 commit e7e159fa959b627d13042e640b77f1daa21ea42a
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/providers/grass/qgsgrass.cpp
@@ -391,6 +391,10 @@ int QgsGrass::error_routine( char *msg, int fatal )

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;

0 comments on commit e7e159f

Please sign in to comment.
You can’t perform that action at this time.