[GRASS-dev] Re: [GRASS-SVN] r33885 - grass/trunk/include

Martin Landa landa.martin at gmail.com
Wed Oct 15 14:41:29 EDT 2008


Hi,

2008/10/15 Glynn Clements <glynn at gclements.plus.com>:
>> is it really necessary to recover this macro? It's only one used here.
>> If so maybe we should define other standard gisprompts in the similar
>> way (e.g. "old,vector,vector", "old_dbcolumn,dbcolumn,dbcolumn",
>> etc.).
>
> After it was removed, much of display/d.* failed to compile (30 uses
> in 17 modules). Before it can be removed, anything which uses it needs
> to be converted to use either an equivalent G_define_standard_option(),
> or the literal string.

sorry, I have overlooked that. Anyway, is it better to define

#define GISPROMPT_COLOR    "old,color,color"

and other standardized gisprompts in gis.h

or just remove GISPROMPT_COLOR and fix the all modules by using
G_define_standard_option()?

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *


More information about the grass-dev mailing list