On Sun, 15 Oct 2017 08:56:50 -0700 (PDT), Samuel Mesa wrote:
> Greetings, I am the maintainer of the Spatialite-GUI package on Arch
> Linux. With the new version of GCC 7.2.0 an error is generated in the
> compilation and I haven't found a way to fix it.
>
Hi Samuel,
it was fixed on 2017-02-05, please see:
https://www.gaia-gis.it/fossil/spatialite_gui/fdiff?v1=78060ac75797c6bb&v2=d7a4a13c171c06f5&sbs=1
the previous implementation was obviously wrong,
and rather surprisingly old versions of GCC didn't
reported any error or warning message.
to fix this issue you simply have to correctly
dereference the pointer by appending an asterisk
immediately before the pointer name, as in:
while (*p != '\0')
bye Sandro