[GRASS5] GRASS 5.0/5.1
Markus Neteler
neteler at geog.uni-hannover.de
Fri Jan 19 08:38:36 EST 2001
Hi Justin,
got it! Now src/libes/g3d/ compiles well on CRAY (Linux, ...).
On Fri, Jan 19, 2001 at 06:27:45PM +0700, Justin Hickey wrote:
> Hi Markus
>
> Markus Neteler wrote:
> > Unfortunately there is one left with G3d on CRAY:
> >
> > CC-147 cc: ERROR File = tilewrite.c, Line = 344
> > Declaration is incompatible with
> > "int G3d_putFloat(G3D_Map *, int, int, int, float)" (declared at
> > line 499 of
> > "/home/t3e/fsn/nhdc/nhdcmark/grass/src/include/G3d.h").
> >
> > G3d_putFloat (map, x, y, z, value)
> > ^
> >
>
> Strange. Try changeing the declaration in tilewrite.c to the same as the
> include file. That is change
>
> int
> G3d_putFloat (map, x, y, z, value)
>
> G3D_Map *map;
> int x, y, z;
> float value;
>
> to the following
>
> int G3d_putFloat(G3D_Map *map, int x, int y, int z, float value)
>
> in tilewrite.c. Maybe the extra spacing is confused or something. Gotta
> go now.
That's it. It must be explicitly identical. CRAY cc is somewhat
paranoid.
So far on g3d - another chapter finished :-)
Yours
Markus
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'
More information about the grass-dev
mailing list