[postgis-tickets] r15932 - Quiet strk's warnings?
Sandro Santilli
strk at kbt.io
Sat Oct 7 14:27:29 PDT 2017
On Sat, Oct 07, 2017 at 09:49:15AM -0700, Paul Ramsey wrote:
> Author: pramsey
> Date: 2017-10-07 09:49:14 -0700 (Sat, 07 Oct 2017)
> New Revision: 15932
>
> Modified:
> trunk/liblwgeom/ptarray.c
> Log:
> Quiet strk's warnings?
I don't see those warnings anymore. Other warnings I still see:
ptarray.c:1498:37: warning: ‘dsq’ may be used uninitialized in this
function [-Wmaybe-uninitialized]
if (last_point && tolerance > 0.0 && dsq <= tolsq)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
g_serialized.c: In function ‘gserialized_cmp’:
g_serialized.c:308:3: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
*(uint32_t*)(g1->data) == POINTTYPE &&
^
g_serialized.c:309:3: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
*(uint32_t*)(g2->data) == POINTTYPE &&
^
--strk;
More information about the postgis-tickets
mailing list