Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0.2: build fails with [-Wincompatible-pointer-types] error #1983

Open
kloczek opened this issue Feb 8, 2024 · 1 comment
Open

2.0.2: build fails with [-Wincompatible-pointer-types] error #1983

kloczek opened this issue Feb 8, 2024 · 1 comment

Comments

@kloczek
Copy link

kloczek commented Feb 8, 2024

With new glibc is possible to build with -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS which turns some warnings into errors.

+ cd shapely-2.0.2
+ ASMFLAGS='-m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security'
+ CFLAGS='-m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security'
+ CXXFLAGS='-m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security'
+ FFLAGS='-m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -I/usr/lib64/gfortran/modules'
+ FCFLAGS='-m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -I/usr/lib64/gfortran/modules'
+ LDFLAGS='-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--gc-sections -Wl,--as-needed -Wl,--build-id=sha1 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,pack-relative-relocs -flto=auto -fuse-linker-plugin'
+ RUSTFLAGS='-C codegen-units=1 -C debuginfo=2 -C opt-level=2 -C link-arg=-Wl,--as-needed -C link-arg=-Wl,--build-id=sha1 -C link-arg=-Wl,-z,now -C link-arg=-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -C link-arg=-Wl,-z,pack-relative-relocs -C link-arg=-Wl,-z,relro -C link-arg=-flto=auto --cap-lints=warn'
+ VALAFLAGS=-g
+ CC=/usr/bin/gcc
+ CXX=/usr/bin/g++
+ FC=/usr/bin/gfortran
+ AR=/usr/bin/gcc-ar
+ NM=/usr/bin/gcc-nm
+ RANLIB=/usr/bin/gcc-ranlib
+ export ASMFLAGS CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS VALAFLAGS CC CXX FC AR NM RANLIB RUSTFLAGS VALAFLAGS
+ PBR_VERSION=2.0.2
+ PDM_BUILD_SCM_VERSION=2.0.2
+ SETUPTOOLS_SCM_PRETEND_VERSION=2.0.2
+ /usr/bin/python3 -sBm build -w --no-isolation
* Getting build dependencies for wheel...
Compiling shapely/_geometry_helpers.pyx because it changed.
Compiling shapely/_geos.pyx because it changed.
[1/2] Cythonizing shapely/_geometry_helpers.pyx
[2/2] Cythonizing shapely/_geos.pyx
running egg_info
creating shapely.egg-info
writing shapely.egg-info/PKG-INFO
writing dependency_links to shapely.egg-info/dependency_links.txt
writing requirements to shapely.egg-info/requires.txt
writing top-level names to shapely.egg-info/top_level.txt
writing manifest file 'shapely.egg-info/SOURCES.txt'
dependency /usr/include/geos_c.h won't be automatically included in the manifest: the path must be relative
dependency /usr/include/geos_c.h won't be automatically included in the manifest: the path must be relative
reading manifest file 'shapely.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
<string>:8: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
no previously-included directories found matching 'docs'
warning: no previously-included files found matching '*.txt'
warning: no files found matching '*.py' under directory 'tests'
adding license file 'LICENSE.txt'
writing manifest file 'shapely.egg-info/SOURCES.txt'
* Building wheel...
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-38
creating build/lib.linux-x86_64-cpython-38/shapely
copying shapely/__init__.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/_enum.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/_geometry.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/_ragged_array.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/_version.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/affinity.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/constructive.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/coordinates.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/coords.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/creation.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/decorators.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/errors.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/geos.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/io.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/linear.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/measurement.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/ops.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/plotting.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/predicates.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/prepared.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/set_operations.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/speedups.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/strtree.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/testing.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/validation.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/wkb.py -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/wkt.py -> build/lib.linux-x86_64-cpython-38/shapely
creating build/lib.linux-x86_64-cpython-38/shapely/algorithms
copying shapely/algorithms/__init__.py -> build/lib.linux-x86_64-cpython-38/shapely/algorithms
copying shapely/algorithms/_oriented_envelope.py -> build/lib.linux-x86_64-cpython-38/shapely/algorithms
copying shapely/algorithms/cga.py -> build/lib.linux-x86_64-cpython-38/shapely/algorithms
copying shapely/algorithms/polylabel.py -> build/lib.linux-x86_64-cpython-38/shapely/algorithms
creating build/lib.linux-x86_64-cpython-38/shapely/geometry
copying shapely/geometry/__init__.py -> build/lib.linux-x86_64-cpython-38/shapely/geometry
copying shapely/geometry/base.py -> build/lib.linux-x86_64-cpython-38/shapely/geometry
copying shapely/geometry/collection.py -> build/lib.linux-x86_64-cpython-38/shapely/geometry
copying shapely/geometry/conftest.py -> build/lib.linux-x86_64-cpython-38/shapely/geometry
copying shapely/geometry/geo.py -> build/lib.linux-x86_64-cpython-38/shapely/geometry
copying shapely/geometry/linestring.py -> build/lib.linux-x86_64-cpython-38/shapely/geometry
copying shapely/geometry/multilinestring.py -> build/lib.linux-x86_64-cpython-38/shapely/geometry
copying shapely/geometry/multipoint.py -> build/lib.linux-x86_64-cpython-38/shapely/geometry
copying shapely/geometry/multipolygon.py -> build/lib.linux-x86_64-cpython-38/shapely/geometry
copying shapely/geometry/point.py -> build/lib.linux-x86_64-cpython-38/shapely/geometry
copying shapely/geometry/polygon.py -> build/lib.linux-x86_64-cpython-38/shapely/geometry
creating build/lib.linux-x86_64-cpython-38/shapely/tests
copying shapely/tests/__init__.py -> build/lib.linux-x86_64-cpython-38/shapely/tests
copying shapely/tests/common.py -> build/lib.linux-x86_64-cpython-38/shapely/tests
copying shapely/tests/test_constructive.py -> build/lib.linux-x86_64-cpython-38/shapely/tests
copying shapely/tests/test_coordinates.py -> build/lib.linux-x86_64-cpython-38/shapely/tests
copying shapely/tests/test_creation.py -> build/lib.linux-x86_64-cpython-38/shapely/tests
copying shapely/tests/test_creation_indices.py -> build/lib.linux-x86_64-cpython-38/shapely/tests
copying shapely/tests/test_geometry.py -> build/lib.linux-x86_64-cpython-38/shapely/tests
copying shapely/tests/test_io.py -> build/lib.linux-x86_64-cpython-38/shapely/tests
copying shapely/tests/test_linear.py -> build/lib.linux-x86_64-cpython-38/shapely/tests
copying shapely/tests/test_measurement.py -> build/lib.linux-x86_64-cpython-38/shapely/tests
copying shapely/tests/test_misc.py -> build/lib.linux-x86_64-cpython-38/shapely/tests
copying shapely/tests/test_plotting.py -> build/lib.linux-x86_64-cpython-38/shapely/tests
copying shapely/tests/test_predicates.py -> build/lib.linux-x86_64-cpython-38/shapely/tests
copying shapely/tests/test_ragged_array.py -> build/lib.linux-x86_64-cpython-38/shapely/tests
copying shapely/tests/test_set_operations.py -> build/lib.linux-x86_64-cpython-38/shapely/tests
copying shapely/tests/test_strtree.py -> build/lib.linux-x86_64-cpython-38/shapely/tests
copying shapely/tests/test_testing.py -> build/lib.linux-x86_64-cpython-38/shapely/tests
creating build/lib.linux-x86_64-cpython-38/shapely/vectorized
copying shapely/vectorized/__init__.py -> build/lib.linux-x86_64-cpython-38/shapely/vectorized
creating build/lib.linux-x86_64-cpython-38/shapely/tests/geometry
copying shapely/tests/geometry/__init__.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry
copying shapely/tests/geometry/test_collection.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry
copying shapely/tests/geometry/test_coords.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry
copying shapely/tests/geometry/test_decimal.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry
copying shapely/tests/geometry/test_emptiness.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry
copying shapely/tests/geometry/test_equality.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry
copying shapely/tests/geometry/test_format.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry
copying shapely/tests/geometry/test_geometry_base.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry
copying shapely/tests/geometry/test_hash.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry
copying shapely/tests/geometry/test_linestring.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry
copying shapely/tests/geometry/test_multi.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry
copying shapely/tests/geometry/test_multilinestring.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry
copying shapely/tests/geometry/test_multipoint.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry
copying shapely/tests/geometry/test_multipolygon.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry
copying shapely/tests/geometry/test_point.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry
copying shapely/tests/geometry/test_polygon.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry
creating build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/__init__.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/conftest.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_affinity.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_box.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_buffer.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_cga.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_clip_by_rect.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_create_inconsistent_dimensionality.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_delaunay.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_empty_polygons.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_equality.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_geointerface.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_invalid_geometries.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_linear_referencing.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_linemerge.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_locale.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_make_valid.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_mapping.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_minimum_clearance.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_ndarrays.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_nearest.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_operations.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_operators.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_orient.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_parallel_offset.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_persist.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_pickle.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_polygonize.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_polylabel.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_predicates.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_prepared.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_products_z.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_shape.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_shared_paths.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_singularity.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_snap.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_split.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_substring.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_svg.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_transform.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_union.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_validation.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_vectorized.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_voronoi_diagram.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_wkb.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/test_wkt.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/tests/legacy/threading_test.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/legacy
copying shapely/_geos.pxd -> build/lib.linux-x86_64-cpython-38/shapely
copying shapely/_pygeos_api.pxd -> build/lib.linux-x86_64-cpython-38/shapely
UPDATING build/lib.linux-x86_64-cpython-38/shapely/_version.py
set build/lib.linux-x86_64-cpython-38/shapely/_version.py to '2.0.2'
running build_ext
building 'shapely.lib' extension
creating build/temp.linux-x86_64-cpython-38
creating build/temp.linux-x86_64-cpython-38/src
/usr/bin/gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -fno-semantic-interposition -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -fno-semantic-interposition -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -fno-semantic-interposition -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -fPIC -I./src -I/usr/include -I/usr/include/python3.8 -I/usr/lib64/python3.8/site-packages/numpy/core/include -c src/c_api.c -o build/temp.linux-x86_64-cpython-38/src/c_api.o
/usr/bin/gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -fno-semantic-interposition -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -fno-semantic-interposition -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -fno-semantic-interposition -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -fPIC -I./src -I/usr/include -I/usr/include/python3.8 -I/usr/lib64/python3.8/site-packages/numpy/core/include -c src/coords.c -o build/temp.linux-x86_64-cpython-38/src/coords.o
/usr/bin/gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -fno-semantic-interposition -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -fno-semantic-interposition -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -fno-semantic-interposition -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -fPIC -I./src -I/usr/include -I/usr/include/python3.8 -I/usr/lib64/python3.8/site-packages/numpy/core/include -c src/geos.c -o build/temp.linux-x86_64-cpython-38/src/geos.o
/usr/bin/gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -fno-semantic-interposition -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -fno-semantic-interposition -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -fno-semantic-interposition -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -fPIC -I./src -I/usr/include -I/usr/include/python3.8 -I/usr/lib64/python3.8/site-packages/numpy/core/include -c src/lib.c -o build/temp.linux-x86_64-cpython-38/src/lib.o
/usr/bin/gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -fno-semantic-interposition -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -fno-semantic-interposition -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -fno-semantic-interposition -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -fPIC -I./src -I/usr/include -I/usr/include/python3.8 -I/usr/lib64/python3.8/site-packages/numpy/core/include -c src/pygeom.c -o build/temp.linux-x86_64-cpython-38/src/pygeom.o
/usr/bin/gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -fno-semantic-interposition -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -fno-semantic-interposition -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -fno-semantic-interposition -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -fPIC -I./src -I/usr/include -I/usr/include/python3.8 -I/usr/lib64/python3.8/site-packages/numpy/core/include -c src/strtree.c -o build/temp.linux-x86_64-cpython-38/src/strtree.o
In file included from src/strtree.c:18:
src/strtree.c: In function ‘query_nearest_distance_callback’:
src/kvec.h:61:25: warning: value computed is not used [-Wunused-value]
   61 | #define kv_pop(v) ((v).a[--(v).n])
      |                   ~~~~~~^~~~~~~~~~
