[GRASS5] Problem compiling Grass51

Glynn Clements glynn.clements at virgin.net
Wed May 21 14:43:31 EDT 2003


Paul Kelly wrote:

> I have added Eric's G_asprintf to 5.1 now as I tested it a bit and it
> seemed to work best for me. So now it can get a bit more testing. I didn't
> realise before but it needs to be used like:
> 
> 	char *str;
> 	G_asprintf( &str, "format etc..%s", otherstring);

Is there any reason why it can't be changed to:

	str = G_asprintf("format etc..%s", otherstring);

?

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-dev mailing list