Skip to content

Commit

Permalink
note about exceptions in GRASS lib (-fexception)
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@12781 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Jan 16, 2010
1 parent e7c24a2 commit 486cf59
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/providers/grass/qgsgrass.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 486cf59

Please sign in to comment.