[GRASS-dev] Compile errors in r.li

Markus Neteler neteler at osgeo.org
Mon Feb 3 09:28:57 PST 2014


On Mon, Feb 3, 2014 at 5:20 PM, Vaclav Petras <wenzeslaus at gmail.com> wrote:
> Markus, in case, you don;t know already, I'm getting compile errors,
> probably after r58850 when compiling daemon.c (even after distclean):

> daemon.c:358:24: error: implicit declaration of function 'G_easting_to_col'
> is
>       invalid in C99 [-Werror,-Wimplicit-function-declaration]
>             m.f.f_ma.x = (int)G_easting_to_col(sa_e, &window);
                                ^

Right.
The function API change
http://trac.osgeo.org/grass/changeset/40771

is missing from the documentation:
http://trac.osgeo.org/grass/wiki/Grass7/RasterLib/ListOfFunctions

and I missed to compile it before submission, sorry.

I have simply reverted r58856 in trunk, so someone else will need to
forward port the fixes from GRASS 6.

Markus


More information about the grass-dev mailing list