[GRASS-dev] Testing needed for v.buffer2

Martin Landa landa.martin at gmail.com
Tue Sep 9 08:19:04 EDT 2008


Hi,

2008/9/9 Росен Матев <r.matev at gmail.com>:
> My mentor Wolf and I are experiencing problems with the new buffer
> module. For some certain input it works well on my system but doesn't
> finish at all on Wolf's. We need some help to figure out what's

[...]

hm strange, I cannot compile v.buffer2

gcc -I/home/landa/src/grass6_devel/dist.i686-pc-linux-gnu/include
-Wall -Werror-implicit-function-declaration -fno-common -Wextra
-Wunused    -I/home/landa/usr/include    -DPACKAGE=\""grassmods"\"
-I/home/landa/src/grass6_devel/dist.i686-pc-linux-gnu/include -o
OBJ.i686-pc-linux-gnu/e_intersect.o -c e_intersect.c
e_intersect.c: In function 'segment_intersection_2d_tol':
e_intersect.c:352: error: implicit declaration of function 'fmax'
e_intersect.c:352: warning: incompatible implicit declaration of
built-in function 'fmax'
e_intersect.c:369: error: implicit declaration of function 'fmin'
e_intersect.c:369: warning: incompatible implicit declaration of
built-in function 'fmin'

fmax and fmin should be declared in math.h (which is included) ...

Martin
-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *


More information about the grass-dev mailing list