[GRASS5] v.in.mif error
David D Gray
ddgray at armadce.demon.co.uk
Tue Feb 20 07:39:26 EST 2001
Justin Hickey wrote:
>
> Hello all
>
> I'm getting an error with v.in.mif:
>
> "attval.c", line 45: error(1028): expression must have a constant value
> char delims[2] = { delim, '\0' };
>
> The declarations in question are
>
> char delim = del0[1];
> char delims[2] = { delim, '\0' };
>
> Any idea how to fix this?
>
Hi Justin
The problem is just what it says:- it's too early to use a variable at
this point, sorry my mistake. What is surprising is not that it failed
to compile for some systems, but that it did compile at all on others. I
am uploading changes now.
David
----------------------------------------
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