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

GRASS GIS trac at osgeo.org
Thu Jan 14 10:46:23 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 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.

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


More information about the grass-dev mailing list