[GRASS-dev] Re: [GRASS-user] GRASS 7 vector topology format changed

Maris Nartiss maris.gis at gmail.com
Mon Jul 4 02:15:05 EDT 2011


Remind me - what was the reason to not move common code to (local)
library and prefer some arcane preprocessor/MAKE voodoo?

Not following so closely,
Maris.

2011/7/4 Hamish <hamish_b at yahoo.com>:
> [OT]
> re. r.in.lidar, I worry about that much cloned code.
> It is a shame that the #ifdef + Makefile solution to building
> two modules from one set of code is problematic, as that would be
> an ideal solution. (see recent r.colors, r3.colors frontend
> wrappers instead, although I wonder if you could still use pre-
> processor macros if the front-end wrapper #define'd them instead
> of asking the Makefile to do it? hmm maybe not, there is still
> just one set of *.o files)
>
> I just have bad flashbacks of spending a lot of time re-sync'ing
> fixes to i.points, i.vpoints, ..., after their cloned graphing
> code had diverged for many years.
>


More information about the grass-dev mailing list