[GRASS5] parser problems: parameter creation

Glynn Clements glynn at gclements.plus.com
Tue Feb 7 16:36:12 EST 2006

Markus Neteler wrote:

> this moring I have added thre new macros to the parser
> to simplify programming:
> include/gis.h (definition of STD_OPT)
> +    G_OPT_R_MAPS,   /* old input rasters */
> +    G_OPT_R_BASE,   /* old input base raster */
> +    G_OPT_R_COVER,  /* old input cover raster */
> related changes in lib/gis/parser.c (additions to
> G_define_standard_option() ).
> Now strange things happen: v.info asks me for an output
> file and also other commands have wrong parameters.
> I am not sure if this is related to my or other changes.

Have you run "make distclean" then re-compiled everything? Some of the
G_OPT_* constants will have new values; modules which were compiled
using the old definitions will create the wrong option types if used
with a version of libgis compiled with the new definitions.

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list