[GRASS-dev] question about error in r.watershed

Michael Barton michael.barton at asu.edu
Sun Dec 21 01:29:53 EST 2008


This worked. Thanks.

Michael
____________________
C. Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>



On Dec 20, 2008, at 9:06 PM, Glynn Clements wrote:

>
> Michael Barton wrote:
>
>>> The fix would be to add the following lines in front/main.c at line
>>> 223
>>>
>>>  /* LS factor and basin.thresh */
>>>  err += (opt14->answer != NULL && opt6->answer == NULL);
>
>> I applied your patch and got the following compiler error:
>>
>> r.watershed/front >> /Users/cmbarton/grass_dev/grass6_src/error.log
>> gcc -I/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple- 
>> darwin9.6.0/
>> include  -arch i386 -Os       -DPACKAGE=\""grassmods"\"  -I/Users/
>> cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/include -o
>> OBJ.i386-apple-darwin9.6.0/main.o -c main.c
>> main.c: In function �main�:
>> main.c:224: error: stray �\202� in program
>> main.c:224: error: stray �\202� in program
>
> Presumably, that's in the line you added.
>
> I suspect an error in the copy/paste from the email. I've attached
> Markus' suggested change as a binary attachment.
>
> -- 
> Glynn Clements <glynn at gclements.plus.com>
>
> <r.watershed.patch>



More information about the grass-dev mailing list