[GRASS5] G_plot_line()/ g51

Glynn Clements glynn.clements at virgin.net
Mon May 6 18:05:56 EDT 2002


Radim Blazek wrote:

> > > it seems that G_plot_line() in grass51 doesn't draw anything
> > > (d.rast works). Does anybody know about some recent changes
> > > in grass50 which could cause that?
> >
> > AFAIK, it works fine in 5.0.  You need to use G_setup, etc. first,
> > right?
> 
> Sorry, that was my stupid mistake, I have used atof() in vectlib,
> and forgot to add #include <stdlib.h>. Result was as described above.
> How can I force gcc, to complain about missing header file?

`-Wimplicit-function-declaration'
`-Werror-implicit-function-declaration'
     Give a warning (or error) whenever a function is used before being
     declared.

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



More information about the grass-dev mailing list