[PostGIS] #5887: Does not comile with latest gcc
PostGIS
trac at osgeo.org
Sat Apr 26 09:09:30 PDT 2025
#5887: Does not comile with latest gcc
----------------------+---------------------------
Reporter: RekGRpth | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.5.3
Component: postgis | Version: master
Keywords: |
----------------------+---------------------------
{{{
#9 354.0 libtool: compile: gcc -I./../deps/ryu/.. -I/usr/include/webp
-I/usr/include/libxml2 -I/usr/include -I/usr/include/json-c -DNDEBUG -I.
-I. -std=gnu11 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC
-DPIC -I/usr/include -c topo/lwgeom_topo.c -fPIC -DPIC -o
topo/.libs/lwgeom_topo.o
#9 354.1 libtool: compile: gcc -I./../deps/ryu/.. -I/usr/include/webp
-I/usr/include/libxml2 -I/usr/include -I/usr/include/json-c -DNDEBUG -I.
-I. -std=gnu11 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC
-DPIC -I/usr/include -c lwgeom_geos_cluster.c -o lwgeom_geos_cluster.o
>/dev/null 2>&1
#9 354.1 libtool: compile: gcc -I./../deps/ryu/.. -I/usr/include/webp
-I/usr/include/libxml2 -I/usr/include -I/usr/include/json-c -DNDEBUG -I.
-I. -std=gnu11 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC
-DPIC -I/usr/include -c lwgeom_geos_split.c -o lwgeom_geos_split.o
>/dev/null 2>&1
#9 354.2 topo/lwgeom_topo.c: In function '_lwt_SnapEdge_checkMotion':
#9 354.2 topo/lwgeom_topo.c:5238:16: error: 'return' with a value, in
function returning void [-Wreturn-mismatch]
#9 354.2 5238 | return -1;
#9 354.2 | ^
#9 354.2 topo/lwgeom_topo.c:5203:1: note: declared here
#9 354.2 5203 | _lwt_SnapEdge_checkMotion( LWT_TOPOLOGY* topo, const
LWCOLLECTION *splitC, const LWT_ISO_EDGE *edge, LWT_ISO_EDGE
*existingEdge, const LWT_NODE_EDGES *splitNodeEdges )
#9 354.2 | ^~~~~~~~~~~~~~~~~~~~~~~~~
#9 354.2 topo/lwgeom_topo.c:5247:14: error: 'return' with a value, in
function returning void [-Wreturn-mismatch]
#9 354.2 5247 | return -1;
#9 354.2 | ^
#9 354.2 topo/lwgeom_topo.c:5203:1: note: declared here
#9 354.2 5203 | _lwt_SnapEdge_checkMotion( LWT_TOPOLOGY* topo, const
LWCOLLECTION *splitC, const LWT_ISO_EDGE *edge, LWT_ISO_EDGE
*existingEdge, const LWT_NODE_EDGES *splitNodeEdges )
#9 354.2 | ^~~~~~~~~~~~~~~~~~~~~~~~~
#9 354.2 topo/lwgeom_topo.c:5257:14: error: 'return' with a value, in
function returning void [-Wreturn-mismatch]
#9 354.2 5257 | return -1;
#9 354.2 | ^
#9 354.2 topo/lwgeom_topo.c:5203:1: note: declared here
#9 354.2 5203 | _lwt_SnapEdge_checkMotion( LWT_TOPOLOGY* topo, const
LWCOLLECTION *splitC, const LWT_ISO_EDGE *edge, LWT_ISO_EDGE
*existingEdge, const LWT_NODE_EDGES *splitNodeEdges )
#9 354.2 | ^~~~~~~~~~~~~~~~~~~~~~~~~
#9 354.2 topo/lwgeom_topo.c:5267:14: error: 'return' with a value, in
function returning void [-Wreturn-mismatch]
#9 354.2 5267 | return -1;
#9 354.2 | ^
#9 354.2 topo/lwgeom_topo.c:5203:1: note: declared here
#9 354.2 5203 | _lwt_SnapEdge_checkMotion( LWT_TOPOLOGY* topo, const
LWCOLLECTION *splitC, const LWT_ISO_EDGE *edge, LWT_ISO_EDGE
*existingEdge, const LWT_NODE_EDGES *splitNodeEdges )
#9 354.2 | ^~~~~~~~~~~~~~~~~~~~~~~~~
#9 354.2 topo/lwgeom_topo.c:5277:14: error: 'return' with a value, in
function returning void [-Wreturn-mismatch]
#9 354.2 5277 | return -1;
#9 354.2 | ^
#9 354.2 topo/lwgeom_topo.c:5203:1: note: declared here
#9 354.2 5203 | _lwt_SnapEdge_checkMotion( LWT_TOPOLOGY* topo, const
LWCOLLECTION *splitC, const LWT_ISO_EDGE *edge, LWT_ISO_EDGE
*existingEdge, const LWT_NODE_EDGES *splitNodeEdges )
#9 354.2 | ^~~~~~~~~~~~~~~~~~~~~~~~~
#9 354.3 make[1]: *** [Makefile:232: topo/lwgeom_topo.lo] Error 1
#9 354.3 make[1]: *** Waiting for unfinished jobs....
#9 355.1 libtool: compile: gcc -I./../deps/ryu/.. -I/usr/include/webp
-I/usr/include/libxml2 -I/usr/include -I/usr/include/json-c -DNDEBUG -I.
-I. -std=gnu11 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC
-DPIC -I/usr/include -c lwgeom_geos.c -o lwgeom_geos.o >/dev/null 2>&1
#9 356.6 make[1]: Leaving directory
'/var/lib/postgresql/src/postgis/liblwgeom'
#9 356.6 make: *** [GNUmakefile:36: all] Error 1
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5887>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list