[GRASS-dev] r.flow and G_message

Hamish hamish_nospam at yahoo.com
Sun Oct 22 23:01:58 EDT 2006

Glynn Clements wrote:
> Also, I would suggest an additional verbosity level between "message"
> and "debug" which would be used for messages which are relatively
> unimportant, yet still meant for users rather than developers, with
> "debug" being reserved for information which is only useful for, well,
> debugging.

along these lines, here's a trick:

G_debug(0, "");

is always printed.

Probably reserve this for very rare cases just before G_fatal_error();
[which exits], if extra messages are needed that can't/shouldn't fit in
the error message.


More information about the grass-dev mailing list