[GRASS-dev] compiling error for r.le.setup in Windows: sleep not implemented

Hamish hamish_nospam at yahoo.com
Sun May 6 21:19:59 EDT 2007


Moritz Lennert wrote:
> r.le.setup won't compile on Windows because of the use of sleep. We
> could replace it by G_sleep to make it compile,

done in CVS HEAD.

> but at the moment, this is just an empty token for Windows. Is sleep
> essential for r.le.setup ?

sleep is used in r.le.setup to give you a chance to read the result of a
command before the screen (text menu) is cleared to make way for the
next menu.

> How difficult is implementing a windows version of sleep ?

no idea, but having a fn which the programmer intends to do something
but it fails to do, isn't so nice.


Hamish




More information about the grass-dev mailing list