[GRASS-dev] check on GRASS revision number

Glynn Clements glynn at gclements.plus.com
Thu Nov 27 09:40:37 PST 2014


Michael Barton wrote:

> Why do we need to do this?

Because getting developers to agree to maintaining a stable ABI (then
ensuring that actually happens) appears to be beyond our capabilities.

Probably the most common (and certainly the most obvious) example of
incompatible changes (and the trigger for adding that check in the
first place) is adding new enumerants in the middle of "enum STD_OPT"
(the constants passed to G_define_standard_option()), resulting in all
subsequent enumerants getting new values, resulting in the module
suddenly accepting completely different (and usually completely
nonsensical) options.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list