[GRASS-user] r.viewshed build

Glynn Clements glynn at gclements.plus.com
Mon Oct 10 11:38:50 EDT 2011

Adam Dershowitz, Ph.D., P.E. wrote:

> > This has (hopefully) been fixed in 7.0 with r38702, but the problem
> > remains in 6.x.
> > 
> > The fix involves changing line 443 of lib/iostream/mm.cc from:
> > 
> > 	MM_mode MM_register::register_new = MM_ABORT_ON_MEMORY_EXCEEDED; 
> > to:
> > 	MM_mode MM_register::register_new = MM_IGNORE_MEMORY_EXCEEDED;
> I assume that means 1)  the only way to fix this is to recompile the
> grass iostream static library?  (I have been using the binary of grass).

Yes. Or wait until someone back-ports the fix. Filing a bug report on
the tracker may help.

>  2)  Will the same change work in 6.x?  Or would the change potentially
> introduce other problems or be more complicated?

The fix should work in 6.x. At the very least, it won't break

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-user mailing list