-
Notifications
You must be signed in to change notification settings - Fork 398
Description
I just purchased a new macbook pro and decided to use the opportunity to upgrade to Python 3. However, I'm having a set of apparently GEOS-related errors when installing basemap and I'm unable to figure out how to solve them.
Here were the steps I took:
brew install proj
brew install geos
pip install git+https://github.com/jswhit/pyproj.git
I also tried to make sure the correct version of GEOS was being used after getting an error (per this thread: #414):
rm -rf $SRC_DIR/geos-3.7.0
export GEOS_DIR=$PREFIX
Here is what I get when I try to install basemap via pip install https://github.com/matplotlib/basemap/archive/v1.1.0.tar.gz:
Collecting https://github.com/matplotlib/basemap/archive/v1.1.0.tar.gz
Downloading https://github.com/matplotlib/basemap/archive/v1.1.0.tar.gz
| 165.5MB 13.9MB/s
Requirement already satisfied: numpy>=1.2.1 in /usr/local/lib/python3.7/site-packages (from basemap==1.1.0) (1.15.3)
Requirement already satisfied: matplotlib>=1.0.0 in /usr/local/lib/python3.7/site-packages (from basemap==1.1.0) (3.0.1)
Requirement already satisfied: pyproj>=1.9.3 in /usr/local/lib/python3.7/site-packages (from basemap==1.1.0) (1.9.5.1)
Requirement already satisfied: pyshp>=1.2.0 in /usr/local/lib/python3.7/site-packages (from basemap==1.1.0) (1.2.12)
Requirement already satisfied: python-dateutil>=2.1 in /usr/local/lib/python3.7/site-packages (from matplotlib>=1.0.0->basemap==1.1.0) (2.7.5)
Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.7/site-packages (from matplotlib>=1.0.0->basemap==1.1.0) (0.10.0)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /usr/local/lib/python3.7/site-packages (from matplotlib>=1.0.0->basemap==1.1.0) (2.3.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.7/site-packages (from matplotlib>=1.0.0->basemap==1.1.0) (1.0.1)
Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.7/site-packages (from python-dateutil>=2.1->matplotlib>=1.0.0->basemap==1.1.0) (1.11.0)
Requirement already satisfied: setuptools in /usr/local/lib/python3.7/site-packages (from kiwisolver>=1.0.1->matplotlib>=1.0.0->basemap==1.1.0) (40.4.3)
Building wheels for collected packages: basemap
Running setup.py bdist_wheel for basemap ... error
Complete output from command /usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;file='/private/var/folders/q7/0ch63xb51csb87w6d18_xdhw0000gn/T/pip-req-build-hm07gt4n/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /private/var/folders/q7/0ch63xb51csb87w6d18_xdhw0000gn/T/pip-wheel-lzmdneo0 --python-tag cp37:
running bdist_wheel
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building extension "_geoslib" sources
build_src: building npy-pkg config files
running build_py
creating build
creating build/lib.macosx-10.13-x86_64-3.7
creating build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits
copying lib/mpl_toolkits/init.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits
creating build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/cm.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/init.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/test.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/diagnostic.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/proj.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/solar.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
creating build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_2.5min_c.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/UScounties.dbf -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/rivers_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/statesmeta_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/statesmeta_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/statesmeta_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_2.5min_f.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/rivers_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/rivers_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/riversmeta_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/states_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_10min_c.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countries_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhs_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_1.25min_i.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhsmeta_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countriesmeta_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countriesmeta_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_5min_c.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_1.25min_h.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_1.25min_l.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhsmeta_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countriesmeta_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_5min_f.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhsmeta_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/UScounties.shx -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/riversmeta_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/states_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_10min_f.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhs_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countries_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countries_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/riversmeta_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/UScounties.shp -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_1.25min_c.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhsmeta_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_5min_h.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countriesmeta_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_5min_i.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/riversmeta_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/states_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_10min_i.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countries_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhs_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_10min_h.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/states_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/shadedrelief.jpg -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/riversmeta_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/states_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_10min_l.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhs_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countries_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhs_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_1.25min_f.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhsmeta_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countriesmeta_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_5min_l.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/statesmeta_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/bmng.jpg -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_2.5min_i.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/rivers_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_2.5min_h.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_2.5min_l.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/rivers_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/etopo1.jpg -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/UScounties.prj -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/statesmeta_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building '_geoslib' extension
compiling C sources
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers
creating build/temp.macosx-10.13-x86_64-3.7/src
compile options: '-Iinclude -I['/usr/local/lib/python3.7/site-packages/numpy/core/include'] -I/usr/local/lib/python3.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c'
clang: src/_geoslib.c
In file included from src/_geoslib.c:247:
In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1821:
/usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by "
^
src/_geoslib.c:1139:31: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_valid = GEOSisValid(__pyx_v_self->_geom);
^~~~~~~~~~~~~~~~~~~
*
/usr/local/include/geos_c.h:1924:54: note: passing argument to parameter 'g' here
extern char GEOS_DLL GEOSisValid(const GEOSGeometry g);
^
src/_geoslib.c:1239:47: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_1 = PyBytes_FromString(GEOSGeomType(__pyx_v_self->_geom)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~~~~~~~~~~~~~
*
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL GEOSGeomType(const GEOSGeometry g);
^
src/_geoslib.c:1330:31: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry ' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_answer = GEOSWithin(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1749:53: note: passing argument to parameter 'g1' here
extern char GEOS_DLL GEOSWithin(const GEOSGeometry g1, const GEOSGeometry g2);
^
src/_geoslib.c:1330:43: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry ' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_answer = GEOSWithin(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1749:77: note: passing argument to parameter 'g2' here
extern char GEOS_DLL GEOSWithin(const GEOSGeometry g1, const GEOSGeometry g2);
^
src/_geoslib.c:1468:26: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1601:61: note: passing argument to parameter 'g1' here
extern GEOSGeometry GEOS_DLL GEOSUnion(const GEOSGeometry g1, const GEOSGeometry g2);
^
src/_geoslib.c:1468:38: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1601:85: note: passing argument to parameter 'g2' here
extern GEOSGeometry GEOS_DLL GEOSUnion(const GEOSGeometry g1, const GEOSGeometry g2);
^
src/_geoslib.c:1468:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1477:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry g);
^
src/_geoslib.c:1592:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry g);
^
src/_geoslib.c:1601:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:1601:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1658:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry g);
^
src/_geoslib.c:1667:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:1667:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1716:49: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_2 = PyBytes_FromString(GEOSGeomType(__pyx_v_g3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 194; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL GEOSGeomType(const GEOSGeometry g);
^
src/_geoslib.c:1751:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry g);
^
src/_geoslib.c:1857:29: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSSimplify(__pyx_v_g1, __pyx_v_tolerance);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1649:64: note: passing argument to parameter 'g' here
extern GEOSGeometry GEOS_DLL GEOSSimplify(const GEOSGeometry g, double tolerance);
^
src/_geoslib.c:1857:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSSimplify(__pyx_v_g1, __pyx_v_tolerance);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1866:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry g);
^
src/_geoslib.c:1981:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry g);
^
src/_geoslib.c:1990:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:1990:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2047:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry g);
^
src/_geoslib.c:2056:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:2056:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2105:49: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_3 = PyBytes_FromString(GEOSGeomType(__pyx_v_g3)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 227; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL GEOSGeomType(const GEOSGeometry g);
^
src/_geoslib.c:2140:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry g);
^
src/_geoslib.c:2234:27: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSBuffer(__pyx_v_g1, 0., 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1451:62: note: passing argument to parameter 'g' here
extern GEOSGeometry GEOS_DLL GEOSBuffer(const GEOSGeometry g,
^
src/_geoslib.c:2234:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSBuffer(__pyx_v_g1, 0., 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2243:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry g);
^
src/_geoslib.c:2358:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry g);
^
src/_geoslib.c:2367:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:2367:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2424:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry g);
^
src/_geoslib.c:2433:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:2433:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2482:49: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_2 = PyBytes_FromString(GEOSGeomType(__pyx_v_g3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 258; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL GEOSGeomType(const GEOSGeometry g);
^
src/_geoslib.c:2517:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry g);
^
src/_geoslib.c:2620:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry ' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_answer = GEOSIntersects(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1747:57: note: passing argument to parameter 'g1' here
extern char GEOS_DLL GEOSIntersects(const GEOSGeometry g1, const GEOSGeometry g2);
^
src/_geoslib.c:2620:47: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry ' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_answer = GEOSIntersects(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1747:81: note: passing argument to parameter 'g2' here
extern char GEOS_DLL GEOSIntersects(const GEOSGeometry g1, const GEOSGeometry g2);
^
src/_geoslib.c:2761:33: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1554:68: note: passing argument to parameter 'g1' here
extern GEOSGeometry GEOS_DLL GEOSIntersection(const GEOSGeometry g1, const GEOSGeometry g2);
^
src/_geoslib.c:2761:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1554:92: note: passing argument to parameter 'g2' here
extern GEOSGeometry GEOS_DLL GEOSIntersection(const GEOSGeometry g1, const GEOSGeometry g2);
^
src/_geoslib.c:2761:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2770:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry g);
^
src/_geoslib.c:2915:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry g);
^
src/_geoslib.c:2946:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:2946:20: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3013:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry g);
^
src/_geoslib.c:3044:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:3044:20: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3103:22: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry g);
^
src/_geoslib.c:3128:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry g);
^
src/_geoslib.c:3258:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_self->_geom);
^~~~~~~~~~~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry g);
^
src/_geoslib.c:3683:14: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSCoordSeq_create(__pyx_v_M, 2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3729:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setX(__pyx_v_cs, __pyx_v_i, __pyx_v_dx);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence s,
^
src/_geoslib.c:3738:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setY(__pyx_v_cs, __pyx_v_i, __pyx_v_dy);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence s,
^
src/_geoslib.c:3776:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setX(__pyx_v_cs, (__pyx_v_M - 1), __pyx_v_dx);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence s,
^
src/_geoslib.c:3785:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setY(__pyx_v_cs, (__pyx_v_M - 1), __pyx_v_dy);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence s,
^
src/_geoslib.c:3803:42: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_lr = GEOSGeom_createLinearRing(__pyx_v_cs);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1521:76: note: passing argument to parameter 's' here
extern GEOSGeometry GEOS_DLL GEOSGeom_createLinearRing(GEOSCoordSequence s);
^
src/_geoslib.c:3803:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_lr = GEOSGeom_createLinearRing(__pyx_v_cs);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3812:59: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createPolygon(__pyx_v_lr, NULL, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1531:68: note: passing argument to parameter 'shell' here
extern GEOSGeometry GEOS_DLL GEOSGeom_createPolygon(GEOSGeometry shell,
^
src/_geoslib.c:3812:34: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createPolygon(__pyx_v_lr, NULL, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3888:12: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSArea(__pyx_v_self->__pyx_base._geom, (&__pyx_v_area));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
/usr/local/include/geos_c.h:2055:50: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSArea(const GEOSGeometry g, double *area);
^
src/_geoslib.c:4090:14: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSCoordSeq_create(__pyx_v_M, 2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4136:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setX(__pyx_v_cs, __pyx_v_i, __pyx_v_dx);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence s,
^
src/_geoslib.c:4145:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setY(__pyx_v_cs, __pyx_v_i, __pyx_v_dy);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence s,
^
src/_geoslib.c:4155:62: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createLineString(__pyx_v_cs);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1522:76: note: passing argument to parameter 's' here
extern GEOSGeometry GEOS_DLL GEOSGeom_createLineString(GEOSCoordSequence s);
^
src/_geoslib.c:4155:34: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createLineString(__pyx_v_cs);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4273:14: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSCoordSeq_create(1, 2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4300:21: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setX(__pyx_v_cs, 0, __pyx_v_dx);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence s,
^
src/_geoslib.c:4309:21: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setY(__pyx_v_cs, 0, __pyx_v_dy);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence s,
^
src/_geoslib.c:4318:57: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createPoint(__pyx_v_cs);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1519:71: note: passing argument to parameter 's' here
extern GEOSGeometry GEOS_DLL GEOSGeom_createPoint(GEOSCoordSequence s);
^
src/_geoslib.c:4318:34: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createPoint(__pyx_v_cs);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4584:32: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_t_1 = ((GEOSGeomTypeId(__pyx_v_geom) == GEOS_POLYGON) != 0);
^~~~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry g);
^
src/_geoslib.c:4594:38: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_lr = GEOSGetExteriorRing(__pyx_v_geom);
^~~~~~~~~~~~
*
/usr/local/include/geos_c.h:2011:77: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetExteriorRing(const GEOSGeometry g);
^
src/_geoslib.c:4594:16: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_lr = GEOSGetExteriorRing(__pyx_v_geom);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4603:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_lr);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:2020:83: note: passing argument to parameter 'g' here
extern const GEOSCoordSequence GEOS_DLL GEOSGeom_getCoordSeq(const GEOSGeometry g);
^
src/_geoslib.c:4603:16: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_lr);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4623:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_geom);
^~~~~~~~~~~~
*
/usr/local/include/geos_c.h:2020:83: note: passing argument to parameter 'g' here
extern const GEOSCoordSequence GEOS_DLL GEOSGeom_getCoordSeq(const GEOSGeometry g);
^
src/_geoslib.c:4623:16: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_geom);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4634:24: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_getSize(__pyx_v_cs, (&__pyx_v_M));
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1403:67: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_getSize(const GEOSCoordSequence s,
^
src/_geoslib.c:4720:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_getX(__pyx_v_cs, __pyx_v_i, (&__pyx_v_dx));
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1391:64: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_getX(const GEOSCoordSequence s,
^
src/_geoslib.c:4729:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_getY(__pyx_v_cs, __pyx_v_i, (&__pyx_v_dy));
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1393:64: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_getY(const GEOSCoordSequence s,
^
src/_geoslib.c:5485:12: warning: incompatible pointer types passing 'void (char *, char )' to parameter of type 'GEOSMessageHandler' (aka 'void ()(const char *, ...)') [-Wincompatible-pointer-types]
initGEOS(__pyx_f_8_geoslib_notice_h, __pyx_f_8_geoslib_error_h);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/geos_c.h:1316:50: note: passing argument to parameter 'notice_function' here
extern void GEOS_DLL initGEOS(GEOSMessageHandler notice_function,
^
src/_geoslib.c:5485:40: warning: incompatible pointer types passing 'void (char *, char )' to parameter of type 'GEOSMessageHandler' (aka 'void ()(const char *, ...)') [-Wincompatible-pointer-types]
initGEOS(__pyx_f_8_geoslib_notice_h, __pyx_f_8_geoslib_error_h);
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/geos_c.h:1317:24: note: passing argument to parameter 'error_function' here
GEOSMessageHandler error_function);
^
src/_geoslib.c:5552:21: error: no member named 'exc_type' in 'struct _ts'
*type = tstate->exc_type;
~~~~~~ ^
src/_geoslib.c:5553:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5554:19: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/_geoslib.c:5566:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
src/_geoslib.c:5567:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5568:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/_geoslib.c:5569:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = type;
~~~~~~ ^
src/_geoslib.c:5570:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5571:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/_geoslib.c:5614:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
src/_geoslib.c:5615:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5616:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/_geoslib.c:5617:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = local_type;
~~~~~~ ^
src/_geoslib.c:5618:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = local_value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5619:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = local_tb;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
86 warnings and 15 errors generated.
In file included from src/_geoslib.c:247:
In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1821:
/usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by "
^
src/_geoslib.c:1139:31: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_valid = GEOSisValid(__pyx_v_self->_geom);
^~~~~~~~~~~~~~~~~~~
*
/usr/local/include/geos_c.h:1924:54: note: passing argument to parameter 'g' here
extern char GEOS_DLL GEOSisValid(const GEOSGeometry g);
^
src/_geoslib.c:1239:47: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_1 = PyBytes_FromString(GEOSGeomType(__pyx_v_self->_geom)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~~~~~~~~~~~~~
*
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL GEOSGeomType(const GEOSGeometry g);
^
src/_geoslib.c:1330:31: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry ' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_answer = GEOSWithin(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1749:53: note: passing argument to parameter 'g1' here
extern char GEOS_DLL GEOSWithin(const GEOSGeometry g1, const GEOSGeometry g2);
^
src/_geoslib.c:1330:43: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry ' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_answer = GEOSWithin(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1749:77: note: passing argument to parameter 'g2' here
extern char GEOS_DLL GEOSWithin(const GEOSGeometry g1, const GEOSGeometry g2);
^
src/_geoslib.c:1468:26: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1601:61: note: passing argument to parameter 'g1' here
extern GEOSGeometry GEOS_DLL GEOSUnion(const GEOSGeometry g1, const GEOSGeometry g2);
^
src/_geoslib.c:1468:38: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1601:85: note: passing argument to parameter 'g2' here
extern GEOSGeometry GEOS_DLL GEOSUnion(const GEOSGeometry g1, const GEOSGeometry g2);
^
src/_geoslib.c:1468:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1477:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry g);
^
src/_geoslib.c:1592:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry g);
^
src/_geoslib.c:1601:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:1601:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1658:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry g);
^
src/_geoslib.c:1667:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:1667:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1716:49: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_2 = PyBytes_FromString(GEOSGeomType(__pyx_v_g3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 194; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL GEOSGeomType(const GEOSGeometry g);
^
src/_geoslib.c:1751:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry g);
^
src/_geoslib.c:1857:29: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSSimplify(__pyx_v_g1, __pyx_v_tolerance);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1649:64: note: passing argument to parameter 'g' here
extern GEOSGeometry GEOS_DLL GEOSSimplify(const GEOSGeometry g, double tolerance);
^
src/_geoslib.c:1857:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSSimplify(__pyx_v_g1, __pyx_v_tolerance);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1866:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry g);
^
src/_geoslib.c:1981:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry g);
^
src/_geoslib.c:1990:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:1990:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2047:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry g);
^
src/_geoslib.c:2056:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:2056:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2105:49: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_3 = PyBytes_FromString(GEOSGeomType(__pyx_v_g3)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 227; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL GEOSGeomType(const GEOSGeometry g);
^
src/_geoslib.c:2140:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry g);
^
src/_geoslib.c:2234:27: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSBuffer(__pyx_v_g1, 0., 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1451:62: note: passing argument to parameter 'g' here
extern GEOSGeometry GEOS_DLL GEOSBuffer(const GEOSGeometry g,
^
src/_geoslib.c:2234:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSBuffer(__pyx_v_g1, 0., 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2243:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry g);
^
src/_geoslib.c:2358:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry g);
^
src/_geoslib.c:2367:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:2367:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2424:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry g);
^
src/_geoslib.c:2433:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:2433:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2482:49: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_2 = PyBytes_FromString(GEOSGeomType(__pyx_v_g3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 258; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL GEOSGeomType(const GEOSGeometry g);
^
src/_geoslib.c:2517:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry g);
^
src/_geoslib.c:2620:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry ' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_answer = GEOSIntersects(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1747:57: note: passing argument to parameter 'g1' here
extern char GEOS_DLL GEOSIntersects(const GEOSGeometry g1, const GEOSGeometry g2);
^
src/_geoslib.c:2620:47: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry ' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_answer = GEOSIntersects(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1747:81: note: passing argument to parameter 'g2' here
extern char GEOS_DLL GEOSIntersects(const GEOSGeometry g1, const GEOSGeometry g2);
^
src/_geoslib.c:2761:33: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1554:68: note: passing argument to parameter 'g1' here
extern GEOSGeometry GEOS_DLL GEOSIntersection(const GEOSGeometry g1, const GEOSGeometry g2);
^
src/_geoslib.c:2761:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1554:92: note: passing argument to parameter 'g2' here
extern GEOSGeometry GEOS_DLL GEOSIntersection(const GEOSGeometry g1, const GEOSGeometry g2);
^
src/_geoslib.c:2761:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2770:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry g);
^
src/_geoslib.c:2915:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry g);
^
src/_geoslib.c:2946:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:2946:20: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3013:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry g);
^
src/_geoslib.c:3044:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetGeometryN(const GEOSGeometry g, int n);
^
src/_geoslib.c:3044:20: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3103:22: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry g);
^
src/_geoslib.c:3128:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry g);
^
src/_geoslib.c:3258:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_self->_geom);
^~~~~~~~~~~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry g);
^
src/_geoslib.c:3683:14: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSCoordSeq_create(__pyx_v_M, 2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3729:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setX(__pyx_v_cs, __pyx_v_i, __pyx_v_dx);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence s,
^
src/_geoslib.c:3738:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setY(__pyx_v_cs, __pyx_v_i, __pyx_v_dy);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence s,
^
src/_geoslib.c:3776:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setX(__pyx_v_cs, (__pyx_v_M - 1), __pyx_v_dx);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence s,
^
src/_geoslib.c:3785:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setY(__pyx_v_cs, (__pyx_v_M - 1), __pyx_v_dy);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence s,
^
src/_geoslib.c:3803:42: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_lr = GEOSGeom_createLinearRing(__pyx_v_cs);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1521:76: note: passing argument to parameter 's' here
extern GEOSGeometry GEOS_DLL GEOSGeom_createLinearRing(GEOSCoordSequence s);
^
src/_geoslib.c:3803:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_lr = GEOSGeom_createLinearRing(__pyx_v_cs);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3812:59: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createPolygon(__pyx_v_lr, NULL, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1531:68: note: passing argument to parameter 'shell' here
extern GEOSGeometry GEOS_DLL GEOSGeom_createPolygon(GEOSGeometry shell,
^
src/_geoslib.c:3812:34: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createPolygon(__pyx_v_lr, NULL, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3888:12: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
GEOSArea(__pyx_v_self->__pyx_base._geom, (&__pyx_v_area));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
/usr/local/include/geos_c.h:2055:50: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSArea(const GEOSGeometry g, double *area);
^
src/_geoslib.c:4090:14: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSCoordSeq_create(__pyx_v_M, 2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4136:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setX(__pyx_v_cs, __pyx_v_i, __pyx_v_dx);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence s,
^
src/_geoslib.c:4145:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setY(__pyx_v_cs, __pyx_v_i, __pyx_v_dy);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence s,
^
src/_geoslib.c:4155:62: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createLineString(__pyx_v_cs);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1522:76: note: passing argument to parameter 's' here
extern GEOSGeometry GEOS_DLL GEOSGeom_createLineString(GEOSCoordSequence s);
^
src/_geoslib.c:4155:34: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createLineString(__pyx_v_cs);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4273:14: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSCoordSeq_create(1, 2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4300:21: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setX(__pyx_v_cs, 0, __pyx_v_dx);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence s,
^
src/_geoslib.c:4309:21: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setY(__pyx_v_cs, 0, __pyx_v_dy);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence s,
^
src/_geoslib.c:4318:57: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createPoint(__pyx_v_cs);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1519:71: note: passing argument to parameter 's' here
extern GEOSGeometry GEOS_DLL GEOSGeom_createPoint(GEOSCoordSequence s);
^
src/_geoslib.c:4318:34: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createPoint(__pyx_v_cs);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4584:32: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t '); dereference with * [-Wincompatible-pointer-types]
__pyx_t_1 = ((GEOSGeomTypeId(__pyx_v_geom) == GEOS_POLYGON) != 0);
^~~~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry g);
^
src/_geoslib.c:4594:38: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_lr = GEOSGetExteriorRing(__pyx_v_geom);
^~~~~~~~~~~~
*
/usr/local/include/geos_c.h:2011:77: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL GEOSGetExteriorRing(const GEOSGeometry g);
^
src/_geoslib.c:4594:16: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_lr = GEOSGetExteriorRing(__pyx_v_geom);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4603:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_lr);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:2020:83: note: passing argument to parameter 'g' here
extern const GEOSCoordSequence GEOS_DLL GEOSGeom_getCoordSeq(const GEOSGeometry g);
^
src/_geoslib.c:4603:16: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_lr);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4623:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_geom);
^~~~~~~~~~~~
*
/usr/local/include/geos_c.h:2020:83: note: passing argument to parameter 'g' here
extern const GEOSCoordSequence GEOS_DLL GEOSGeom_getCoordSeq(const GEOSGeometry g);
^
src/_geoslib.c:4623:16: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_geom);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4634:24: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_getSize(__pyx_v_cs, (&__pyx_v_M));
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1403:67: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_getSize(const GEOSCoordSequence s,
^
src/_geoslib.c:4720:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_getX(__pyx_v_cs, __pyx_v_i, (&__pyx_v_dx));
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1391:64: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_getX(const GEOSCoordSequence s,
^
src/_geoslib.c:4729:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t '); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_getY(__pyx_v_cs, __pyx_v_i, (&__pyx_v_dy));
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1393:64: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_getY(const GEOSCoordSequence s,
^
src/_geoslib.c:5485:12: warning: incompatible pointer types passing 'void (char *, char )' to parameter of type 'GEOSMessageHandler' (aka 'void ()(const char *, ...)') [-Wincompatible-pointer-types]
initGEOS(__pyx_f_8_geoslib_notice_h, __pyx_f_8_geoslib_error_h);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/geos_c.h:1316:50: note: passing argument to parameter 'notice_function' here
extern void GEOS_DLL initGEOS(GEOSMessageHandler notice_function,
^
src/_geoslib.c:5485:40: warning: incompatible pointer types passing 'void (char *, char )' to parameter of type 'GEOSMessageHandler' (aka 'void ()(const char *, ...)') [-Wincompatible-pointer-types]
initGEOS(__pyx_f_8_geoslib_notice_h, __pyx_f_8_geoslib_error_h);
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/geos_c.h:1317:24: note: passing argument to parameter 'error_function' here
GEOSMessageHandler error_function);
^
src/_geoslib.c:5552:21: error: no member named 'exc_type' in 'struct _ts'
*type = tstate->exc_type;
~~~~~~ ^
src/_geoslib.c:5553:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5554:19: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/_geoslib.c:5566:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
src/_geoslib.c:5567:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5568:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/_geoslib.c:5569:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = type;
~~~~~~ ^
src/_geoslib.c:5570:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5571:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/_geoslib.c:5614:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
src/_geoslib.c:5615:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5616:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/_geoslib.c:5617:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = local_type;
~~~~~~ ^
src/_geoslib.c:5618:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = local_value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5619:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = local_tb;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
86 warnings and 15 errors generated.
error: Command "clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Iinclude -I['/usr/local/lib/python3.7/site-packages/numpy/core/include'] -I/usr/local/lib/python3.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/_geoslib.c -o build/temp.macosx-10.13-x86_64-3.7/src/_geoslib.o -MMD -MF build/temp.macosx-10.13-x86_64-3.7/src/_geoslib.o.d" failed with exit status 1
Failed building wheel for basemap
Running setup.py clean for basemap
Failed to build basemap
Installing collected packages: basemap
Running setup.py install for basemap ... error
Complete output from command /usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;file='/private/var/folders/q7/0ch63xb51csb87w6d18_xdhw0000gn/T/pip-req-build-hm07gt4n/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/q7/0ch63xb51csb87w6d18_xdhw0000gn/T/pip-record-dnwvlp1x/install-record.txt --single-version-externally-managed --compile:
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building extension "_geoslib" sources
build_src: building npy-pkg config files
running build_py
creating build
creating build/lib.macosx-10.13-x86_64-3.7
creating build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits
copying lib/mpl_toolkits/init.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits
creating build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/cm.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/init.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/test.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/diagnostic.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/proj.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
copying lib/mpl_toolkits/basemap/solar.py -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap
creating build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_2.5min_c.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/UScounties.dbf -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/rivers_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/statesmeta_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/statesmeta_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/statesmeta_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_2.5min_f.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/rivers_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/rivers_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/riversmeta_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/states_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_10min_c.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countries_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhs_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_1.25min_i.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhsmeta_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countriesmeta_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countriesmeta_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_5min_c.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_1.25min_h.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_1.25min_l.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhsmeta_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countriesmeta_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_5min_f.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhsmeta_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/UScounties.shx -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/riversmeta_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/states_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_10min_f.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhs_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countries_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countries_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/riversmeta_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/UScounties.shp -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_1.25min_c.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhsmeta_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_5min_h.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countriesmeta_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_5min_i.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/riversmeta_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/states_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_10min_i.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countries_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhs_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_10min_h.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/states_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/shadedrelief.jpg -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/riversmeta_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/states_l.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_10min_l.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhs_i.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countries_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhs_h.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_1.25min_f.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/gshhsmeta_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/countriesmeta_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_5min_l.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/statesmeta_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/bmng.jpg -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_2.5min_i.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/rivers_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_2.5min_h.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/lsmask_2.5min_l.bin -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/rivers_c.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/etopo1.jpg -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/UScounties.prj -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
copying lib/mpl_toolkits/basemap/data/statesmeta_f.dat -> build/lib.macosx-10.13-x86_64-3.7/mpl_toolkits/basemap/data
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building '_geoslib' extension
compiling C sources
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers
creating build/temp.macosx-10.13-x86_64-3.7/src
compile options: '-Iinclude -I['/usr/local/lib/python3.7/site-packages/numpy/core/include'] -I/usr/local/lib/python3.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c'
clang: src/_geoslib.c
In file included from src/_geoslib.c:247:
In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1821:
/usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
^
src/_geoslib.c:1139:31: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_valid = GEOSisValid(__pyx_v_self->_geom);
^~~~~~~~~~~~~~~~~~~
*
/usr/local/include/geos_c.h:1924:54: note: passing argument to parameter 'g' here
extern char GEOS_DLL GEOSisValid(const GEOSGeometry* g);
^
src/_geoslib.c:1239:47: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_1 = PyBytes_FromString(GEOSGeomType(__pyx_v_self->_geom)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
^~~~~~~~~~~~~~~~~~~
*
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL *GEOSGeomType(const GEOSGeometry* g);
^
src/_geoslib.c:1330:31: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_answer = GEOSWithin(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1749:53: note: passing argument to parameter 'g1' here
extern char GEOS_DLL GEOSWithin(const GEOSGeometry* g1, const GEOSGeometry* g2);
^
src/_geoslib.c:1330:43: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_answer = GEOSWithin(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1749:77: note: passing argument to parameter 'g2' here
extern char GEOS_DLL GEOSWithin(const GEOSGeometry* g1, const GEOSGeometry* g2);
^
src/_geoslib.c:1468:26: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1601:61: note: passing argument to parameter 'g1' here
extern GEOSGeometry GEOS_DLL *GEOSUnion(const GEOSGeometry* g1, const GEOSGeometry* g2);
^
src/_geoslib.c:1468:38: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1601:85: note: passing argument to parameter 'g2' here
extern GEOSGeometry GEOS_DLL *GEOSUnion(const GEOSGeometry* g1, const GEOSGeometry* g2);
^
src/_geoslib.c:1468:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1477:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry* g);
^
src/_geoslib.c:1592:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
^
src/_geoslib.c:1601:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
^
src/_geoslib.c:1601:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1658:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
^
src/_geoslib.c:1667:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
^
src/_geoslib.c:1667:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1716:49: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_2 = PyBytes_FromString(GEOSGeomType(__pyx_v_g3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL *GEOSGeomType(const GEOSGeometry* g);
^
src/_geoslib.c:1751:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
^
src/_geoslib.c:1857:29: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSSimplify(__pyx_v_g1, __pyx_v_tolerance);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1649:64: note: passing argument to parameter 'g' here
extern GEOSGeometry GEOS_DLL *GEOSSimplify(const GEOSGeometry* g, double tolerance);
^
src/_geoslib.c:1857:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSSimplify(__pyx_v_g1, __pyx_v_tolerance);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1866:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry* g);
^
src/_geoslib.c:1981:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
^
src/_geoslib.c:1990:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
^
src/_geoslib.c:1990:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2047:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
^
src/_geoslib.c:2056:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
^
src/_geoslib.c:2056:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2105:49: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_3 = PyBytes_FromString(GEOSGeomType(__pyx_v_g3)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 227; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL *GEOSGeomType(const GEOSGeometry* g);
^
src/_geoslib.c:2140:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
^
src/_geoslib.c:2234:27: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSBuffer(__pyx_v_g1, 0., 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1451:62: note: passing argument to parameter 'g' here
extern GEOSGeometry GEOS_DLL *GEOSBuffer(const GEOSGeometry* g,
^
src/_geoslib.c:2234:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSBuffer(__pyx_v_g1, 0., 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2243:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry* g);
^
src/_geoslib.c:2358:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
^
src/_geoslib.c:2367:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
^
src/_geoslib.c:2367:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2424:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
^
src/_geoslib.c:2433:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
^
src/_geoslib.c:2433:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2482:49: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_2 = PyBytes_FromString(GEOSGeomType(__pyx_v_g3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 258; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL *GEOSGeomType(const GEOSGeometry* g);
^
src/_geoslib.c:2517:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
^
src/_geoslib.c:2620:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_answer = GEOSIntersects(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1747:57: note: passing argument to parameter 'g1' here
extern char GEOS_DLL GEOSIntersects(const GEOSGeometry* g1, const GEOSGeometry* g2);
^
src/_geoslib.c:2620:47: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_answer = GEOSIntersects(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1747:81: note: passing argument to parameter 'g2' here
extern char GEOS_DLL GEOSIntersects(const GEOSGeometry* g1, const GEOSGeometry* g2);
^
src/_geoslib.c:2761:33: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1554:68: note: passing argument to parameter 'g1' here
extern GEOSGeometry GEOS_DLL *GEOSIntersection(const GEOSGeometry* g1, const GEOSGeometry* g2);
^
src/_geoslib.c:2761:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1554:92: note: passing argument to parameter 'g2' here
extern GEOSGeometry GEOS_DLL *GEOSIntersection(const GEOSGeometry* g1, const GEOSGeometry* g2);
^
src/_geoslib.c:2761:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2770:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry* g);
^
src/_geoslib.c:2915:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
^
src/_geoslib.c:2946:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
^
src/_geoslib.c:2946:20: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3013:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
^
src/_geoslib.c:3044:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
^
src/_geoslib.c:3044:20: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3103:22: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
^
src/_geoslib.c:3128:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
^
src/_geoslib.c:3258:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_self->_geom);
^~~~~~~~~~~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
^
src/_geoslib.c:3683:14: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSCoordSeq_create(__pyx_v_M, 2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3729:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setX(__pyx_v_cs, __pyx_v_i, __pyx_v_dx);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence* s,
^
src/_geoslib.c:3738:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setY(__pyx_v_cs, __pyx_v_i, __pyx_v_dy);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence* s,
^
src/_geoslib.c:3776:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setX(__pyx_v_cs, (__pyx_v_M - 1), __pyx_v_dx);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence* s,
^
src/_geoslib.c:3785:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setY(__pyx_v_cs, (__pyx_v_M - 1), __pyx_v_dy);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence* s,
^
src/_geoslib.c:3803:42: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_lr = GEOSGeom_createLinearRing(__pyx_v_cs);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1521:76: note: passing argument to parameter 's' here
extern GEOSGeometry GEOS_DLL *GEOSGeom_createLinearRing(GEOSCoordSequence* s);
^
src/_geoslib.c:3803:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_lr = GEOSGeom_createLinearRing(__pyx_v_cs);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3812:59: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createPolygon(__pyx_v_lr, NULL, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1531:68: note: passing argument to parameter 'shell' here
extern GEOSGeometry GEOS_DLL *GEOSGeom_createPolygon(GEOSGeometry* shell,
^
src/_geoslib.c:3812:34: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createPolygon(__pyx_v_lr, NULL, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3888:12: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSArea(__pyx_v_self->__pyx_base._geom, (&__pyx_v_area));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
/usr/local/include/geos_c.h:2055:50: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSArea(const GEOSGeometry* g, double *area);
^
src/_geoslib.c:4090:14: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSCoordSeq_create(__pyx_v_M, 2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4136:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setX(__pyx_v_cs, __pyx_v_i, __pyx_v_dx);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence* s,
^
src/_geoslib.c:4145:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setY(__pyx_v_cs, __pyx_v_i, __pyx_v_dy);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence* s,
^
src/_geoslib.c:4155:62: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createLineString(__pyx_v_cs);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1522:76: note: passing argument to parameter 's' here
extern GEOSGeometry GEOS_DLL *GEOSGeom_createLineString(GEOSCoordSequence* s);
^
src/_geoslib.c:4155:34: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createLineString(__pyx_v_cs);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4273:14: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSCoordSeq_create(1, 2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4300:21: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setX(__pyx_v_cs, 0, __pyx_v_dx);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence* s,
^
src/_geoslib.c:4309:21: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setY(__pyx_v_cs, 0, __pyx_v_dy);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence* s,
^
src/_geoslib.c:4318:57: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createPoint(__pyx_v_cs);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1519:71: note: passing argument to parameter 's' here
extern GEOSGeometry GEOS_DLL *GEOSGeom_createPoint(GEOSCoordSequence* s);
^
src/_geoslib.c:4318:34: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createPoint(__pyx_v_cs);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4584:32: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_1 = ((GEOSGeomTypeId(__pyx_v_geom) == GEOS_POLYGON) != 0);
^~~~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry* g);
^
src/_geoslib.c:4594:38: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_lr = GEOSGetExteriorRing(__pyx_v_geom);
^~~~~~~~~~~~
*
/usr/local/include/geos_c.h:2011:77: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetExteriorRing(const GEOSGeometry* g);
^
src/_geoslib.c:4594:16: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_lr = GEOSGetExteriorRing(__pyx_v_geom);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4603:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_lr);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:2020:83: note: passing argument to parameter 'g' here
extern const GEOSCoordSequence GEOS_DLL *GEOSGeom_getCoordSeq(const GEOSGeometry* g);
^
src/_geoslib.c:4603:16: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_lr);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4623:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_geom);
^~~~~~~~~~~~
*
/usr/local/include/geos_c.h:2020:83: note: passing argument to parameter 'g' here
extern const GEOSCoordSequence GEOS_DLL *GEOSGeom_getCoordSeq(const GEOSGeometry* g);
^
src/_geoslib.c:4623:16: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_geom);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4634:24: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_getSize(__pyx_v_cs, (&__pyx_v_M));
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1403:67: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_getSize(const GEOSCoordSequence* s,
^
src/_geoslib.c:4720:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_getX(__pyx_v_cs, __pyx_v_i, (&__pyx_v_dx));
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1391:64: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_getX(const GEOSCoordSequence* s,
^
src/_geoslib.c:4729:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_getY(__pyx_v_cs, __pyx_v_i, (&__pyx_v_dy));
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1393:64: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_getY(const GEOSCoordSequence* s,
^
src/_geoslib.c:5485:12: warning: incompatible pointer types passing 'void (char *, char *)' to parameter of type 'GEOSMessageHandler' (aka 'void (*)(const char *, ...)') [-Wincompatible-pointer-types]
initGEOS(__pyx_f_8_geoslib_notice_h, __pyx_f_8_geoslib_error_h);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/geos_c.h:1316:50: note: passing argument to parameter 'notice_function' here
extern void GEOS_DLL initGEOS(GEOSMessageHandler notice_function,
^
src/_geoslib.c:5485:40: warning: incompatible pointer types passing 'void (char *, char *)' to parameter of type 'GEOSMessageHandler' (aka 'void (*)(const char *, ...)') [-Wincompatible-pointer-types]
initGEOS(__pyx_f_8_geoslib_notice_h, __pyx_f_8_geoslib_error_h);
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/geos_c.h:1317:24: note: passing argument to parameter 'error_function' here
GEOSMessageHandler error_function);
^
src/_geoslib.c:5552:21: error: no member named 'exc_type' in 'struct _ts'
*type = tstate->exc_type;
~~~~~~ ^
src/_geoslib.c:5553:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5554:19: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/_geoslib.c:5566:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
src/_geoslib.c:5567:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5568:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/_geoslib.c:5569:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = type;
~~~~~~ ^
src/_geoslib.c:5570:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5571:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/_geoslib.c:5614:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
src/_geoslib.c:5615:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5616:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/_geoslib.c:5617:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = local_type;
~~~~~~ ^
src/_geoslib.c:5618:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = local_value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5619:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = local_tb;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
86 warnings and 15 errors generated.
In file included from src/_geoslib.c:247:
In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1821:
/usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
^
src/_geoslib.c:1139:31: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_valid = GEOSisValid(__pyx_v_self->_geom);
^~~~~~~~~~~~~~~~~~~
*
/usr/local/include/geos_c.h:1924:54: note: passing argument to parameter 'g' here
extern char GEOS_DLL GEOSisValid(const GEOSGeometry* g);
^
src/_geoslib.c:1239:47: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_1 = PyBytes_FromString(GEOSGeomType(__pyx_v_self->_geom)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
^~~~~~~~~~~~~~~~~~~
*
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL *GEOSGeomType(const GEOSGeometry* g);
^
src/_geoslib.c:1330:31: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_answer = GEOSWithin(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1749:53: note: passing argument to parameter 'g1' here
extern char GEOS_DLL GEOSWithin(const GEOSGeometry* g1, const GEOSGeometry* g2);
^
src/_geoslib.c:1330:43: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_answer = GEOSWithin(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1749:77: note: passing argument to parameter 'g2' here
extern char GEOS_DLL GEOSWithin(const GEOSGeometry* g1, const GEOSGeometry* g2);
^
src/_geoslib.c:1468:26: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1601:61: note: passing argument to parameter 'g1' here
extern GEOSGeometry GEOS_DLL *GEOSUnion(const GEOSGeometry* g1, const GEOSGeometry* g2);
^
src/_geoslib.c:1468:38: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1601:85: note: passing argument to parameter 'g2' here
extern GEOSGeometry GEOS_DLL *GEOSUnion(const GEOSGeometry* g1, const GEOSGeometry* g2);
^
src/_geoslib.c:1468:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSUnion(__pyx_v_g1, __pyx_v_g2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1477:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry* g);
^
src/_geoslib.c:1592:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
^
src/_geoslib.c:1601:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
^
src/_geoslib.c:1601:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1658:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
^
src/_geoslib.c:1667:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
^
src/_geoslib.c:1667:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1716:49: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_2 = PyBytes_FromString(GEOSGeomType(__pyx_v_g3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL *GEOSGeomType(const GEOSGeometry* g);
^
src/_geoslib.c:1751:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
^
src/_geoslib.c:1857:29: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSSimplify(__pyx_v_g1, __pyx_v_tolerance);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1649:64: note: passing argument to parameter 'g' here
extern GEOSGeometry GEOS_DLL *GEOSSimplify(const GEOSGeometry* g, double tolerance);
^
src/_geoslib.c:1857:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSSimplify(__pyx_v_g1, __pyx_v_tolerance);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:1866:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry* g);
^
src/_geoslib.c:1981:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
^
src/_geoslib.c:1990:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
^
src/_geoslib.c:1990:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2047:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
^
src/_geoslib.c:2056:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
^
src/_geoslib.c:2056:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2105:49: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_3 = PyBytes_FromString(GEOSGeomType(__pyx_v_g3)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 227; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL *GEOSGeomType(const GEOSGeometry* g);
^
src/_geoslib.c:2140:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
^
src/_geoslib.c:2234:27: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSBuffer(__pyx_v_g1, 0., 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1451:62: note: passing argument to parameter 'g' here
extern GEOSGeometry GEOS_DLL *GEOSBuffer(const GEOSGeometry* g,
^
src/_geoslib.c:2234:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSBuffer(__pyx_v_g1, 0., 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2243:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry* g);
^
src/_geoslib.c:2358:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
^
src/_geoslib.c:2367:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
^
src/_geoslib.c:2367:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2424:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
^
src/_geoslib.c:2433:37: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
^
src/_geoslib.c:2433:18: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2482:49: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_2 = PyBytes_FromString(GEOSGeomType(__pyx_v_g3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 258; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1945:56: note: passing argument to parameter 'g' here
extern char GEOS_DLL *GEOSGeomType(const GEOSGeometry* g);
^
src/_geoslib.c:2517:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
^
src/_geoslib.c:2620:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_answer = GEOSIntersects(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1747:57: note: passing argument to parameter 'g1' here
extern char GEOS_DLL GEOSIntersects(const GEOSGeometry* g1, const GEOSGeometry* g2);
^
src/_geoslib.c:2620:47: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_answer = GEOSIntersects(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1747:81: note: passing argument to parameter 'g2' here
extern char GEOS_DLL GEOSIntersects(const GEOSGeometry* g1, const GEOSGeometry* g2);
^
src/_geoslib.c:2761:33: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1554:68: note: passing argument to parameter 'g1' here
extern GEOSGeometry GEOS_DLL *GEOSIntersection(const GEOSGeometry* g1, const GEOSGeometry* g2);
^
src/_geoslib.c:2761:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1554:92: note: passing argument to parameter 'g2' here
extern GEOSGeometry GEOS_DLL *GEOSIntersection(const GEOSGeometry* g1, const GEOSGeometry* g2);
^
src/_geoslib.c:2761:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_g3 = GEOSIntersection(__pyx_v_g1, __pyx_v_g2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:2770:35: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_typeid = GEOSGeomTypeId(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry* g);
^
src/_geoslib.c:2915:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
^
src/_geoslib.c:2946:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
^
src/_geoslib.c:2946:20: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3013:45: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_numgeoms = GEOSGetNumGeometries(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1966:62: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGetNumGeometries(const GEOSGeometry* g);
^
src/_geoslib.c:3044:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1976:74: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetGeometryN(const GEOSGeometry* g, int n);
^
src/_geoslib.c:3044:20: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_gout = GEOSGetGeometryN(__pyx_v_g3, __pyx_v_i);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3103:22: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
^
src/_geoslib.c:3128:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_g3);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
^
src/_geoslib.c:3258:20: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSGeom_destroy(__pyx_v_self->_geom);
^~~~~~~~~~~~~~~~~~~
*
/usr/local/include/geos_c.h:1545:53: note: passing argument to parameter 'g' here
extern void GEOS_DLL GEOSGeom_destroy(GEOSGeometry* g);
^
src/_geoslib.c:3683:14: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSCoordSeq_create(__pyx_v_M, 2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3729:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setX(__pyx_v_cs, __pyx_v_i, __pyx_v_dx);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence* s,
^
src/_geoslib.c:3738:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setY(__pyx_v_cs, __pyx_v_i, __pyx_v_dy);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence* s,
^
src/_geoslib.c:3776:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setX(__pyx_v_cs, (__pyx_v_M - 1), __pyx_v_dx);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence* s,
^
src/_geoslib.c:3785:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setY(__pyx_v_cs, (__pyx_v_M - 1), __pyx_v_dy);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence* s,
^
src/_geoslib.c:3803:42: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_lr = GEOSGeom_createLinearRing(__pyx_v_cs);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1521:76: note: passing argument to parameter 's' here
extern GEOSGeometry GEOS_DLL *GEOSGeom_createLinearRing(GEOSCoordSequence* s);
^
src/_geoslib.c:3803:14: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_lr = GEOSGeom_createLinearRing(__pyx_v_cs);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3812:59: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'GEOSGeometry *' (aka 'struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createPolygon(__pyx_v_lr, NULL, 0);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1531:68: note: passing argument to parameter 'shell' here
extern GEOSGeometry GEOS_DLL *GEOSGeom_createPolygon(GEOSGeometry* shell,
^
src/_geoslib.c:3812:34: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createPolygon(__pyx_v_lr, NULL, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:3888:12: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSArea(__pyx_v_self->__pyx_base._geom, (&__pyx_v_area));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
/usr/local/include/geos_c.h:2055:50: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSArea(const GEOSGeometry* g, double *area);
^
src/_geoslib.c:4090:14: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSCoordSeq_create(__pyx_v_M, 2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4136:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setX(__pyx_v_cs, __pyx_v_i, __pyx_v_dx);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence* s,
^
src/_geoslib.c:4145:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setY(__pyx_v_cs, __pyx_v_i, __pyx_v_dy);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence* s,
^
src/_geoslib.c:4155:62: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createLineString(__pyx_v_cs);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1522:76: note: passing argument to parameter 's' here
extern GEOSGeometry GEOS_DLL *GEOSGeom_createLineString(GEOSCoordSequence* s);
^
src/_geoslib.c:4155:34: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createLineString(__pyx_v_cs);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4273:14: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSCoordSeq_create(1, 2);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4300:21: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setX(__pyx_v_cs, 0, __pyx_v_dx);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1378:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setX(GEOSCoordSequence* s,
^
src/_geoslib.c:4309:21: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_setY(__pyx_v_cs, 0, __pyx_v_dy);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1380:58: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_setY(GEOSCoordSequence* s,
^
src/_geoslib.c:4318:57: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'GEOSCoordSequence *' (aka 'struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createPoint(__pyx_v_cs);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1519:71: note: passing argument to parameter 's' here
extern GEOSGeometry GEOS_DLL *GEOSGeom_createPoint(GEOSCoordSequence* s);
^
src/_geoslib.c:4318:34: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'GEOSGeometry *' (aka 'struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_self->__pyx_base._geom = GEOSGeom_createPoint(__pyx_v_cs);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4584:32: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_t_1 = ((GEOSGeomTypeId(__pyx_v_geom) == GEOS_POLYGON) != 0);
^~~~~~~~~~~~
*
/usr/local/include/geos_c.h:1948:56: note: passing argument to parameter 'g' here
extern int GEOS_DLL GEOSGeomTypeId(const GEOSGeometry* g);
^
src/_geoslib.c:4594:38: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_lr = GEOSGetExteriorRing(__pyx_v_geom);
^~~~~~~~~~~~
*
/usr/local/include/geos_c.h:2011:77: note: passing argument to parameter 'g' here
extern const GEOSGeometry GEOS_DLL *GEOSGetExteriorRing(const GEOSGeometry* g);
^
src/_geoslib.c:4594:16: warning: incompatible pointer types assigning to 'GEOSGeom *' (aka 'struct GEOSGeom_t **') from 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *') [-Wincompatible-pointer-types]
__pyx_v_lr = GEOSGetExteriorRing(__pyx_v_geom);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4603:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_lr);
^~~~~~~~~~
*
/usr/local/include/geos_c.h:2020:83: note: passing argument to parameter 'g' here
extern const GEOSCoordSequence GEOS_DLL *GEOSGeom_getCoordSeq(const GEOSGeometry* g);
^
src/_geoslib.c:4603:16: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_lr);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4623:39: warning: incompatible pointer types passing 'GEOSGeom *' (aka 'struct GEOSGeom_t **') to parameter of type 'const GEOSGeometry *' (aka 'const struct GEOSGeom_t *'); dereference with * [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_geom);
^~~~~~~~~~~~
*
/usr/local/include/geos_c.h:2020:83: note: passing argument to parameter 'g' here
extern const GEOSCoordSequence GEOS_DLL *GEOSGeom_getCoordSeq(const GEOSGeometry* g);
^
src/_geoslib.c:4623:16: warning: incompatible pointer types assigning to 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') from 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *') [-Wincompatible-pointer-types]
__pyx_v_cs = GEOSGeom_getCoordSeq(__pyx_v_geom);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_geoslib.c:4634:24: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_getSize(__pyx_v_cs, (&__pyx_v_M));
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1403:67: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_getSize(const GEOSCoordSequence* s,
^
src/_geoslib.c:4720:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_getX(__pyx_v_cs, __pyx_v_i, (&__pyx_v_dx));
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1391:64: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_getX(const GEOSCoordSequence* s,
^
src/_geoslib.c:4729:23: warning: incompatible pointer types passing 'GEOSCoordSeq *' (aka 'struct GEOSCoordSeq_t **') to parameter of type 'const GEOSCoordSequence *' (aka 'const struct GEOSCoordSeq_t *'); dereference with * [-Wincompatible-pointer-types]
GEOSCoordSeq_getY(__pyx_v_cs, __pyx_v_i, (&__pyx_v_dy));
^~~~~~~~~~
*
/usr/local/include/geos_c.h:1393:64: note: passing argument to parameter 's' here
extern int GEOS_DLL GEOSCoordSeq_getY(const GEOSCoordSequence* s,
^
src/_geoslib.c:5485:12: warning: incompatible pointer types passing 'void (char *, char *)' to parameter of type 'GEOSMessageHandler' (aka 'void (*)(const char *, ...)') [-Wincompatible-pointer-types]
initGEOS(__pyx_f_8_geoslib_notice_h, __pyx_f_8_geoslib_error_h);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/geos_c.h:1316:50: note: passing argument to parameter 'notice_function' here
extern void GEOS_DLL initGEOS(GEOSMessageHandler notice_function,
^
src/_geoslib.c:5485:40: warning: incompatible pointer types passing 'void (char *, char *)' to parameter of type 'GEOSMessageHandler' (aka 'void (*)(const char *, ...)') [-Wincompatible-pointer-types]
initGEOS(__pyx_f_8_geoslib_notice_h, __pyx_f_8_geoslib_error_h);
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/geos_c.h:1317:24: note: passing argument to parameter 'error_function' here
GEOSMessageHandler error_function);
^
src/_geoslib.c:5552:21: error: no member named 'exc_type' in 'struct _ts'
*type = tstate->exc_type;
~~~~~~ ^
src/_geoslib.c:5553:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5554:19: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/_geoslib.c:5566:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
src/_geoslib.c:5567:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5568:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/_geoslib.c:5569:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = type;
~~~~~~ ^
src/_geoslib.c:5570:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5571:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/_geoslib.c:5614:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
src/_geoslib.c:5615:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5616:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/_geoslib.c:5617:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = local_type;
~~~~~~ ^
src/_geoslib.c:5618:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = local_value;
^~~~~~~~~
curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/_geoslib.c:5619:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = local_tb;
^~~~~~~~~~~~~
curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
86 warnings and 15 errors generated.
error: Command "clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -Iinclude -I['/usr/local/lib/python3.7/site-packages/numpy/core/include'] -I/usr/local/lib/python3.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/_geoslib.c -o build/temp.macosx-10.13-x86_64-3.7/src/_geoslib.o -MMD -MF build/temp.macosx-10.13-x86_64-3.7/src/_geoslib.o.d" failed with exit status 1
----------------------------------------
Command "/usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;file='/private/var/folders/q7/0ch63xb51csb87w6d18_xdhw0000gn/T/pip-req-build-hm07gt4n/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/q7/0ch63xb51csb87w6d18_xdhw0000gn/T/pip-record-dnwvlp1x/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/q7/0ch63xb51csb87w6d18_xdhw0000gn/T/pip-req-build-hm07gt4n/