[GRASS-dev] Vect_rewrite_line using off_t as line id

Radim Blazek radim.blazek at gmail.com
Fri Sep 18 02:39:22 PDT 2015


On Fri, Sep 18, 2015 at 11:08 AM, Martin Landa <landa.martin at gmail.com> wrote:
> Hi,
>
> 2015-09-18 10:29 GMT+02:00 Glynn Clements <glynn at gclements.plus.com>:
>
>> Ultimately, the only place where the actual off_t size is "known" is
>> in compiled code. It might be worth adding this information to the
>> output of g.version.
>
> I added this info to g.version in r66256.
>
> $ g.version -g
> version=7.1.svn
> date=2015
> revision=66133
> build_date=2015-09-18
> build_platform=x86_64-unknown-linux-gnu
> build_off_t_size=8                                               <---

Thanks, but the g.version is a bit difficult to be run from in CMAKE
script. Could be the output of g.version written to a header file?
E.g. run  g.version -g > include/build_version.h when manual pages are
generated?

Radim

> If it's worth I can backport to relbr70. Martin
>
> --
> Martin Landa
> http://geo.fsv.cvut.cz/gwiki/Landa
> http://gismentors.cz/mentors/landa


More information about the grass-dev mailing list