[GRASS5] Re: r.fill.dir (new)

Markus Neteler neteler at geog.uni-hannover.de
Sun May 13 06:24:05 EDT 2001


Roger,

(cc to grass5)

On Fri, May 11, 2001 at 10:31:23PM -0600, Roger S. Miller wrote:
> 
> Markus,
> 
> The attached file contains a new version of r.fill.dir.  I removed all
> references to error.h (there were several), and made a number of other
> changes that came up when I compiled with -Wall.  I also think I fixed
> the pointer arithmetic problem with the Cray and SGI compilers.
> 
> I used the -Wpointer-arith flag, which found the same problems that the
> Cray compiler reported and -Wcast-align that should have found other
> problems that might arise from the changes I made.  Then I fixed
> everything that was reported.  Maybe it will work, or maybe there will
> be more headaches.
> 
> Rather than using Justin's suggestion to cast the void pointers to char
> pointers, I simply changed some type definitions from void * to char *. 
> Otherwise it would have needed a great many casts, and that didn't seem
> to make sense.  The change required surprisingly little effort. 
> Hopefully it will all work.
> 
> Let me know how it goes.

good news: The new version compiles on Linux and CRAY (so it will on
SGI, too). Thanks for your update, it is in CVS now. I have added
a missing #include <limits.h> in tinf.c and added a few user
messages to have r.fill.dir less silent when working on large maps.

Thanks again,

 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