src/strtree.c:557:7: note: in expansion of macro ‘kv_pop’
  557 |       kv_pop(*(params->dist_pairs));
      |       ^~~~~~
/usr/bin/gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -fno-semantic-interposition -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -fno-semantic-interposition -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -fno-semantic-interposition -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -fPIC -I./src -I/usr/include -I/usr/include/python3.8 -I/usr/lib64/python3.8/site-packages/numpy/core/include -c src/ufuncs.c -o build/temp.linux-x86_64-cpython-38/src/ufuncs.o
src/ufuncs.c: In function ‘Ydd_b_p_func’:
src/ufuncs.c:436:23: warning: passing argument 2 of ‘func’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  436 |       ret = func(ctx, prepared_geom_tmp, in2, in3);
      |                       ^~~~~~~~~~~~~~~~~
src/ufuncs.c:436:23: note: expected ‘void *’ but argument is of type ‘const GEOSPreparedGeometry *’ {aka ‘const struct GEOSPrepGeom_t *’}
src/ufuncs.c:400:17: warning: unused variable ‘geom’ [-Wunused-variable]
  400 |   GEOSGeometry *geom = NULL;
      |                 ^~~~
src/ufuncs.c: In function ‘Y_i_func’:
src/ufuncs.c:1192:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1192 |   int errcode = (int)((int**)data)[1];
      |                 ^
