[GRASS5] Problem compiling Grass51
blazek at itc.it
Wed Apr 30 10:09:59 EDT 2003
On Wednesday 30 April 2003 03:06 pm, Paul Kelly wrote:
> Hello Radim
> On Wed, 30 Apr 2003, Radim Blazek wrote:
> > On Tuesday 29 April 2003 05:18 pm, Paul Kelly wrote:
> > > I think we need a G_snprintf() and G_vsnprintf() or something like
> > > that. Would it be all right just to copy the code straight from a 3rd
> > > party snprintf implementation to enable this?
> > I replaced vsnprintf by vfprintf. G_asprintf() seems to be even better
> > than G_snprintf(). Can I add G_asprintf() suggested by Eric G. Miller
> > (http://grass.itc.it/pipermail/grass5/2002-May/002936.html) to 5.1?
> > Nice code is here:
> > http://www.gnu-darwin.org/sources/4osf1/lib/libc/stdio/asprintf.c
> > however 'f._file = -1;' is not very portable or yes? I guess
> > what it means only.
> It seems fine on my Irix system and compiles without warnings or errors.
> And looks nice and simple as well. I would say go ahead with it.
But which one? That by Eric or from gnu-darwin.org?
More information about the grass-dev