[GRASS5] rst updates

Jaro Hofierka hofierka at geomodel.sk
Tue Dec 14 14:08:44 EST 2004


> 
> to make it compile, I have applied the following change in CVS:
> 
> RCS file: /grassrepository/grass51/lib/rst/interp_float/interpf.h,v
> retrieving revision 1.5
> diff -u -r1.5 interpf.h
> --- interpf.h   14 Dec 2004 04:06:07 -0000      1.5
> +++ interpf.h   14 Dec 2004 08:54:17 -0000
> @@ -16,13 +16,13 @@
>        double smooth;
>  };
> 
> -  struct line_pnts *Pnts;
> -  struct line_cats *Cats2;
> -  dbDriver *driver2;
> -  dbString sql2;
> -  struct Map_info Map2;
> -  struct field_info *ff;
> -  int count;
> +extern struct line_pnts *Pnts;
> +extern struct line_cats *Cats2;
> +extern dbDriver *driver2;
> +extern dbString sql2;
> +extern struct Map_info Map2;
> +extern struct field_info *ff;
> +extern int count;
> 
> 
> Not sure if it's right but now it compiles.

Markus,

this is not working on my machine and I'm getting a compile error.
Maybe I missed something else, I'll try to fix it.

Jaro

> 
> 
> My suggestion is to use the following CFLAGS to catch such
> problems:
> 
> export CFLAGS='-g -Wall -Werror-implicit-function-declaration -fno-common'
> configure ...
> make
> 
> 
> Markus




-=x=-
Skontrolované antivírovým programom NOD32




More information about the grass-dev mailing list