src/ufuncs.c:1193:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1193 |   int none_value = (int)((int**)data)[2];
      |                    ^
src/ufuncs.c: In function ‘polygonize_func’:
src/ufuncs.c:2205:51: error: passing argument 2 of ‘GEOSPolygonize_r’ from incompatible pointer type [-Wincompatible-pointer-types]
 2205 |     GEOSGeometry* ret_ptr = GEOSPolygonize_r(ctx, geoms, n_geoms);
      |                                                   ^~~~~
      |                                                   |
      |                                                   GEOSGeometry ** {aka struct GEOSGeom_t **}
In file included from src/geos.h:15,
                 from src/ufuncs.c:16:
/usr/include/geos_c.h:979:31: note: expected ‘const GEOSGeometry * const*’ {aka ‘const struct GEOSGeom_t * const*’} but argument is of type ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’}
  979 |     const GEOSGeometry *const geoms[],
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from src/ufuncs.c:15:
src/ufuncs.c: In function ‘linestrings_func’:
src/fast_loop_macros.h:83:21: warning: unused variable ‘i_c2’ [-Wunused-variable]
   83 |   npy_intp i, i_c1, i_c2;                                                  \
      |                     ^~~~
src/ufuncs.c:2533:3: note: in expansion of macro ‘DOUBLE_COREDIM_LOOP_OUTER’
 2533 |   DOUBLE_COREDIM_LOOP_OUTER {
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
src/fast_loop_macros.h:83:15: warning: unused variable ‘i_c1’ [-Wunused-variable]
   83 |   npy_intp i, i_c1, i_c2;                                                  \
      |               ^~~~
src/ufuncs.c:2533:3: note: in expansion of macro ‘DOUBLE_COREDIM_LOOP_OUTER’
 2533 |   DOUBLE_COREDIM_LOOP_OUTER {
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
src/fast_loop_macros.h:80:47: warning: unused variable ‘cp2’ [-Wunused-variable]
   80 |   char *ip1 = args[0], *op1 = args[1], *cp1, *cp2;                         \
      |                                               ^~~
src/ufuncs.c:2533:3: note: in expansion of macro ‘DOUBLE_COREDIM_LOOP_OUTER’
 2533 |   DOUBLE_COREDIM_LOOP_OUTER {
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
src/fast_loop_macros.h:80:41: warning: unused variable ‘cp1’ [-Wunused-variable]
   80 |   char *ip1 = args[0], *op1 = args[1], *cp1, *cp2;                         \
      |                                         ^~~
src/ufuncs.c:2533:3: note: in expansion of macro ‘DOUBLE_COREDIM_LOOP_OUTER’
 2533 |   DOUBLE_COREDIM_LOOP_OUTER {
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
src/ufuncs.c: In function ‘linearrings_func’:
src/fast_loop_macros.h:83:15: warning: unused variable ‘i_c1’ [-Wunused-variable]
   83 |   npy_intp i, i_c1, i_c2;                                                  \
      |               ^~~~
src/ufuncs.c:2588:3: note: in expansion of macro ‘DOUBLE_COREDIM_LOOP_OUTER’
 2588 |   DOUBLE_COREDIM_LOOP_OUTER {
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
src/ufuncs.c: In function ‘bounds_func’:
src/ufuncs.c:2874:7: warning: unused variable ‘size’ [-Wunused-variable]
 2874 |   int size;
      |       ^~~~
src/ufuncs.c:2873:28: warning: unused variable ‘coord_seq’ [-Wunused-variable]
 2873 |   const GEOSCoordSequence* coord_seq;
      |                            ^~~~~~~~~
src/ufuncs.c:2872:23: warning: unused variable ‘ring’ [-Wunused-variable]
 2872 |   const GEOSGeometry* ring;
      |                       ^~~~
<string>:8: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
error: command '/usr/bin/gcc' failed with exit code 1

ERROR Backend subprocess exited when trying to invoke build_wheel
@kloczek kloczek changed the title 2.0.2: build fails with [-Wincompatible-pointer-types] error 2.0.2: build fails with [-Wincompatible-pointer-types] error Feb 8, 2024
@jorisvandenbossche
Copy link
Member

Contributions to fix those compiler warnings are certainly welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants