[GRASS-dev] Re: [GRASS GIS] #869: Compile libs with -fexception

GRASS GIS trac at osgeo.org
Thu Jan 14 15:16:54 EST 2010


#869: Compile libs with -fexception
--------------------------+-------------------------------------------------
  Reporter:  rblazek      |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect       |      Status:  closed                   
  Priority:  normal       |   Milestone:  6.5.0                    
 Component:  Compiling    |     Version:  unspecified              
Resolution:  worksforme   |    Keywords:                           
  Platform:  Unspecified  |         Cpu:  All                      
--------------------------+-------------------------------------------------
Comment (by frankie):

 Replying to [comment:9 rblazek]:
 > Replying to [comment:8 hamish]:
 > > fwiw, wrt. -fexceptions, Francesco commented on the DebianGIS list:
 > >
 > {{{
 >  This would be required for any C library linked by Qgis. This is out of
 discussion.
 >  Qgis has to manage correctly C libraries by providing wrappers to raise
 execeptions
 >  when C calls fail, else people will start asking that libc too supports
 >  exceptions, soon or later...
 > }}}
 >
 > Probably he does not know, that GRASS libraries can call exit(). No
 wrapper can help in that situation AFAIK.

 Right, libc and system calls ;-) Out of joking, those cases requires
 refining the library design, not dirty work arounds with limited results.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/869#comment:10>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list