[QGIS-trac] Re: [Quantum GIS] #1878: remove setjmp/longjmp in grass plugin&provider and use exceptions instead

Quantum GIS qgis at qgis.org
Mon Jan 25 05:43:20 EST 2010


#1878: remove setjmp/longjmp in grass plugin&provider and use exceptions instead
-----------------------------------------------------+----------------------
        Reporter:  jef                               |         Owner:               
            Type:  patch                             |        Status:  new          
        Priority:  major: does not work as expected  |     Milestone:  Version 1.3.0
       Component:  GRASS                             |       Version:  HEAD         
      Resolution:                                    |      Keywords:               
Platform_version:                                    |      Platform:  All          
        Must_fix:  No                                |   Status_info:  0            
-----------------------------------------------------+----------------------
Comment (by jef):

 Replying to [comment:21 jef]:
 > I think we shouldn't try to intercept fatal GRASS errors in the GRASS
 library, we shouldn't be using GRASS libraries in the first place.

 IIRC the grass libraries also check for the grass version.  So using the
 libraries directly also introduces a dependency to the exact GRASS version
 the plugin was build with.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1878#comment:23>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list