Skip to content
Permalink
Browse files

note about exceptions in GRASS lib (-fexception)

git-svn-id: http://svn.osgeo.org/qgis/trunk@12781 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek
rblazek committed Jan 16, 2010
1 parent e7c24a2 commit 486cf59b470dd2214680582d395e412ed818f25d
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 486cf59

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