[GRASS5] Re: G_fatal

Markus Neteler neteler at geog.uni-hannover.de
Mon Apr 23 08:32:42 EDT 2001


Hi all,

On Mon, Apr 23, 2001 at 07:43:13PM +0900, GRASS wrote:
> From: Markus Neteler <neteler at geog.uni-hannover.de>
> > Hi Edzer, hi all,
> > (cc to grass5)
> >
> > I would like to know the opinion of the develovers on this:
> >
> > On Mon, Apr 23, 2001 at 12:05:16PM +0200, Edzer J. Pebesma wrote:
> > > Hi Markus,
> > > 
> > > according to the programmers manual, G_fatal is defined as
> > > 
> > > int G_fatal_error(char *);
> > > 
> > > but according to gisdefs.h, it is
> > > 
> > > int G_fatal_error(char *,...);
> > > 
> > > I see that quite some code is relying on the second definition.
> > > Should it be changed in the progr. manual, or should everyone 
> > > adopt the former?
> > > 
> 
> Hi all,
> 
> src/libes/gis/error.c defines the latter(G_fatal_error(char *msg,...),
> G_warning(char *msg,...)). And its usage is more convenient than the former.
> The former requires an additional buffer to store a message in most cases.
> 

.. I have updated the manual and put online:
http://www.geog.uni-hannover.de/grass/grassdevel.html#prog

Thanks to Edzer for indicating this,

 Markus

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list