=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for py311-gdal-3.5.3nb1
sed: unknown option -- -
Usage:  sed [-aElnru] command [file ...]
	sed [-aElnru] [-e command] [-f command_file] [-I[extension]]
	    [-i[extension]] [file ...]
rm -f .generated_files_up_to_date
for i in gdal_wrap.cpp gdalconst_wrap.c ogr_wrap.cpp osr_wrap.cpp gdal_array_wrap.cpp gnm_wrap.cpp; do \
	if test -f extensions/$i; then \
	    if ! grep "#define POST_PROCESSING_APPLIED" extensions/$i>/dev/null; then \
	        sed -e 's/if (!PyTuple_Check(args)) SWIG_fail;/if (args == NULL || !PyTuple_Check(args)) SWIG_fail;/' -e 's/argc = args ? (int)PyObject_Length(args) : 0/argc = (int)PyObject_Length(args)/' -e 's/if (SWIG_IsTmpObj(res\([1-9]\)))/if (ReturnSame(SWIG_IsTmpObj(res\1)))/' -e 's/if( alloc\([1-9]\) == SWIG_NEWOBJ )/if (ReturnSame(alloc\1) == SWIG_NEWOBJ )/' -e 's/strncpy(buff, "swig_ptr: ", 10)/memcpy(buff, "swig_ptr: ", 10)/' -e 's/module_head = \&swig_module;/\/\*module_head = \&swig_module;\*\//' -e 's/obj = PyUnicode_AsUTF8String(obj);/obj = PyUnicode_AsUTF8String(obj); if (!obj) return SWIG_TypeError;/' extensions/$i > extensions/$i.tmp; \
	        echo "#define POST_PROCESSING_APPLIED" >> extensions/$i.tmp; \
	        mv -f extensions/$i.tmp extensions/$i; \
	        \
	        if test $i = "gdal_wrap.cpp" ; then \
	            sed \
	              -e 's/result = (CPLErr)\(.*\);/CPL_IGNORE_RET_VAL(result = (CPLErr)\1);/' \
	              extensions/$i > extensions/$i.tmp; \
	            mv -f extensions/$i.tmp extensions/$i; \
	        fi; \
	    fi; \
	fi; \
done
echo "done" > .generated_files_up_to_date
rm -f setup_vars.ini
echo 'GNM_ENABLED=yes' >> setup_vars.ini
python setup.py build
WARNING: "CXX=/bin/sh /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/libtool --mode=compile --silent --tag=CXX c++" was defined in the environment and contains more than one word. Unsetting it since that is incompatible of setuptools
WARNING: "CC=/bin/sh /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/libtool --mode=compile --silent --tag=CC gcc" was defined in the environment and contains more than one word. Unsetting it since that is incompatible of setuptools
WARNING: numpy not available!  Array support will not be enabled
running build
running build_py
creating build
creating build/lib.netbsd-9.0-alpha-cpython-311
creating build/lib.netbsd-9.0-alpha-cpython-311/osgeo
copying osgeo/osr.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo
copying osgeo/gdalnumeric.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo
copying osgeo/__init__.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo
copying osgeo/utils.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo
copying osgeo/gdal_array.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo
copying osgeo/gdalconst.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo
copying osgeo/gnm.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo
copying osgeo/ogr.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo
copying osgeo/gdal.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo
creating build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils
copying gdal-utils/osgeo_utils/gdal_retile.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils
copying gdal-utils/osgeo_utils/gdalattachpct.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils
copying gdal-utils/osgeo_utils/gdal_edit.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils
copying gdal-utils/osgeo_utils/gdal2xyz.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils
copying gdal-utils/osgeo_utils/gdal_fillnodata.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils
copying gdal-utils/osgeo_utils/ogrmerge.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils
copying gdal-utils/osgeo_utils/__init__.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils
copying gdal-utils/osgeo_utils/gdal_calc.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils
copying gdal-utils/osgeo_utils/gdal_polygonize.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils
copying gdal-utils/osgeo_utils/rgb2pct.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils
copying gdal-utils/osgeo_utils/gdal_pansharpen.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils
copying gdal-utils/osgeo_utils/gdalmove.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils
copying gdal-utils/osgeo_utils/gdal_sieve.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils
copying gdal-utils/osgeo_utils/gdal_merge.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils
copying gdal-utils/osgeo_utils/gdal_proximity.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils
copying gdal-utils/osgeo_utils/pct2rgb.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils
copying gdal-utils/osgeo_utils/gdalcompare.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils
copying gdal-utils/osgeo_utils/gdal2tiles.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils
creating build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/auxiliary
copying gdal-utils/osgeo_utils/auxiliary/rectangle.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/auxiliary
copying gdal-utils/osgeo_utils/auxiliary/raster_creation.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/auxiliary
copying gdal-utils/osgeo_utils/auxiliary/osr_util.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/auxiliary
copying gdal-utils/osgeo_utils/auxiliary/__init__.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/auxiliary
copying gdal-utils/osgeo_utils/auxiliary/batch_creator.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/auxiliary
copying gdal-utils/osgeo_utils/auxiliary/color_table.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/auxiliary
copying gdal-utils/osgeo_utils/auxiliary/extent_util.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/auxiliary
copying gdal-utils/osgeo_utils/auxiliary/progress.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/auxiliary
copying gdal-utils/osgeo_utils/auxiliary/array_util.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/auxiliary
copying gdal-utils/osgeo_utils/auxiliary/base.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/auxiliary
copying gdal-utils/osgeo_utils/auxiliary/util.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/auxiliary
copying gdal-utils/osgeo_utils/auxiliary/gdal_argparse.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/auxiliary
copying gdal-utils/osgeo_utils/auxiliary/numpy_util.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/auxiliary
copying gdal-utils/osgeo_utils/auxiliary/color_palette.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/auxiliary
creating build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/make_fuzzer_friendly_archive.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/validate_gpkg.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/gdal2grd.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/assemblepoly.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/ogr_layer_algebra.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/gdal_vrtmerge.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/rel.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/gdalimport.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/gdallocationinfo.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/gdal_rmdir.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/gdal_remove_towgs84.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/gcps2vec.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/vec_tr.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/hsv_merge.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/gdal_create_pdf.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/fft.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/__init__.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/gdalident.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/gcps2wld.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/epsg_tr.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/validate_cloud_optimized_geotiff.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/densify.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/gdal_lut.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/ogr_dispatch.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/histrep.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/load2odbc.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/vec_tr_spat.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/ogrupdate.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/crs2crs2grid.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/gdalinfo.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/gdal_auth.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/build_jp2_from_xml.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/magphase.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/classify.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/mkgraticule.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/gdalchksum.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/gdal_ls.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/jpeg_in_tiff_extract.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/validate_jp2.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/gdal_mkdir.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/gdal_rm.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/ogrinfo.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/gdal_cp.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/gdalcopyproj.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/get_soundg.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/gdalfilter.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/tolatlong.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/wcs_virtds_params.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/esri2wkt.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/fix_gpkg.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/ogr2ogr.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/dump_jp2.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/val_repl.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/gdal_zip.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/tile_extent_from_raster.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/loslas2ntv2.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/ogr_build_junction_table.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/gcps2ogr.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/tigerpoly.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
copying gdal-utils/osgeo_utils/samples/ogr2vrt.py -> build/lib.netbsd-9.0-alpha-cpython-311/osgeo_utils/samples
running build_ext
gcc -pthread -Wsign-compare -mieee -DNDEBUG -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -I/usr/pkg/include -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-prototypes -Wmissing-declarations -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Wmissing-include-dirs -Werror=vla -Wdate-time -Wnull-dereference -Wduplicated-cond -Wfloat-conversion -DGNM_ENABLED -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include/netlib -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/port -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/generated_headers -I/usr/pkg/include -I/usr/pkg/include/openjpeg-2.5 -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/include -DGDAL_COMPILATION -DHAVE_XERCES -I/usr/pkg/include -I/usr/pkg/include/xercesc -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include/netlib -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/port -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/generated_headers -I/usr/pkg/include -I/usr/pkg/include/openjpeg-2.5 -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/include -DGDAL_COMPILATION -fPIC -I../../port -I../../gcore -I../../alg -I../../ogr/ -I../../ogr/ogrsf_frmts -I../../gnm -I../../apps -I/usr/pkg/include/python3.11 -I. -I/usr/pkg/include -c gdal_python_cxx11_test.cpp -o gdal_python_cxx11_test.o
building 'osgeo._gdal' extension
creating build/temp.netbsd-9.0-alpha-cpython-311
creating build/temp.netbsd-9.0-alpha-cpython-311/extensions
gcc -pthread -Wsign-compare -mieee -DNDEBUG -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -I/usr/pkg/include -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-prototypes -Wmissing-declarations -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Wmissing-include-dirs -Werror=vla -Wdate-time -Wnull-dereference -Wduplicated-cond -Wfloat-conversion -DGNM_ENABLED -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include/netlib -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/port -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/generated_headers -I/usr/pkg/include -I/usr/pkg/include/openjpeg-2.5 -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/include -DGDAL_COMPILATION -DHAVE_XERCES -I/usr/pkg/include -I/usr/pkg/include/xercesc -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include/netlib -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/port -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/generated_headers -I/usr/pkg/include -I/usr/pkg/include/openjpeg-2.5 -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/include -DGDAL_COMPILATION -fPIC -I../../port -I../../gcore -I../../alg -I../../ogr/ -I../../ogr/ogrsf_frmts -I../../gnm -I../../apps -I/usr/pkg/include/python3.11 -I. -I/usr/pkg/include -c extensions/gdal_wrap.cpp -o build/temp.netbsd-9.0-alpha-cpython-311/extensions/gdal_wrap.o -I/usr/pkg/include
cc1plus: warning: command line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command line option '-std=gnu99' is valid for C/ObjC but not for C++
cc1plus: warning: /usr/include/include: No such file or directory [-Wmissing-include-dirs]
extensions/gdal_wrap.cpp: In function 'void NeverCallMePlease()':
extensions/gdal_wrap.cpp:3162:6: warning: no previous declaration for 'void NeverCallMePlease()' [-Wmissing-declarations]
 void NeverCallMePlease() {
      ^~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'unsigned int wrapper_VSIFReadL(void**, unsigned int, unsigned int, VSILFILE*)':
extensions/gdal_wrap.cpp:3284:14: warning: no previous declaration for 'unsigned int wrapper_VSIFReadL(void**, unsigned int, unsigned int, VSILFILE*)' [-Wmissing-declarations]
 unsigned int wrapper_VSIFReadL( void **buf, unsigned int nMembSize, unsigned int nMembCount, VSILFILE *fp)
              ^~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp:1001:73: warning: declaration of '_swig_thread_block' shadows a previous local [-Wshadow]
 #      define SWIG_PYTHON_THREAD_BEGIN_BLOCK   SWIG_Python_Thread_Block _swig_thread_block
                                                                         ^
extensions/gdal_wrap.cpp:3319:9: note: in expansion of macro 'SWIG_PYTHON_THREAD_BEGIN_BLOCK'
         SWIG_PYTHON_THREAD_BEGIN_BLOCK;
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp:1001:73: note: shadowed declaration is here
 #      define SWIG_PYTHON_THREAD_BEGIN_BLOCK   SWIG_Python_Thread_Block _swig_thread_block
                                                                         ^
extensions/gdal_wrap.cpp:3300:5: note: in expansion of macro 'SWIG_PYTHON_THREAD_BEGIN_BLOCK'
     SWIG_PYTHON_THREAD_BEGIN_BLOCK;
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'void wrapper_VSIGetMemFileBuffer(const char*, GByte**, vsi_l_offset*)':
extensions/gdal_wrap.cpp:3491:6: warning: no previous declaration for 'void wrapper_VSIGetMemFileBuffer(const char*, GByte**, vsi_l_offset*)' [-Wmissing-declarations]
 void wrapper_VSIGetMemFileBuffer(const char *utf8_path, GByte **out, vsi_l_offset *length)
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'void Debug(const char*, const char*)':
extensions/gdal_wrap.cpp:3706:8: warning: no previous declaration for 'void Debug(const char*, const char*)' [-Wmissing-declarations]
   void Debug( const char *msg_class, const char *message ) {
        ^~~~~
extensions/gdal_wrap.cpp: In function 'CPLErr SetErrorHandler(CPLErrorHandler, void*)':
extensions/gdal_wrap.cpp:3711:10: warning: no previous declaration for 'CPLErr SetErrorHandler(CPLErrorHandler, void*)' [-Wmissing-declarations]
   CPLErr SetErrorHandler( CPLErrorHandler pfnErrorHandler = NULL, void* user_data = NULL )
          ^~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'void PyCPLErrorHandler(CPLErr, int, const char*)':
extensions/gdal_wrap.cpp:3785:18: warning: no previous declaration for 'void PyCPLErrorHandler(CPLErr, int, const char*)' [-Wmissing-declarations]
 void CPL_STDCALL PyCPLErrorHandler(CPLErr eErrClass, int err_no, const char* pszErrorMsg)
                  ^~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'CPLErr PushErrorHandler(CPLErrorHandler, void*)':
extensions/gdal_wrap.cpp:3807:10: warning: no previous declaration for 'CPLErr PushErrorHandler(CPLErrorHandler, void*)' [-Wmissing-declarations]
   CPLErr PushErrorHandler( CPLErrorHandler pfnErrorHandler = NULL, void* user_data = NULL )
          ^~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'void PopErrorHandler()':
extensions/gdal_wrap.cpp:3817:8: warning: no previous declaration for 'void PopErrorHandler()' [-Wmissing-declarations]
   void PopErrorHandler()
        ^~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'void Error(CPLErr, int, const char*)':
extensions/gdal_wrap.cpp:3828:8: warning: no previous declaration for 'void Error(CPLErr, int, const char*)' [-Wmissing-declarations]
   void Error( CPLErr msg_class = CE_Failure, int err_code = 0, const char* msg = "error" ) {
        ^~~~~
extensions/gdal_wrap.cpp: In function 'retStringAndCPLFree* wrapper_EscapeString(int, char*, int)':
extensions/gdal_wrap.cpp:3833:22: warning: no previous declaration for 'retStringAndCPLFree* wrapper_EscapeString(int, char*, int)' [-Wmissing-declarations]
 retStringAndCPLFree* wrapper_EscapeString(int len, char *bin_string , int scheme=CPLES_SQL) {
                      ^~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'void EscapeBinary(int, char*, size_t*, char**, int)':
extensions/gdal_wrap.cpp:3838:6: warning: no previous declaration for 'void EscapeBinary(int, char*, size_t*, char**, int)' [-Wmissing-declarations]
 void EscapeBinary(int len, char *bin_string, size_t *pnLenOut, char** pOut, int scheme=CPLES_SQL) {
      ^~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'char** wrapper_VSIReadDirEx(const char*, int)':
extensions/gdal_wrap.cpp:3876:8: warning: no previous declaration for 'char** wrapper_VSIReadDirEx(const char*, int)' [-Wmissing-declarations]
 char **wrapper_VSIReadDirEx( const char * utf8_path, int nMaxFiles = 0 )
        ^~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'VSIDIR* wrapper_VSIOpenDir(const char*, int, char**)':
extensions/gdal_wrap.cpp:3882:9: warning: no previous declaration for 'VSIDIR* wrapper_VSIOpenDir(const char*, int, char**)' [-Wmissing-declarations]
 VSIDIR* wrapper_VSIOpenDir( const char * utf8_path,
         ^~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'DirEntry* wrapper_VSIGetNextDirEntry(VSIDIR*)':
extensions/gdal_wrap.cpp:3986:11: warning: no previous declaration for 'DirEntry* wrapper_VSIGetNextDirEntry(VSIDIR*)' [-Wmissing-declarations]
 DirEntry* wrapper_VSIGetNextDirEntry(VSIDIR* dir)
           ^~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'const char* wrapper_CPLGetConfigOption(const char*, const char*)':
extensions/gdal_wrap.cpp:4006:13: warning: no previous declaration for 'const char* wrapper_CPLGetConfigOption(const char*, const char*)' [-Wmissing-declarations]
 const char *wrapper_CPLGetConfigOption( const char * pszKey, const char * pszDefault = NULL )
             ^~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'const char* wrapper_CPLGetThreadLocalConfigOption(const char*, const char*)':
extensions/gdal_wrap.cpp:4010:13: warning: no previous declaration for 'const char* wrapper_CPLGetThreadLocalConfigOption(const char*, const char*)' [-Wmissing-declarations]
 const char *wrapper_CPLGetThreadLocalConfigOption( const char * pszKey, const char * pszDefault = NULL )
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'const char* wrapper_VSIGetCredential(const char*, const char*, const char*)':
extensions/gdal_wrap.cpp:4016:13: warning: no previous declaration for 'const char* wrapper_VSIGetCredential(const char*, const char*, const char*)' [-Wmissing-declarations]
 const char *wrapper_VSIGetCredential( const char* pszPathPrefix, const char * pszKey, const char * pszDefault = NULL )
             ^~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'void wrapper_VSIClearCredentials(const char*)':
extensions/gdal_wrap.cpp:4022:6: warning: no previous declaration for 'void wrapper_VSIClearCredentials(const char*)' [-Wmissing-declarations]
 void wrapper_VSIClearCredentials(const char * pszPathPrefix = NULL)
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'void wrapper_VSIFileFromMemBuffer(const char*, GIntBig, const char*)':
extensions/gdal_wrap.cpp:4028:6: warning: no previous declaration for 'void wrapper_VSIFileFromMemBuffer(const char*, GIntBig, const char*)' [-Wmissing-declarations]
 void wrapper_VSIFileFromMemBuffer( const char* utf8_path, GIntBig nBytes, const char *pabyData)
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'bool wrapper_VSIUnlinkBatch(char**)':
extensions/gdal_wrap.cpp:4039:6: warning: no previous declaration for 'bool wrapper_VSIUnlinkBatch(char**)' [-Wmissing-declarations]
 bool wrapper_VSIUnlinkBatch(char** files)
      ^~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'int wrapper_HasThreadSupport()':
extensions/gdal_wrap.cpp:4057:5: warning: no previous declaration for 'int wrapper_HasThreadSupport()' [-Wmissing-declarations]
 int wrapper_HasThreadSupport()
     ^~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'bool wrapper_VSISync(const char*, const char*, char**, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:4063:6: warning: no previous declaration for 'bool wrapper_VSISync(const char*, const char*, char**, GDALProgressFunc, void*)' [-Wmissing-declarations]
 bool wrapper_VSISync(const char* pszSource,
      ^~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'retStringAndCPLFree* wrapper_VSIGetSignedURL(const char*, char**)':
extensions/gdal_wrap.cpp:4073:22: warning: no previous declaration for 'retStringAndCPLFree* wrapper_VSIGetSignedURL(const char*, char**)' [-Wmissing-declarations]
 retStringAndCPLFree* wrapper_VSIGetSignedURL(const char * utf8_path, char** options = NULL )
                      ^~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'int wrapper_VSIStatL(const char*, StatBuf*, int)':
extensions/gdal_wrap.cpp:4100:5: warning: no previous declaration for 'int wrapper_VSIStatL(const char*, StatBuf*, int)' [-Wmissing-declarations]
 int wrapper_VSIStatL( const char * utf8_path, StatBuf *psStatBufOut, int nFlags = 0 )
     ^~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'VSILFILE* wrapper_VSIFOpenL(const char*, const char*)':
extensions/gdal_wrap.cpp:4113:13: warning: no previous declaration for 'VSILFILE* wrapper_VSIFOpenL(const char*, const char*)' [-Wmissing-declarations]
 VSILFILE   *wrapper_VSIFOpenL( const char *utf8_path, const char *pszMode )
             ^~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'VSILFILE* wrapper_VSIFOpenExL(const char*, const char*, int, char**)':
extensions/gdal_wrap.cpp:4121:13: warning: no previous declaration for 'VSILFILE* wrapper_VSIFOpenExL(const char*, const char*, int, char**)' [-Wmissing-declarations]
 VSILFILE   *wrapper_VSIFOpenExL( const char *utf8_path, const char *pszMode, int bSetError = FALSE, char** options = NULL )
             ^~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'int wrapper_VSIFWriteL(int, char*, int, int, VSILFILE*)':
extensions/gdal_wrap.cpp:4129:5: warning: no previous declaration for 'int wrapper_VSIFWriteL(int, char*, int, int, VSILFILE*)' [-Wmissing-declarations]
 int wrapper_VSIFWriteL( int nLen, char *pBuf, int size, int memb, VSILFILE* fp)
     ^~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'const char* GDALDriverShadow_ShortName_get(GDALDriverShadow*)':
extensions/gdal_wrap.cpp:4215:13: warning: no previous declaration for 'const char* GDALDriverShadow_ShortName_get(GDALDriverShadow*)' [-Wmissing-declarations]
 char const *GDALDriverShadow_ShortName_get( GDALDriverShadow *h ) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'const char* GDALDriverShadow_LongName_get(GDALDriverShadow*)':
extensions/gdal_wrap.cpp:4218:13: warning: no previous declaration for 'const char* GDALDriverShadow_LongName_get(GDALDriverShadow*)' [-Wmissing-declarations]
 char const *GDALDriverShadow_LongName_get( GDALDriverShadow *h ) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'const char* GDALDriverShadow_HelpTopic_get(GDALDriverShadow*)':
extensions/gdal_wrap.cpp:4221:13: warning: no previous declaration for 'const char* GDALDriverShadow_HelpTopic_get(GDALDriverShadow*)' [-Wmissing-declarations]
 char const *GDALDriverShadow_HelpTopic_get( GDALDriverShadow *h ) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'double GDAL_GCP_GCPX_get(GDAL_GCP*)':
extensions/gdal_wrap.cpp:4275:8: warning: no previous declaration for 'double GDAL_GCP_GCPX_get(GDAL_GCP*)' [-Wmissing-declarations]
 double GDAL_GCP_GCPX_get( GDAL_GCP *gcp ) {
        ^~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'void GDAL_GCP_GCPX_set(GDAL_GCP*, double)':
extensions/gdal_wrap.cpp:4278:6: warning: no previous declaration for 'void GDAL_GCP_GCPX_set(GDAL_GCP*, double)' [-Wmissing-declarations]
 void GDAL_GCP_GCPX_set( GDAL_GCP *gcp, double dfGCPX ) {
      ^~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'double GDAL_GCP_GCPY_get(GDAL_GCP*)':
extensions/gdal_wrap.cpp:4281:8: warning: no previous declaration for 'double GDAL_GCP_GCPY_get(GDAL_GCP*)' [-Wmissing-declarations]
 double GDAL_GCP_GCPY_get( GDAL_GCP *gcp ) {
        ^~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'void GDAL_GCP_GCPY_set(GDAL_GCP*, double)':
extensions/gdal_wrap.cpp:4284:6: warning: no previous declaration for 'void GDAL_GCP_GCPY_set(GDAL_GCP*, double)' [-Wmissing-declarations]
 void GDAL_GCP_GCPY_set( GDAL_GCP *gcp, double dfGCPY ) {
      ^~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'double GDAL_GCP_GCPZ_get(GDAL_GCP*)':
extensions/gdal_wrap.cpp:4287:8: warning: no previous declaration for 'double GDAL_GCP_GCPZ_get(GDAL_GCP*)' [-Wmissing-declarations]
 double GDAL_GCP_GCPZ_get( GDAL_GCP *gcp ) {
        ^~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'void GDAL_GCP_GCPZ_set(GDAL_GCP*, double)':
extensions/gdal_wrap.cpp:4290:6: warning: no previous declaration for 'void GDAL_GCP_GCPZ_set(GDAL_GCP*, double)' [-Wmissing-declarations]
 void GDAL_GCP_GCPZ_set( GDAL_GCP *gcp, double dfGCPZ ) {
      ^~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'double GDAL_GCP_GCPPixel_get(GDAL_GCP*)':
extensions/gdal_wrap.cpp:4293:8: warning: no previous declaration for 'double GDAL_GCP_GCPPixel_get(GDAL_GCP*)' [-Wmissing-declarations]
 double GDAL_GCP_GCPPixel_get( GDAL_GCP *gcp ) {
        ^~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'void GDAL_GCP_GCPPixel_set(GDAL_GCP*, double)':
extensions/gdal_wrap.cpp:4296:6: warning: no previous declaration for 'void GDAL_GCP_GCPPixel_set(GDAL_GCP*, double)' [-Wmissing-declarations]
 void GDAL_GCP_GCPPixel_set( GDAL_GCP *gcp, double dfGCPPixel ) {
      ^~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'double GDAL_GCP_GCPLine_get(GDAL_GCP*)':
extensions/gdal_wrap.cpp:4299:8: warning: no previous declaration for 'double GDAL_GCP_GCPLine_get(GDAL_GCP*)' [-Wmissing-declarations]
 double GDAL_GCP_GCPLine_get( GDAL_GCP *gcp ) {
        ^~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'void GDAL_GCP_GCPLine_set(GDAL_GCP*, double)':
extensions/gdal_wrap.cpp:4302:6: warning: no previous declaration for 'void GDAL_GCP_GCPLine_set(GDAL_GCP*, double)' [-Wmissing-declarations]
 void GDAL_GCP_GCPLine_set( GDAL_GCP *gcp, double dfGCPLine ) {
      ^~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'const char* GDAL_GCP_Info_get(GDAL_GCP*)':
extensions/gdal_wrap.cpp:4305:14: warning: no previous declaration for 'const char* GDAL_GCP_Info_get(GDAL_GCP*)' [-Wmissing-declarations]
 const char * GDAL_GCP_Info_get( GDAL_GCP *gcp ) {
              ^~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'void GDAL_GCP_Info_set(GDAL_GCP*, const char*)':
extensions/gdal_wrap.cpp:4308:6: warning: no previous declaration for 'void GDAL_GCP_Info_set(GDAL_GCP*, const char*)' [-Wmissing-declarations]
 void GDAL_GCP_Info_set( GDAL_GCP *gcp, const char * pszInfo ) {
      ^~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'const char* GDAL_GCP_Id_get(GDAL_GCP*)':
extensions/gdal_wrap.cpp:4313:14: warning: no previous declaration for 'const char* GDAL_GCP_Id_get(GDAL_GCP*)' [-Wmissing-declarations]
 const char * GDAL_GCP_Id_get( GDAL_GCP *gcp ) {
              ^~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'void GDAL_GCP_Id_set(GDAL_GCP*, const char*)':
extensions/gdal_wrap.cpp:4316:6: warning: no previous declaration for 'void GDAL_GCP_Id_set(GDAL_GCP*, const char*)' [-Wmissing-declarations]
 void GDAL_GCP_Id_set( GDAL_GCP *gcp, const char * pszId ) {
      ^~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'OGRFeatureShadow* GDALDatasetShadow_GetNextFeature(GDALDatasetShadow*, bool, bool, OGRLayerShadow**, double*, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:5039:106: warning: unused parameter 'include_layer' [-Wunused-parameter]
 SWIGINTERN OGRFeatureShadow *GDALDatasetShadow_GetNextFeature(GDALDatasetShadow *self,bool include_layer=true,bool include_pct=false,OGRLayerShadow **ppoBelongingLayer=NULL,double *pdfProgressPct=NULL,GDALProgressFunc callback=NULL,void *callback_data=NULL){
                                                                                                          ^~~~
extensions/gdal_wrap.cpp:5039:128: warning: unused parameter 'include_pct' [-Wunused-parameter]
 SWIGINTERN OGRFeatureShadow *GDALDatasetShadow_GetNextFeature(GDALDatasetShadow *self,bool include_layer=true,bool include_pct=false,OGRLayerShadow **ppoBelongingLayer=NULL,double *pdfProgressPct=NULL,GDALProgressFunc callback=NULL,void *callback_data=NULL){
                                                                                                                                ^~~~~
extensions/gdal_wrap.cpp: In function 'CPLErr GDALDatasetShadow_ReadRaster1(GDALDatasetShadow*, double, double, double, double, void**, int*, int*, GDALDataType*, int, int*, GIntBig*, GIntBig*, GIntBig*, GDALRIOResampleAlg, GDALProgressFunc, void*, void*)':
extensions/gdal_wrap.cpp:5096:33: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion]
     int nxsize = (buf_xsize==0) ? xsize : *buf_xsize;
                  ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp:5096:33: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion]
extensions/gdal_wrap.cpp:5097:33: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion]
     int nysize = (buf_ysize==0) ? ysize : *buf_ysize;
                  ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp:5097:33: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion]
extensions/gdal_wrap.cpp: In function 'int GDALDatasetShadow_RasterXSize_get(GDALDatasetShadow*)':
extensions/gdal_wrap.cpp:5183:5: warning: no previous declaration for 'int GDALDatasetShadow_RasterXSize_get(GDALDatasetShadow*)' [-Wmissing-declarations]
 int GDALDatasetShadow_RasterXSize_get( GDALDatasetShadow *h ) {
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'int GDALDatasetShadow_RasterYSize_get(GDALDatasetShadow*)':
extensions/gdal_wrap.cpp:5186:5: warning: no previous declaration for 'int GDALDatasetShadow_RasterYSize_get(GDALDatasetShadow*)' [-Wmissing-declarations]
 int GDALDatasetShadow_RasterYSize_get( GDALDatasetShadow *h ) {
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'int GDALDatasetShadow_RasterCount_get(GDALDatasetShadow*)':
extensions/gdal_wrap.cpp:5189:5: warning: no previous declaration for 'int GDALDatasetShadow_RasterCount_get(GDALDatasetShadow*)' [-Wmissing-declarations]
 int GDALDatasetShadow_RasterCount_get( GDALDatasetShadow *h ) {
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'CPLErr MDArrayReadWriteCheckArguments(GDALMDArrayHS*, bool, int, GUIntBig*, int, GUIntBig*, int, GIntBig*, int, GIntBig*, GDALExtendedDataTypeHS*, size_t*)':
extensions/gdal_wrap.cpp:5353:68: warning: unused parameter 'array_start_idx' [-Wunused-parameter]
                                              int nDims1, GUIntBig* array_start_idx,
                                                                    ^~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp:5355:67: warning: unused parameter 'array_step' [-Wunused-parameter]
                                              int nDims3, GIntBig* array_step,
                                                                   ^~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'CPLErr GDALMDArrayHS_Read(GDALMDArrayHS*, int, GUIntBig*, int, GUIntBig*, int, GIntBig*, int, GIntBig*, GDALExtendedDataTypeHS*, void**)':
extensions/gdal_wrap.cpp:1001:73: warning: declaration of '_swig_thread_block' shadows a previous local [-Wshadow]
 #      define SWIG_PYTHON_THREAD_BEGIN_BLOCK   SWIG_Python_Thread_Block _swig_thread_block
                                                                         ^
extensions/gdal_wrap.cpp:5671:9: note: in expansion of macro 'SWIG_PYTHON_THREAD_BEGIN_BLOCK'
         SWIG_PYTHON_THREAD_BEGIN_BLOCK;
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp:1001:73: note: shadowed declaration is here
 #      define SWIG_PYTHON_THREAD_BEGIN_BLOCK   SWIG_Python_Thread_Block _swig_thread_block
                                                                         ^
extensions/gdal_wrap.cpp:5642:5: note: in expansion of macro 'SWIG_PYTHON_THREAD_BEGIN_BLOCK'
     SWIG_PYTHON_THREAD_BEGIN_BLOCK;
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'GDALDataType GDALRasterBandShadow_DataType_get(GDALRasterBandShadow*)':
extensions/gdal_wrap.cpp:6640:14: warning: no previous declaration for 'GDALDataType GDALRasterBandShadow_DataType_get(GDALRasterBandShadow*)' [-Wmissing-declarations]
 GDALDataType GDALRasterBandShadow_DataType_get( GDALRasterBandShadow *h ) {
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'int GDALRasterBandShadow_XSize_get(GDALRasterBandShadow*)':
extensions/gdal_wrap.cpp:6643:5: warning: no previous declaration for 'int GDALRasterBandShadow_XSize_get(GDALRasterBandShadow*)' [-Wmissing-declarations]
 int GDALRasterBandShadow_XSize_get( GDALRasterBandShadow *h ) {
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'int GDALRasterBandShadow_YSize_get(GDALRasterBandShadow*)':
extensions/gdal_wrap.cpp:6646:5: warning: no previous declaration for 'int GDALRasterBandShadow_YSize_get(GDALRasterBandShadow*)' [-Wmissing-declarations]
 int GDALRasterBandShadow_YSize_get( GDALRasterBandShadow *h ) {
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'int ComputeMedianCutPCT(GDALRasterBandShadow*, GDALRasterBandShadow*, GDALRasterBandShadow*, int, GDALColorTableShadow*, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:6768:6: warning: no previous declaration for 'int ComputeMedianCutPCT(GDALRasterBandShadow*, GDALRasterBandShadow*, GDALRasterBandShadow*, int, GDALColorTableShadow*, GDALProgressFunc, void*)' [-Wmissing-declarations]
 int  ComputeMedianCutPCT ( GDALRasterBandShadow *red,
      ^~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'int DitherRGB2PCT(GDALRasterBandShadow*, GDALRasterBandShadow*, GDALRasterBandShadow*, GDALRasterBandShadow*, GDALColorTableShadow*, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:6791:6: warning: no previous declaration for 'int DitherRGB2PCT(GDALRasterBandShadow*, GDALRasterBandShadow*, GDALRasterBandShadow*, GDALRasterBandShadow*, GDALColorTableShadow*, GDALProgressFunc, void*)' [-Wmissing-declarations]
 int  DitherRGB2PCT ( GDALRasterBandShadow *red,
      ^~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'CPLErr ReprojectImage(GDALDatasetShadow*, GDALDatasetShadow*, const char*, const char*, GDALResampleAlg, double, double, GDALProgressFunc, void*, char**)':
extensions/gdal_wrap.cpp:6813:9: warning: no previous declaration for 'CPLErr ReprojectImage(GDALDatasetShadow*, GDALDatasetShadow*, const char*, const char*, GDALResampleAlg, double, double, GDALProgressFunc, void*, char**)' [-Wmissing-declarations]
 CPLErr  ReprojectImage ( GDALDatasetShadow *src_ds,
         ^~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'int ComputeProximity(GDALRasterBandShadow*, GDALRasterBandShadow*, char**, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:6851:6: warning: no previous declaration for 'int ComputeProximity(GDALRasterBandShadow*, GDALRasterBandShadow*, char**, GDALProgressFunc, void*)' [-Wmissing-declarations]
 int  ComputeProximity( GDALRasterBandShadow *srcBand,
      ^~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'int RasterizeLayer(GDALDatasetShadow*, int, int*, OGRLayerShadow*, void*, void*, int, double*, char**, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:6864:6: warning: no previous declaration for 'int RasterizeLayer(GDALDatasetShadow*, int, int*, OGRLayerShadow*, void*, void*, int, double*, char**, GDALProgressFunc, void*)' [-Wmissing-declarations]
 int  RasterizeLayer( GDALDatasetShadow *dataset,
      ^~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'int Polygonize(GDALRasterBandShadow*, GDALRasterBandShadow*, OGRLayerShadow*, int, char**, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:6905:6: warning: no previous declaration for 'int Polygonize(GDALRasterBandShadow*, GDALRasterBandShadow*, OGRLayerShadow*, int, char**, GDALProgressFunc, void*)' [-Wmissing-declarations]
 int  Polygonize( GDALRasterBandShadow *srcBand,
      ^~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'int FPolygonize(GDALRasterBandShadow*, GDALRasterBandShadow*, OGRLayerShadow*, int, char**, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:6920:6: warning: no previous declaration for 'int FPolygonize(GDALRasterBandShadow*, GDALRasterBandShadow*, OGRLayerShadow*, int, char**, GDALProgressFunc, void*)' [-Wmissing-declarations]
 int  FPolygonize( GDALRasterBandShadow *srcBand,
      ^~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'int FillNodata(GDALRasterBandShadow*, GDALRasterBandShadow*, double, int, char**, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:6935:6: warning: no previous declaration for 'int FillNodata(GDALRasterBandShadow*, GDALRasterBandShadow*, double, int, char**, GDALProgressFunc, void*)' [-Wmissing-declarations]
 int  FillNodata( GDALRasterBandShadow *targetBand,
      ^~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'int SieveFilter(GDALRasterBandShadow*, GDALRasterBandShadow*, GDALRasterBandShadow*, int, int, char**, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:6951:6: warning: no previous declaration for 'int SieveFilter(GDALRasterBandShadow*, GDALRasterBandShadow*, GDALRasterBandShadow*, int, int, char**, GDALProgressFunc, void*)' [-Wmissing-declarations]
 int  SieveFilter( GDALRasterBandShadow *srcBand,
      ^~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'int RegenerateOverviews(GDALRasterBandShadow*, int, GDALRasterBandShadow**, const char*, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:6967:6: warning: no previous declaration for 'int RegenerateOverviews(GDALRasterBandShadow*, int, GDALRasterBandShadow**, const char*, GDALProgressFunc, void*)' [-Wmissing-declarations]
 int  RegenerateOverviews( GDALRasterBandShadow *srcBand,
      ^~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'int RegenerateOverview(GDALRasterBandShadow*, GDALRasterBandShadow*, const char*, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:6981:6: warning: no previous declaration for 'int RegenerateOverview(GDALRasterBandShadow*, GDALRasterBandShadow*, const char*, GDALProgressFunc, void*)' [-Wmissing-declarations]
 int  RegenerateOverview( GDALRasterBandShadow *srcBand,
      ^~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'int ContourGenerate(GDALRasterBandShadow*, double, double, int, double*, int, double, OGRLayerShadow*, int, int, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:6994:5: warning: no previous declaration for 'int ContourGenerate(GDALRasterBandShadow*, double, double, int, double*, int, double, OGRLayerShadow*, int, int, GDALProgressFunc, void*)' [-Wmissing-declarations]
 int ContourGenerate( GDALRasterBandShadow *srcBand,
     ^~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'int ContourGenerateEx(GDALRasterBandShadow*, OGRLayerShadow*, char**, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:7028:5: warning: no previous declaration for 'int ContourGenerateEx(GDALRasterBandShadow*, OGRLayerShadow*, char**, GDALProgressFunc, void*)' [-Wmissing-declarations]
 int ContourGenerateEx( GDALRasterBandShadow *srcBand,
     ^~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'GDALDatasetShadow* ViewshedGenerate(GDALRasterBandShadow*, const char*, const char*, char**, double, double, double, double, double, double, double, double, double, GDALViewshedMode, double, GDALProgressFunc, void*, GDALViewshedOutputType, char**)':
extensions/gdal_wrap.cpp:7048:20: warning: no previous declaration for 'GDALDatasetShadow* ViewshedGenerate(GDALRasterBandShadow*, const char*, const char*, char**, double, double, double, double, double, double, double, double, double, GDALViewshedMode, double, GDALProgressFunc, void*, GDALViewshedOutputType, char**)' [-Wmissing-declarations]
 GDALDatasetShadow *ViewshedGenerate( GDALRasterBandShadow *srcBand,
                    ^~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'GDALDatasetShadow* AutoCreateWarpedVRT(GDALDatasetShadow*, const char*, const char*, GDALResampleAlg, double)':
extensions/gdal_wrap.cpp:7086:20: warning: no previous declaration for 'GDALDatasetShadow* AutoCreateWarpedVRT(GDALDatasetShadow*, const char*, const char*, GDALResampleAlg, double)' [-Wmissing-declarations]
 GDALDatasetShadow *AutoCreateWarpedVRT( GDALDatasetShadow *src_ds,
                    ^~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'GDALDatasetShadow* CreatePansharpenedVRT(const char*, GDALRasterBandShadow*, int, GDALRasterBandShadow**)':
extensions/gdal_wrap.cpp:7104:21: warning: no previous declaration for 'GDALDatasetShadow* CreatePansharpenedVRT(const char*, GDALRasterBandShadow*, int, GDALRasterBandShadow**)' [-Wmissing-declarations]
 GDALDatasetShadow*  CreatePansharpenedVRT( const char* pszXML,
                     ^~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'GDALTransformerInfoShadow* Transformer(GDALDatasetShadow*, GDALDatasetShadow*, char**)':
extensions/gdal_wrap.cpp:7230:30: warning: no previous declaration for 'GDALTransformerInfoShadow* Transformer(GDALDatasetShadow*, GDALDatasetShadow*, char**)' [-Wmissing-declarations]
   GDALTransformerInfoShadow* Transformer( GDALDatasetShadow *src, GDALDatasetShadow *dst,
                              ^~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'GDALDatasetShadow* ApplyVerticalShiftGrid(GDALDatasetShadow*, GDALDatasetShadow*, bool, double, double, char**)':
extensions/gdal_wrap.cpp:7239:20: warning: no previous declaration for 'GDALDatasetShadow* ApplyVerticalShiftGrid(GDALDatasetShadow*, GDALDatasetShadow*, bool, double, double, char**)' [-Wmissing-declarations]
 GDALDatasetShadow* ApplyVerticalShiftGrid( GDALDatasetShadow *src_ds,
                    ^~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'GIntBig wrapper_GDALGetCacheMax()':
extensions/gdal_wrap.cpp:7255:9: warning: no previous declaration for 'GIntBig wrapper_GDALGetCacheMax()' [-Wmissing-declarations]
 GIntBig wrapper_GDALGetCacheMax()
         ^~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'GIntBig wrapper_GDALGetCacheUsed()':
extensions/gdal_wrap.cpp:7261:9: warning: no previous declaration for 'GIntBig wrapper_GDALGetCacheUsed()' [-Wmissing-declarations]
 GIntBig wrapper_GDALGetCacheUsed()
         ^~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'void wrapper_GDALSetCacheMax(GIntBig)':
extensions/gdal_wrap.cpp:7267:6: warning: no previous declaration for 'void wrapper_GDALSetCacheMax(GIntBig)' [-Wmissing-declarations]
 void wrapper_GDALSetCacheMax(GIntBig nBytes)
      ^~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'retStringAndCPLFree* GetJPEG2000StructureAsString(const char*, char**)':
extensions/gdal_wrap.cpp:7365:22: warning: no previous declaration for 'retStringAndCPLFree* GetJPEG2000StructureAsString(const char*, char**)' [-Wmissing-declarations]
 retStringAndCPLFree *GetJPEG2000StructureAsString( const char* pszFilename, char** options = NULL )
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'int GetDriverCount()':
extensions/gdal_wrap.cpp:7376:5: warning: no previous declaration for 'int GetDriverCount()' [-Wmissing-declarations]
 int GetDriverCount() {
     ^~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'GDALDriverShadow* GetDriver(int)':
extensions/gdal_wrap.cpp:7387:19: warning: no previous declaration for 'GDALDriverShadow* GetDriver(int)' [-Wmissing-declarations]
 GDALDriverShadow* GetDriver( int i ) {
                   ^~~~~~~~~
extensions/gdal_wrap.cpp: In function 'GDALDatasetShadow* Open(const char*, GDALAccess)':
extensions/gdal_wrap.cpp:7392:20: warning: no previous declaration for 'GDALDatasetShadow* Open(const char*, GDALAccess)' [-Wmissing-declarations]
 GDALDatasetShadow* Open( char const* utf8_path, GDALAccess eAccess = GA_ReadOnly ) {
                    ^~~~
extensions/gdal_wrap.cpp: In function 'GDALDatasetShadow* OpenEx(const char*, unsigned int, char**, char**, char**)':
extensions/gdal_wrap.cpp:7407:20: warning: no previous declaration for 'GDALDatasetShadow* OpenEx(const char*, unsigned int, char**, char**, char**)' [-Wmissing-declarations]
 GDALDatasetShadow* OpenEx( char const* utf8_path, unsigned int nOpenFlags = 0,
                    ^~~~~~
extensions/gdal_wrap.cpp: In function 'GDALDatasetShadow* OpenShared(const char*, GDALAccess)':
extensions/gdal_wrap.cpp:7429:20: warning: no previous declaration for 'GDALDatasetShadow* OpenShared(const char*, GDALAccess)' [-Wmissing-declarations]
 GDALDatasetShadow* OpenShared( char const* utf8_path, GDALAccess eAccess = GA_ReadOnly ) {
                    ^~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'GDALDriverShadow* IdentifyDriver(const char*, char**)':
extensions/gdal_wrap.cpp:7444:19: warning: no previous declaration for 'GDALDriverShadow* IdentifyDriver(const char*, char**)' [-Wmissing-declarations]
 GDALDriverShadow *IdentifyDriver( const char *utf8_path,
                   ^~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'GDALDriverShadow* IdentifyDriverEx(const char*, unsigned int, char**, char**)':
extensions/gdal_wrap.cpp:7451:19: warning: no previous declaration for 'GDALDriverShadow* IdentifyDriverEx(const char*, unsigned int, char**, char**)' [-Wmissing-declarations]
 GDALDriverShadow *IdentifyDriverEx( const char* utf8_path,
                   ^~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'char** GeneralCmdLineProcessor(char**, int)':
extensions/gdal_wrap.cpp:7463:10: warning: no previous declaration for 'char** GeneralCmdLineProcessor(char**, int)' [-Wmissing-declarations]
   char **GeneralCmdLineProcessor( char **papszArgv, int nOptions = 0 ) {
          ^~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'GDALDatasetShadow* wrapper_GDALTranslate(const char*, GDALDatasetShadow*, GDALTranslateOptions*, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:7575:20: warning: no previous declaration for 'GDALDatasetShadow* wrapper_GDALTranslate(const char*, GDALDatasetShadow*, GDALTranslateOptions*, GDALProgressFunc, void*)' [-Wmissing-declarations]
 GDALDatasetShadow* wrapper_GDALTranslate( const char* dest,
                    ^~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'int wrapper_GDALWarpDestDS(GDALDatasetShadow*, int, GDALDatasetShadow**, GDALWarpAppOptions*, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:7619:5: warning: no previous declaration for 'int wrapper_GDALWarpDestDS(GDALDatasetShadow*, int, GDALDatasetShadow**, GDALWarpAppOptions*, GDALProgressFunc, void*)' [-Wmissing-declarations]
 int wrapper_GDALWarpDestDS( GDALDatasetShadow* dstDS,
     ^~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'GDALDatasetShadow* wrapper_GDALWarpDestName(const char*, int, GDALDatasetShadow**, GDALWarpAppOptions*, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:7656:20: warning: no previous declaration for 'GDALDatasetShadow* wrapper_GDALWarpDestName(const char*, int, GDALDatasetShadow**, GDALWarpAppOptions*, GDALProgressFunc, void*)' [-Wmissing-declarations]
 GDALDatasetShadow* wrapper_GDALWarpDestName( const char* dest,
                    ^~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'int wrapper_GDALVectorTranslateDestDS(GDALDatasetShadow*, GDALDatasetShadow*, GDALVectorTranslateOptions*, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:7699:5: warning: no previous declaration for 'int wrapper_GDALVectorTranslateDestDS(GDALDatasetShadow*, GDALDatasetShadow*, GDALVectorTranslateOptions*, GDALProgressFunc, void*)' [-Wmissing-declarations]
 int wrapper_GDALVectorTranslateDestDS( GDALDatasetShadow* dstDS,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'GDALDatasetShadow* wrapper_GDALVectorTranslateDestName(const char*, GDALDatasetShadow*, GDALVectorTranslateOptions*, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:7736:20: warning: no previous declaration for 'GDALDatasetShadow* wrapper_GDALVectorTranslateDestName(const char*, GDALDatasetShadow*, GDALVectorTranslateOptions*, GDALProgressFunc, void*)' [-Wmissing-declarations]
 GDALDatasetShadow* wrapper_GDALVectorTranslateDestName( const char* dest,
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'GDALDatasetShadow* wrapper_GDALDEMProcessing(const char*, GDALDatasetShadow*, const char*, const char*, GDALDEMProcessingOptions*, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:7779:20: warning: no previous declaration for 'GDALDatasetShadow* wrapper_GDALDEMProcessing(const char*, GDALDatasetShadow*, const char*, const char*, GDALDEMProcessingOptions*, GDALProgressFunc, void*)' [-Wmissing-declarations]
 GDALDatasetShadow* wrapper_GDALDEMProcessing( const char* dest,
                    ^~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'int wrapper_GDALNearblackDestDS(GDALDatasetShadow*, GDALDatasetShadow*, GDALNearblackOptions*, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:7824:5: warning: no previous declaration for 'int wrapper_GDALNearblackDestDS(GDALDatasetShadow*, GDALDatasetShadow*, GDALNearblackOptions*, GDALProgressFunc, void*)' [-Wmissing-declarations]
 int wrapper_GDALNearblackDestDS( GDALDatasetShadow* dstDS,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'GDALDatasetShadow* wrapper_GDALNearblackDestName(const char*, GDALDatasetShadow*, GDALNearblackOptions*, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:7861:20: warning: no previous declaration for 'GDALDatasetShadow* wrapper_GDALNearblackDestName(const char*, GDALDatasetShadow*, GDALNearblackOptions*, GDALProgressFunc, void*)' [-Wmissing-declarations]
 GDALDatasetShadow* wrapper_GDALNearblackDestName( const char* dest,
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'GDALDatasetShadow* wrapper_GDALGrid(const char*, GDALDatasetShadow*, GDALGridOptions*, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:7904:20: warning: no previous declaration for 'GDALDatasetShadow* wrapper_GDALGrid(const char*, GDALDatasetShadow*, GDALGridOptions*, GDALProgressFunc, void*)' [-Wmissing-declarations]
 GDALDatasetShadow* wrapper_GDALGrid( const char* dest,
                    ^~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'int wrapper_GDALRasterizeDestDS(GDALDatasetShadow*, GDALDatasetShadow*, GDALRasterizeOptions*, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:7947:5: warning: no previous declaration for 'int wrapper_GDALRasterizeDestDS(GDALDatasetShadow*, GDALDatasetShadow*, GDALRasterizeOptions*, GDALProgressFunc, void*)' [-Wmissing-declarations]
 int wrapper_GDALRasterizeDestDS( GDALDatasetShadow* dstDS,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'GDALDatasetShadow* wrapper_GDALRasterizeDestName(const char*, GDALDatasetShadow*, GDALRasterizeOptions*, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:7984:20: warning: no previous declaration for 'GDALDatasetShadow* wrapper_GDALRasterizeDestName(const char*, GDALDatasetShadow*, GDALRasterizeOptions*, GDALProgressFunc, void*)' [-Wmissing-declarations]
 GDALDatasetShadow* wrapper_GDALRasterizeDestName( const char* dest,
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'GDALDatasetShadow* wrapper_GDALBuildVRT_objects(const char*, int, GDALDatasetShadow**, GDALBuildVRTOptions*, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:8027:20: warning: no previous declaration for 'GDALDatasetShadow* wrapper_GDALBuildVRT_objects(const char*, int, GDALDatasetShadow**, GDALBuildVRTOptions*, GDALProgressFunc, void*)' [-Wmissing-declarations]
 GDALDatasetShadow* wrapper_GDALBuildVRT_objects( const char* dest,
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'GDALDatasetShadow* wrapper_GDALBuildVRT_names(const char*, char**, GDALBuildVRTOptions*, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:8064:20: warning: no previous declaration for 'GDALDatasetShadow* wrapper_GDALBuildVRT_names(const char*, char**, GDALBuildVRTOptions*, GDALProgressFunc, void*)' [-Wmissing-declarations]
 GDALDatasetShadow* wrapper_GDALBuildVRT_names( const char* dest,
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'GDALDatasetShadow* wrapper_GDALMultiDimTranslateDestName(const char*, int, GDALDatasetShadow**, GDALMultiDimTranslateOptions*, GDALProgressFunc, void*)':
extensions/gdal_wrap.cpp:8107:20: warning: no previous declaration for 'GDALDatasetShadow* wrapper_GDALMultiDimTranslateDestName(const char*, int, GDALDatasetShadow**, GDALMultiDimTranslateOptions*, GDALProgressFunc, void*)' [-Wmissing-declarations]
 GDALDatasetShadow* wrapper_GDALMultiDimTranslateDestName( const char* dest,
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/gdal_wrap.cpp: In function 'PyObject* _wrap_MajorObject_SetMetadata(PyObject*, PyObject*)':
extensions/gdal_wrap.cpp:14130:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
             ^~~
extensions/gdal_wrap.cpp:14116:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GDALMajorObjectShadow, 0);
         ^~~
extensions/gdal_wrap.cpp:14144:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/gdal_wrap.cpp:14141:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GDALMajorObjectShadow, 0);
         ^~~
extensions/gdal_wrap.cpp:14150:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
             ^~~
extensions/gdal_wrap.cpp:14144:11: note: shadowed declaration is here
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/gdal_wrap.cpp: In function 'PyObject* _wrap_GDALTransformerInfoShadow_TransformPoint(PyObject*, PyObject*)':
extensions/gdal_wrap.cpp:38941:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/gdal_wrap.cpp:38937:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GDALTransformerInfoShadow, 0);
         ^~~
extensions/gdal_wrap.cpp:38945:15: warning: declaration of 'vptr' shadows a previous local [-Wshadow]
         void *vptr = 0;
               ^~~~
extensions/gdal_wrap.cpp:38936:11: note: shadowed declaration is here
     void *vptr = 0;
           ^~~~
extensions/gdal_wrap.cpp:38946:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0);
             ^~~
extensions/gdal_wrap.cpp:38937:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GDALTransformerInfoShadow, 0);
         ^~~
extensions/gdal_wrap.cpp:38961:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/gdal_wrap.cpp:38957:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GDALTransformerInfoShadow, 0);
         ^~~
extensions/gdal_wrap.cpp:38966:15: warning: declaration of 'res' shadows a previous local [-Wshadow]
           int res = SWIG_AsVal_double(argv[2], NULL);
               ^~~
extensions/gdal_wrap.cpp:38957:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GDALTransformerInfoShadow, 0);
         ^~~
extensions/gdal_wrap.cpp:38971:17: warning: declaration of 'res' shadows a previous local [-Wshadow]
             int res = SWIG_AsVal_double(argv[3], NULL);
                 ^~~
extensions/gdal_wrap.cpp:38957:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GDALTransformerInfoShadow, 0);
         ^~~
extensions/gdal_wrap.cpp:38979:19: warning: declaration of 'res' shadows a previous local [-Wshadow]
               int res = SWIG_AsVal_double(argv[4], NULL);
                   ^~~
extensions/gdal_wrap.cpp:38957:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GDALTransformerInfoShadow, 0);
         ^~~
extensions/gdal_wrap.cpp: In function 'PyObject* PyInit__gdal()':
extensions/gdal_wrap.cpp:2785:24: warning: no previous declaration for 'PyObject* PyInit__gdal()' [-Wmissing-declarations]
 #  define SWIG_init    PyInit__gdal
                        ^
extensions/gdal_wrap.cpp:46084:1: note: in expansion of macro 'SWIG_init'
 SWIG_init(void) {
 ^~~~~~~~~
extensions/gdal_wrap.cpp:982:65: warning: 'void PyEval_InitThreads()' is deprecated [-Wdeprecated-declarations]
 #     define SWIG_PYTHON_INITIALIZE_THREADS  PyEval_InitThreads()
                                                                 ^
extensions/gdal_wrap.cpp:46234:3: note: in expansion of macro 'SWIG_PYTHON_INITIALIZE_THREADS'
   SWIG_PYTHON_INITIALIZE_THREADS;
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pkgbuild/geography/py-gdal/work.alpha/.buildlink/include/python3.11/Python.h:95:0,
                 from extensions/gdal_wrap.cpp:180:
/tmp/pkgbuild/geography/py-gdal/work.alpha/.buildlink/include/python3.11/ceval.h:132:37: note: declared here
 Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
                                     ^~~~~~~~~~~~~~~~~~
c++ -pthread -shared -L. -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -I/usr/pkg/include -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-prototypes -Wmissing-declarations -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Wmissing-include-dirs -Werror=vla -Wdate-time -Wnull-dereference -Wduplicated-cond -Wfloat-conversion -DGNM_ENABLED -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include/netlib -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/port -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/generated_headers -I/usr/pkg/include -I/usr/pkg/include/openjpeg-2.5 -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/include -DGDAL_COMPILATION -DHAVE_XERCES -I/usr/pkg/include -I/usr/pkg/include/xercesc -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include/netlib -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/port -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/generated_headers -I/usr/pkg/include -I/usr/pkg/include/openjpeg-2.5 -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/include -DGDAL_COMPILATION build/temp.netbsd-9.0-alpha-cpython-311/extensions/gdal_wrap.o -L../../.libs -L../../ -L/usr/pkg/lib -L/usr/pkg/lib -lgdal -o build/lib.netbsd-9.0-alpha-cpython-311/osgeo/_gdal.so
building 'osgeo._gdalconst' extension
gcc -pthread -Wsign-compare -mieee -DNDEBUG -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -I/usr/pkg/include -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-prototypes -Wmissing-declarations -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Wmissing-include-dirs -Werror=vla -Wdate-time -Wnull-dereference -Wduplicated-cond -Wfloat-conversion -DGNM_ENABLED -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include/netlib -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/port -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/generated_headers -I/usr/pkg/include -I/usr/pkg/include/openjpeg-2.5 -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/include -DGDAL_COMPILATION -DHAVE_XERCES -I/usr/pkg/include -I/usr/pkg/include/xercesc -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include/netlib -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/port -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/generated_headers -I/usr/pkg/include -I/usr/pkg/include/openjpeg-2.5 -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/include -DGDAL_COMPILATION -fPIC -I../../port -I../../gcore -I../../alg -I../../ogr/ -I../../ogr/ogrsf_frmts -I../../gnm -I../../apps -I/usr/pkg/include/python3.11 -I. -I/usr/pkg/include -c extensions/gdalconst_wrap.c -o build/temp.netbsd-9.0-alpha-cpython-311/extensions/gdalconst_wrap.o -I/usr/pkg/include
cc1: warning: /usr/include/include: No such file or directory [-Wmissing-include-dirs]
extensions/gdalconst_wrap.c:2687:24: warning: no previous prototype for 'PyInit__gdalconst' [-Wmissing-prototypes]
 #  define SWIG_init    PyInit__gdalconst
                        ^
extensions/gdalconst_wrap.c:3399:1: note: in expansion of macro 'SWIG_init'
 SWIG_init(void) {
 ^~~~~~~~~
extensions/gdalconst_wrap.c: In function 'PyInit__gdalconst':
extensions/gdalconst_wrap.c:3710:3: warning: 'PyEval_InitThreads' is deprecated [-Wdeprecated-declarations]
   SWIG_PYTHON_INITIALIZE_THREADS;
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pkgbuild/geography/py-gdal/work.alpha/.buildlink/include/python3.11/Python.h:95:0,
                 from extensions/gdalconst_wrap.c:156:
/tmp/pkgbuild/geography/py-gdal/work.alpha/.buildlink/include/python3.11/ceval.h:132:37: note: declared here
 Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
                                     ^~~~~~~~~~~~~~~~~~
gcc -pthread -shared -L. -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -I/usr/pkg/include -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-prototypes -Wmissing-declarations -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Wmissing-include-dirs -Werror=vla -Wdate-time -Wnull-dereference -Wduplicated-cond -Wfloat-conversion -DGNM_ENABLED -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include/netlib -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/port -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/generated_headers -I/usr/pkg/include -I/usr/pkg/include/openjpeg-2.5 -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/include -DGDAL_COMPILATION -DHAVE_XERCES -I/usr/pkg/include -I/usr/pkg/include/xercesc -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include/netlib -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/port -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/generated_headers -I/usr/pkg/include -I/usr/pkg/include/openjpeg-2.5 -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/include -DGDAL_COMPILATION build/temp.netbsd-9.0-alpha-cpython-311/extensions/gdalconst_wrap.o -L../../.libs -L../../ -L/usr/pkg/lib -L/usr/pkg/lib -lgdal -o build/lib.netbsd-9.0-alpha-cpython-311/osgeo/_gdalconst.so
building 'osgeo._osr' extension
gcc -pthread -Wsign-compare -mieee -DNDEBUG -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -I/usr/pkg/include -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-prototypes -Wmissing-declarations -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Wmissing-include-dirs -Werror=vla -Wdate-time -Wnull-dereference -Wduplicated-cond -Wfloat-conversion -DGNM_ENABLED -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include/netlib -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/port -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/generated_headers -I/usr/pkg/include -I/usr/pkg/include/openjpeg-2.5 -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/include -DGDAL_COMPILATION -DHAVE_XERCES -I/usr/pkg/include -I/usr/pkg/include/xercesc -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include/netlib -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/port -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/generated_headers -I/usr/pkg/include -I/usr/pkg/include/openjpeg-2.5 -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/include -DGDAL_COMPILATION -fPIC -I../../port -I../../gcore -I../../alg -I../../ogr/ -I../../ogr/ogrsf_frmts -I../../gnm -I../../apps -I/usr/pkg/include/python3.11 -I. -I/usr/pkg/include -c extensions/osr_wrap.cpp -o build/temp.netbsd-9.0-alpha-cpython-311/extensions/osr_wrap.o -I/usr/pkg/include
cc1plus: warning: command line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command line option '-std=gnu99' is valid for C/ObjC but not for C++
cc1plus: warning: /usr/include/include: No such file or directory [-Wmissing-include-dirs]
extensions/osr_wrap.cpp: In function 'void NeverCallMePlease()':
extensions/osr_wrap.cpp:2986:6: warning: no previous declaration for 'void NeverCallMePlease()' [-Wmissing-declarations]
 void NeverCallMePlease() {
      ^~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'OGRErr GetWellKnownGeogCSAsWKT(const char*, char**)':
extensions/osr_wrap.cpp:3108:8: warning: no previous declaration for 'OGRErr GetWellKnownGeogCSAsWKT(const char*, char**)' [-Wmissing-declarations]
 OGRErr GetWellKnownGeogCSAsWKT( const char *name, char **argout ) {
        ^~~~~~~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'OGRErr GetUserInputAsWKT(const char*, char**)':
extensions/osr_wrap.cpp:3264:8: warning: no previous declaration for 'OGRErr GetUserInputAsWKT(const char*, char**)' [-Wmissing-declarations]
 OGRErr GetUserInputAsWKT( const char *name, char **argout ) {
        ^~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'double OSRAreaOfUse_west_lon_degree_get(OSRAreaOfUse*)':
extensions/osr_wrap.cpp:3344:8: warning: no previous declaration for 'double OSRAreaOfUse_west_lon_degree_get(OSRAreaOfUse*)' [-Wmissing-declarations]
 double OSRAreaOfUse_west_lon_degree_get( OSRAreaOfUse *area ) {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'double OSRAreaOfUse_south_lat_degree_get(OSRAreaOfUse*)':
extensions/osr_wrap.cpp:3348:8: warning: no previous declaration for 'double OSRAreaOfUse_south_lat_degree_get(OSRAreaOfUse*)' [-Wmissing-declarations]
 double OSRAreaOfUse_south_lat_degree_get( OSRAreaOfUse *area ) {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'double OSRAreaOfUse_east_lon_degree_get(OSRAreaOfUse*)':
extensions/osr_wrap.cpp:3352:8: warning: no previous declaration for 'double OSRAreaOfUse_east_lon_degree_get(OSRAreaOfUse*)' [-Wmissing-declarations]
 double OSRAreaOfUse_east_lon_degree_get( OSRAreaOfUse *area ) {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'double OSRAreaOfUse_north_lat_degree_get(OSRAreaOfUse*)':
extensions/osr_wrap.cpp:3356:8: warning: no previous declaration for 'double OSRAreaOfUse_north_lat_degree_get(OSRAreaOfUse*)' [-Wmissing-declarations]
 double OSRAreaOfUse_north_lat_degree_get( OSRAreaOfUse *area ) {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'const char* OSRAreaOfUse_name_get(OSRAreaOfUse*)':
extensions/osr_wrap.cpp:3360:13: warning: no previous declaration for 'const char* OSRAreaOfUse_name_get(OSRAreaOfUse*)' [-Wmissing-declarations]
 const char* OSRAreaOfUse_name_get( OSRAreaOfUse *area ) {
             ^~~~~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'OSRCoordinateTransformationShadow* CreateCoordinateTransformation(OSRSpatialReferenceShadow*, OSRSpatialReferenceShadow*, OGRCoordinateTransformationOptions*)':
extensions/osr_wrap.cpp:4262:38: warning: no previous declaration for 'OSRCoordinateTransformationShadow* CreateCoordinateTransformation(OSRSpatialReferenceShadow*, OSRSpatialReferenceShadow*, OGRCoordinateTransformationOptions*)' [-Wmissing-declarations]
   OSRCoordinateTransformationShadow *CreateCoordinateTransformation( OSRSpatialReferenceShadow *src, OSRSpatialReferenceShadow *dst, OGRCoordinateTransformationOptions* options = NULL ) {
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'const char* OSRCRSInfo_auth_name_get(OSRCRSInfo*)':
extensions/osr_wrap.cpp:4293:13: warning: no previous declaration for 'const char* OSRCRSInfo_auth_name_get(OSRCRSInfo*)' [-Wmissing-declarations]
 const char* OSRCRSInfo_auth_name_get( OSRCRSInfo *crsInfo ) {
             ^~~~~~~~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'const char* OSRCRSInfo_code_get(OSRCRSInfo*)':
extensions/osr_wrap.cpp:4297:13: warning: no previous declaration for 'const char* OSRCRSInfo_code_get(OSRCRSInfo*)' [-Wmissing-declarations]
 const char* OSRCRSInfo_code_get( OSRCRSInfo *crsInfo ) {
             ^~~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'const char* OSRCRSInfo_name_get(OSRCRSInfo*)':
extensions/osr_wrap.cpp:4301:13: warning: no previous declaration for 'const char* OSRCRSInfo_name_get(OSRCRSInfo*)' [-Wmissing-declarations]
 const char* OSRCRSInfo_name_get( OSRCRSInfo *crsInfo ) {
             ^~~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'OSRCRSType OSRCRSInfo_type_get(OSRCRSInfo*)':
extensions/osr_wrap.cpp:4305:12: warning: no previous declaration for 'OSRCRSType OSRCRSInfo_type_get(OSRCRSInfo*)' [-Wmissing-declarations]
 OSRCRSType OSRCRSInfo_type_get( OSRCRSInfo *crsInfo ) {
            ^~~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'bool OSRCRSInfo_deprecated_get(OSRCRSInfo*)':
extensions/osr_wrap.cpp:4309:6: warning: no previous declaration for 'bool OSRCRSInfo_deprecated_get(OSRCRSInfo*)' [-Wmissing-declarations]
 bool OSRCRSInfo_deprecated_get( OSRCRSInfo *crsInfo ) {
      ^~~~~~~~~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'bool OSRCRSInfo_bbox_valid_get(OSRCRSInfo*)':
extensions/osr_wrap.cpp:4313:6: warning: no previous declaration for 'bool OSRCRSInfo_bbox_valid_get(OSRCRSInfo*)' [-Wmissing-declarations]
 bool OSRCRSInfo_bbox_valid_get( OSRCRSInfo *crsInfo ) {
      ^~~~~~~~~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'double OSRCRSInfo_west_lon_degree_get(OSRCRSInfo*)':
extensions/osr_wrap.cpp:4317:8: warning: no previous declaration for 'double OSRCRSInfo_west_lon_degree_get(OSRCRSInfo*)' [-Wmissing-declarations]
 double OSRCRSInfo_west_lon_degree_get( OSRCRSInfo *crsInfo ) {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'double OSRCRSInfo_south_lat_degree_get(OSRCRSInfo*)':
extensions/osr_wrap.cpp:4321:8: warning: no previous declaration for 'double OSRCRSInfo_south_lat_degree_get(OSRCRSInfo*)' [-Wmissing-declarations]
 double OSRCRSInfo_south_lat_degree_get( OSRCRSInfo *crsInfo ) {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'double OSRCRSInfo_east_lon_degree_get(OSRCRSInfo*)':
extensions/osr_wrap.cpp:4325:8: warning: no previous declaration for 'double OSRCRSInfo_east_lon_degree_get(OSRCRSInfo*)' [-Wmissing-declarations]
 double OSRCRSInfo_east_lon_degree_get( OSRCRSInfo *crsInfo ) {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'double OSRCRSInfo_north_lat_degree_get(OSRCRSInfo*)':
extensions/osr_wrap.cpp:4329:8: warning: no previous declaration for 'double OSRCRSInfo_north_lat_degree_get(OSRCRSInfo*)' [-Wmissing-declarations]
 double OSRCRSInfo_north_lat_degree_get( OSRCRSInfo *crsInfo ) {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'const char* OSRCRSInfo_area_name_get(OSRCRSInfo*)':
extensions/osr_wrap.cpp:4333:13: warning: no previous declaration for 'const char* OSRCRSInfo_area_name_get(OSRCRSInfo*)' [-Wmissing-declarations]
 const char* OSRCRSInfo_area_name_get( OSRCRSInfo *crsInfo ) {
             ^~~~~~~~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'const char* OSRCRSInfo_projection_method_get(OSRCRSInfo*)':
extensions/osr_wrap.cpp:4337:13: warning: no previous declaration for 'const char* OSRCRSInfo_projection_method_get(OSRCRSInfo*)' [-Wmissing-declarations]
 const char* OSRCRSInfo_projection_method_get( OSRCRSInfo *crsInfo ) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'void GetCRSInfoListFromDatabase(const char*, OSRCRSInfo***, int*)':
extensions/osr_wrap.cpp:4343:6: warning: no previous declaration for 'void GetCRSInfoListFromDatabase(const char*, OSRCRSInfo***, int*)' [-Wmissing-declarations]
 void GetCRSInfoListFromDatabase( const char *authName,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'void SetPROJSearchPath(const char*)':
extensions/osr_wrap.cpp:4351:6: warning: no previous declaration for 'void SetPROJSearchPath(const char*)' [-Wmissing-declarations]
 void SetPROJSearchPath( const char *utf8_path )
      ^~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'void SetPROJSearchPaths(char**)':
extensions/osr_wrap.cpp:4358:6: warning: no previous declaration for 'void SetPROJSearchPaths(char**)' [-Wmissing-declarations]
 void SetPROJSearchPaths( char** paths )
      ^~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'char** GetPROJSearchPaths()':
extensions/osr_wrap.cpp:4364:8: warning: no previous declaration for 'char** GetPROJSearchPaths()' [-Wmissing-declarations]
 char** GetPROJSearchPaths()
        ^~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'int GetPROJVersionMajor()':
extensions/osr_wrap.cpp:4370:5: warning: no previous declaration for 'int GetPROJVersionMajor()' [-Wmissing-declarations]
 int GetPROJVersionMajor()
     ^~~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'int GetPROJVersionMinor()':
extensions/osr_wrap.cpp:4377:5: warning: no previous declaration for 'int GetPROJVersionMinor()' [-Wmissing-declarations]
 int GetPROJVersionMinor()
     ^~~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'int GetPROJVersionMicro()':
extensions/osr_wrap.cpp:4384:5: warning: no previous declaration for 'int GetPROJVersionMicro()' [-Wmissing-declarations]
 int GetPROJVersionMicro()
     ^~~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'bool GetPROJEnableNetwork()':
extensions/osr_wrap.cpp:4391:6: warning: no previous declaration for 'bool GetPROJEnableNetwork()' [-Wmissing-declarations]
 bool GetPROJEnableNetwork()
      ^~~~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'void SetPROJEnableNetwork(bool)':
extensions/osr_wrap.cpp:4396:6: warning: no previous declaration for 'void SetPROJEnableNetwork(bool)' [-Wmissing-declarations]
 void SetPROJEnableNetwork(bool enabled)
      ^~~~~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'void SetPROJAuxDbPath(const char*)':
extensions/osr_wrap.cpp:4402:6: warning: no previous declaration for 'void SetPROJAuxDbPath(const char*)' [-Wmissing-declarations]
 void SetPROJAuxDbPath( const char *utf8_path )
      ^~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'void SetPROJAuxDbPaths(char**)':
extensions/osr_wrap.cpp:4409:6: warning: no previous declaration for 'void SetPROJAuxDbPaths(char**)' [-Wmissing-declarations]
 void SetPROJAuxDbPaths( char** paths )
      ^~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'char** GetPROJAuxDbPaths()':
extensions/osr_wrap.cpp:4415:8: warning: no previous declaration for 'char** GetPROJAuxDbPaths()' [-Wmissing-declarations]
 char** GetPROJAuxDbPaths()
        ^~~~~~~~~~~~~~~~~
extensions/osr_wrap.cpp: In function 'PyObject* _wrap_new_CoordinateTransformation(PyObject*, PyObject*)':
extensions/osr_wrap.cpp:15451:13: warning: declaration of 'vptr' shadows a previous local [-Wshadow]
       void *vptr = 0;
             ^~~~
extensions/osr_wrap.cpp:15447:11: note: shadowed declaration is here
     void *vptr = 0;
           ^~~~
extensions/osr_wrap.cpp:15452:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_OSRSpatialReferenceShadow, 0);
           ^~~
extensions/osr_wrap.cpp:15448:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OSRSpatialReferenceShadow, 0);
         ^~~
extensions/osr_wrap.cpp:15465:13: warning: declaration of 'vptr' shadows a previous local [-Wshadow]
       void *vptr = 0;
             ^~~~
extensions/osr_wrap.cpp:15461:11: note: shadowed declaration is here
     void *vptr = 0;
           ^~~~
extensions/osr_wrap.cpp:15466:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_OSRSpatialReferenceShadow, 0);
           ^~~
extensions/osr_wrap.cpp:15462:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OSRSpatialReferenceShadow, 0);
         ^~~
extensions/osr_wrap.cpp:15469:15: warning: declaration of 'vptr' shadows a previous local [-Wshadow]
         void *vptr = 0;
               ^~~~
extensions/osr_wrap.cpp:15465:13: note: shadowed declaration is here
       void *vptr = 0;
             ^~~~
extensions/osr_wrap.cpp:15470:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_OGRCoordinateTransformationOptions, 0);
             ^~~
extensions/osr_wrap.cpp:15466:11: note: shadowed declaration is here
       int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_OSRSpatialReferenceShadow, 0);
           ^~~
extensions/osr_wrap.cpp: In function 'PyObject* _wrap_CoordinateTransformation_TransformPoint(PyObject*, PyObject*)':
extensions/osr_wrap.cpp:15818:13: warning: declaration of 'vptr' shadows a previous local [-Wshadow]
       void *vptr = 0;
             ^~~~
extensions/osr_wrap.cpp:15814:11: note: shadowed declaration is here
     void *vptr = 0;
           ^~~~
extensions/osr_wrap.cpp:15819:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0);
           ^~~
extensions/osr_wrap.cpp:15815:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OSRCoordinateTransformationShadow, 0);
         ^~~
extensions/osr_wrap.cpp:15832:13: warning: declaration of 'vptr' shadows a previous local [-Wshadow]
       void *vptr = 0;
             ^~~~
extensions/osr_wrap.cpp:15828:11: note: shadowed declaration is here
     void *vptr = 0;
           ^~~~
extensions/osr_wrap.cpp:15833:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0);
           ^~~
extensions/osr_wrap.cpp:15829:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OSRCoordinateTransformationShadow, 0);
         ^~~
extensions/osr_wrap.cpp:15847:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_double(argv[1], NULL);
             ^~~
extensions/osr_wrap.cpp:15843:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OSRCoordinateTransformationShadow, 0);
         ^~~
extensions/osr_wrap.cpp:15852:15: warning: declaration of 'res' shadows a previous local [-Wshadow]
           int res = SWIG_AsVal_double(argv[2], NULL);
               ^~~
extensions/osr_wrap.cpp:15843:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OSRCoordinateTransformationShadow, 0);
         ^~~
extensions/osr_wrap.cpp:15860:17: warning: declaration of 'res' shadows a previous local [-Wshadow]
             int res = SWIG_AsVal_double(argv[3], NULL);
                 ^~~
extensions/osr_wrap.cpp:15843:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OSRCoordinateTransformationShadow, 0);
         ^~~
extensions/osr_wrap.cpp:15877:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_double(argv[1], NULL);
             ^~~
extensions/osr_wrap.cpp:15873:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OSRCoordinateTransformationShadow, 0);
         ^~~
extensions/osr_wrap.cpp:15882:15: warning: declaration of 'res' shadows a previous local [-Wshadow]
           int res = SWIG_AsVal_double(argv[2], NULL);
               ^~~
extensions/osr_wrap.cpp:15873:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OSRCoordinateTransformationShadow, 0);
         ^~~
extensions/osr_wrap.cpp:15887:17: warning: declaration of 'res' shadows a previous local [-Wshadow]
             int res = SWIG_AsVal_double(argv[3], NULL);
                 ^~~
extensions/osr_wrap.cpp:15873:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OSRCoordinateTransformationShadow, 0);
         ^~~
extensions/osr_wrap.cpp:15892:19: warning: declaration of 'res' shadows a previous local [-Wshadow]
               int res = SWIG_AsVal_double(argv[4], NULL);
                   ^~~
extensions/osr_wrap.cpp:15873:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OSRCoordinateTransformationShadow, 0);
         ^~~
extensions/osr_wrap.cpp: In function 'PyObject* PyInit__osr()':
extensions/osr_wrap.cpp:2727:24: warning: no previous declaration for 'PyObject* PyInit__osr()' [-Wmissing-declarations]
 #  define SWIG_init    PyInit__osr
                        ^
extensions/osr_wrap.cpp:18796:1: note: in expansion of macro 'SWIG_init'
 SWIG_init(void) {
 ^~~~~~~~~
extensions/osr_wrap.cpp:982:65: warning: 'void PyEval_InitThreads()' is deprecated [-Wdeprecated-declarations]
 #     define SWIG_PYTHON_INITIALIZE_THREADS  PyEval_InitThreads()
                                                                 ^
extensions/osr_wrap.cpp:19118:3: note: in expansion of macro 'SWIG_PYTHON_INITIALIZE_THREADS'
   SWIG_PYTHON_INITIALIZE_THREADS;
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pkgbuild/geography/py-gdal/work.alpha/.buildlink/include/python3.11/Python.h:95:0,
                 from extensions/osr_wrap.cpp:180:
/tmp/pkgbuild/geography/py-gdal/work.alpha/.buildlink/include/python3.11/ceval.h:132:37: note: declared here
 Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
                                     ^~~~~~~~~~~~~~~~~~
c++ -pthread -shared -L. -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -I/usr/pkg/include -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-prototypes -Wmissing-declarations -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Wmissing-include-dirs -Werror=vla -Wdate-time -Wnull-dereference -Wduplicated-cond -Wfloat-conversion -DGNM_ENABLED -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include/netlib -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/port -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/generated_headers -I/usr/pkg/include -I/usr/pkg/include/openjpeg-2.5 -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/include -DGDAL_COMPILATION -DHAVE_XERCES -I/usr/pkg/include -I/usr/pkg/include/xercesc -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include/netlib -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/port -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/generated_headers -I/usr/pkg/include -I/usr/pkg/include/openjpeg-2.5 -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/include -DGDAL_COMPILATION build/temp.netbsd-9.0-alpha-cpython-311/extensions/osr_wrap.o -L../../.libs -L../../ -L/usr/pkg/lib -L/usr/pkg/lib -lgdal -o build/lib.netbsd-9.0-alpha-cpython-311/osgeo/_osr.so
building 'osgeo._ogr' extension
gcc -pthread -Wsign-compare -mieee -DNDEBUG -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -I/usr/pkg/include -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-prototypes -Wmissing-declarations -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Wmissing-include-dirs -Werror=vla -Wdate-time -Wnull-dereference -Wduplicated-cond -Wfloat-conversion -DGNM_ENABLED -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include/netlib -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/port -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/generated_headers -I/usr/pkg/include -I/usr/pkg/include/openjpeg-2.5 -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/include -DGDAL_COMPILATION -DHAVE_XERCES -I/usr/pkg/include -I/usr/pkg/include/xercesc -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include/netlib -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/port -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/generated_headers -I/usr/pkg/include -I/usr/pkg/include/openjpeg-2.5 -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/include -DGDAL_COMPILATION -fPIC -I../../port -I../../gcore -I../../alg -I../../ogr/ -I../../ogr/ogrsf_frmts -I../../gnm -I../../apps -I/usr/pkg/include/python3.11 -I. -I/usr/pkg/include -c extensions/ogr_wrap.cpp -o build/temp.netbsd-9.0-alpha-cpython-311/extensions/ogr_wrap.o -I/usr/pkg/include
cc1plus: warning: command line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command line option '-std=gnu99' is valid for C/ObjC but not for C++
cc1plus: warning: /usr/include/include: No such file or directory [-Wmissing-include-dirs]
extensions/ogr_wrap.cpp: In function 'void NeverCallMePlease()':
extensions/ogr_wrap.cpp:3023:6: warning: no previous declaration for 'void NeverCallMePlease()' [-Wmissing-declarations]
 void NeverCallMePlease() {
      ^~~~~~~~~~~~~~~~~
extensions/ogr_wrap.cpp: In function 'int GetGEOSVersionMajor()':
extensions/ogr_wrap.cpp:3371:5: warning: no previous declaration for 'int GetGEOSVersionMajor()' [-Wmissing-declarations]
 int GetGEOSVersionMajor() {
     ^~~~~~~~~~~~~~~~~~~
extensions/ogr_wrap.cpp: In function 'int GetGEOSVersionMinor()':
extensions/ogr_wrap.cpp:3377:5: warning: no previous declaration for 'int GetGEOSVersionMinor()' [-Wmissing-declarations]
 int GetGEOSVersionMinor() {
     ^~~~~~~~~~~~~~~~~~~
extensions/ogr_wrap.cpp: In function 'int GetGEOSVersionMicro()':
extensions/ogr_wrap.cpp:3383:5: warning: no previous declaration for 'int GetGEOSVersionMicro()' [-Wmissing-declarations]
 int GetGEOSVersionMicro() {
     ^~~~~~~~~~~~~~~~~~~
extensions/ogr_wrap.cpp: In function 'const char* OGRFieldDefnShadow_GetFieldTypeName(OGRFieldDefnShadow*, OGRFieldType)':
extensions/ogr_wrap.cpp:4680:80: warning: unused parameter 'self' [-Wunused-parameter]
 SWIGINTERN char const *OGRFieldDefnShadow_GetFieldTypeName(OGRFieldDefnShadow *self,OGRFieldType type){
                                                                                ^~~~
extensions/ogr_wrap.cpp: In function 'OGRGeometryShadow* CreateGeometryFromWkb(size_t, char*, OSRSpatialReferenceShadow*)':
extensions/ogr_wrap.cpp:4763:22: warning: no previous declaration for 'OGRGeometryShadow* CreateGeometryFromWkb(size_t, char*, OSRSpatialReferenceShadow*)' [-Wmissing-declarations]
   OGRGeometryShadow* CreateGeometryFromWkb( size_t len, char *bin_string,
                      ^~~~~~~~~~~~~~~~~~~~~
extensions/ogr_wrap.cpp: In function 'OGRGeometryShadow* CreateGeometryFromWkt(char**, OSRSpatialReferenceShadow*)':
extensions/ogr_wrap.cpp:4894:22: warning: no previous declaration for 'OGRGeometryShadow* CreateGeometryFromWkt(char**, OSRSpatialReferenceShadow*)' [-Wmissing-declarations]
   OGRGeometryShadow* CreateGeometryFromWkt( char **val,
                      ^~~~~~~~~~~~~~~~~~~~~
extensions/ogr_wrap.cpp: In function 'OGRGeometryShadow* CreateGeometryFromGML(const char*)':
extensions/ogr_wrap.cpp:4909:22: warning: no previous declaration for 'OGRGeometryShadow* CreateGeometryFromGML(const char*)' [-Wmissing-declarations]
   OGRGeometryShadow *CreateGeometryFromGML( const char * input_string ) {
                      ^~~~~~~~~~~~~~~~~~~~~
extensions/ogr_wrap.cpp: In function 'OGRGeometryShadow* CreateGeometryFromJson(const char*)':
extensions/ogr_wrap.cpp:4916:22: warning: no previous declaration for 'OGRGeometryShadow* CreateGeometryFromJson(const char*)' [-Wmissing-declarations]
   OGRGeometryShadow *CreateGeometryFromJson( const char * input_string ) {
                      ^~~~~~~~~~~~~~~~~~~~~~
extensions/ogr_wrap.cpp: In function 'OGRGeometryShadow* CreateGeometryFromEsriJson(const char*)':
extensions/ogr_wrap.cpp:4923:22: warning: no previous declaration for 'OGRGeometryShadow* CreateGeometryFromEsriJson(const char*)' [-Wmissing-declarations]
   OGRGeometryShadow *CreateGeometryFromEsriJson( const char * input_string ) {
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/ogr_wrap.cpp: In function 'OGRGeometryShadow* BuildPolygonFromEdges(OGRGeometryShadow*, int, int, double)':
extensions/ogr_wrap.cpp:4930:22: warning: no previous declaration for 'OGRGeometryShadow* BuildPolygonFromEdges(OGRGeometryShadow*, int, int, double)' [-Wmissing-declarations]
   OGRGeometryShadow* BuildPolygonFromEdges( OGRGeometryShadow*  hLineCollection,
                      ^~~~~~~~~~~~~~~~~~~~~
extensions/ogr_wrap.cpp: In function 'OGRGeometryShadow* ApproximateArcAngles(double, double, double, double, double, double, double, double, double)':
extensions/ogr_wrap.cpp:4951:22: warning: no previous declaration for 'OGRGeometryShadow* ApproximateArcAngles(double, double, double, double, double, double, double, double, double)' [-Wmissing-declarations]
   OGRGeometryShadow* ApproximateArcAngles(
                      ^~~~~~~~~~~~~~~~~~~~
extensions/ogr_wrap.cpp: In function 'OGRGeometryShadow* ForceToPolygon(OGRGeometryShadow*)':
extensions/ogr_wrap.cpp:4964:20: warning: no previous declaration for 'OGRGeometryShadow* ForceToPolygon(OGRGeometryShadow*)' [-Wmissing-declarations]
 OGRGeometryShadow* ForceToPolygon( OGRGeometryShadow *geom_in ) {
                    ^~~~~~~~~~~~~~
extensions/ogr_wrap.cpp: In function 'OGRGeometryShadow* ForceToLineString(OGRGeometryShadow*)':
extensions/ogr_wrap.cpp:4971:20: warning: no previous declaration for 'OGRGeometryShadow* ForceToLineString(OGRGeometryShadow*)' [-Wmissing-declarations]
 OGRGeometryShadow* ForceToLineString( OGRGeometryShadow *geom_in ) {
                    ^~~~~~~~~~~~~~~~~
extensions/ogr_wrap.cpp: In function 'OGRGeometryShadow* ForceToMultiPolygon(OGRGeometryShadow*)':
extensions/ogr_wrap.cpp:4978:20: warning: no previous declaration for 'OGRGeometryShadow* ForceToMultiPolygon(OGRGeometryShadow*)' [-Wmissing-declarations]
 OGRGeometryShadow* ForceToMultiPolygon( OGRGeometryShadow *geom_in ) {
                    ^~~~~~~~~~~~~~~~~~~
extensions/ogr_wrap.cpp: In function 'OGRGeometryShadow* ForceToMultiPoint(OGRGeometryShadow*)':
extensions/ogr_wrap.cpp:4985:20: warning: no previous declaration for 'OGRGeometryShadow* ForceToMultiPoint(OGRGeometryShadow*)' [-Wmissing-declarations]
 OGRGeometryShadow* ForceToMultiPoint( OGRGeometryShadow *geom_in ) {
                    ^~~~~~~~~~~~~~~~~
extensions/ogr_wrap.cpp: In function 'OGRGeometryShadow* ForceToMultiLineString(OGRGeometryShadow*)':
extensions/ogr_wrap.cpp:4992:20: warning: no previous declaration for 'OGRGeometryShadow* ForceToMultiLineString(OGRGeometryShadow*)' [-Wmissing-declarations]
 OGRGeometryShadow* ForceToMultiLineString( OGRGeometryShadow *geom_in ) {
                    ^~~~~~~~~~~~~~~~~~~~~~
extensions/ogr_wrap.cpp: In function 'OGRGeometryShadow* ForceTo(OGRGeometryShadow*, OGRwkbGeometryType, char**)':
extensions/ogr_wrap.cpp:4999:20: warning: no previous declaration for 'OGRGeometryShadow* ForceTo(OGRGeometryShadow*, OGRwkbGeometryType, char**)' [-Wmissing-declarations]
 OGRGeometryShadow* ForceTo( OGRGeometryShadow *geom_in, OGRwkbGeometryType eTargetType, char** options = NULL ) {
                    ^~~~~~~
extensions/ogr_wrap.cpp: In function 'const char* OGRDriverShadow_get_name(OGRDriverShadow*)':
extensions/ogr_wrap.cpp:5574:13: warning: no previous declaration for 'const char* OGRDriverShadow_get_name(OGRDriverShadow*)' [-Wmissing-declarations]
 char const *OGRDriverShadow_get_name( OGRDriverShadow *h ) {
             ^~~~~~~~~~~~~~~~~~~~~~~~
extensions/ogr_wrap.cpp: In function 'const char* OGRDataSourceShadow_get_name(OGRDataSourceShadow*)':
extensions/ogr_wrap.cpp:5578:13: warning: no previous declaration for 'const char* OGRDataSourceShadow_get_name(OGRDataSourceShadow*)' [-Wmissing-declarations]
 char const *OGRDataSourceShadow_get_name( OGRDataSourceShadow *h ) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/ogr_wrap.cpp: In function 'const char* OGRDriverShadow_name_get(OGRDriverShadow*)':
extensions/ogr_wrap.cpp:5582:13: warning: no previous declaration for 'const char* OGRDriverShadow_name_get(OGRDriverShadow*)' [-Wmissing-declarations]
 char const *OGRDriverShadow_name_get( OGRDriverShadow *h ) {
             ^~~~~~~~~~~~~~~~~~~~~~~~
extensions/ogr_wrap.cpp: In function 'const char* OGRDataSourceShadow_name_get(OGRDataSourceShadow*)':
extensions/ogr_wrap.cpp:5586:13: warning: no previous declaration for 'const char* OGRDataSourceShadow_name_get(OGRDataSourceShadow*)' [-Wmissing-declarations]
 char const *OGRDataSourceShadow_name_get( OGRDataSourceShadow *h ) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/ogr_wrap.cpp: In function 'OGRwkbGeometryType GT_SetModifier(OGRwkbGeometryType, int, int)':
extensions/ogr_wrap.cpp:5591:20: warning: no previous declaration for 'OGRwkbGeometryType GT_SetModifier(OGRwkbGeometryType, int, int)' [-Wmissing-declarations]
 OGRwkbGeometryType GT_SetModifier( OGRwkbGeometryType eType, int bSetZ, int bSetM = FALSE)
                    ^~~~~~~~~~~~~~
extensions/ogr_wrap.cpp: In function 'OGRDataSourceShadow* GetOpenDS(int)':
extensions/ogr_wrap.cpp:5597:24: warning: no previous declaration for 'OGRDataSourceShadow* GetOpenDS(int)' [-Wmissing-declarations]
   OGRDataSourceShadow* GetOpenDS(int ds_number) {
                        ^~~~~~~~~
extensions/ogr_wrap.cpp: In function 'OGRDataSourceShadow* Open(const char*, int)':
extensions/ogr_wrap.cpp:5603:24: warning: no previous declaration for 'OGRDataSourceShadow* Open(const char*, int)' [-Wmissing-declarations]
   OGRDataSourceShadow* Open( const char *utf8_path, int update =0 ) {
                        ^~~~
extensions/ogr_wrap.cpp: In function 'OGRDataSourceShadow* OpenShared(const char*, int)':
extensions/ogr_wrap.cpp:5620:24: warning: no previous declaration for 'OGRDataSourceShadow* OpenShared(const char*, int)' [-Wmissing-declarations]
   OGRDataSourceShadow* OpenShared( const char *utf8_path, int update =0 ) {
                        ^~~~~~~~~~
extensions/ogr_wrap.cpp: In function 'char** GeneralCmdLineProcessor(char**, int)':
extensions/ogr_wrap.cpp:5645:10: warning: no previous declaration for 'char** GeneralCmdLineProcessor(char**, int)' [-Wmissing-declarations]
   char **GeneralCmdLineProcessor( char **papszArgv, int nOptions = 0 ) {
          ^~~~~~~~~~~~~~~~~~~~~~~
extensions/ogr_wrap.cpp: In function 'PyObject* _wrap_MajorObject_SetMetadata(PyObject*, PyObject*)':
extensions/ogr_wrap.cpp:6263:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
             ^~~
extensions/ogr_wrap.cpp:6249:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GDALMajorObjectShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:6277:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:6274:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_GDALMajorObjectShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:6283:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
             ^~~
extensions/ogr_wrap.cpp:6277:11: note: shadowed declaration is here
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp: In function 'PyObject* _wrap_Layer_SetSpatialFilter(PyObject*, PyObject*)':
extensions/ogr_wrap.cpp:9071:13: warning: declaration of 'vptr' shadows a previous local [-Wshadow]
       void *vptr = 0;
             ^~~~
extensions/ogr_wrap.cpp:9067:11: note: shadowed declaration is here
     void *vptr = 0;
           ^~~~
extensions/ogr_wrap.cpp:9072:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_OGRGeometryShadow, 0);
           ^~~
extensions/ogr_wrap.cpp:9068:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRLayerShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:9086:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:9082:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRLayerShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:9090:15: warning: declaration of 'vptr' shadows a previous local [-Wshadow]
         void *vptr = 0;
               ^~~~
extensions/ogr_wrap.cpp:9081:11: note: shadowed declaration is here
     void *vptr = 0;
           ^~~~
extensions/ogr_wrap.cpp:9091:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_OGRGeometryShadow, 0);
             ^~~
extensions/ogr_wrap.cpp:9082:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRLayerShadow, 0);
         ^~~
extensions/ogr_wrap.cpp: In function 'PyObject* _wrap_Layer_SetSpatialFilterRect(PyObject*, PyObject*)':
extensions/ogr_wrap.cpp:9202:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_double(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:9198:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRLayerShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:9207:15: warning: declaration of 'res' shadows a previous local [-Wshadow]
           int res = SWIG_AsVal_double(argv[2], NULL);
               ^~~
extensions/ogr_wrap.cpp:9198:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRLayerShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:9212:17: warning: declaration of 'res' shadows a previous local [-Wshadow]
             int res = SWIG_AsVal_double(argv[3], NULL);
                 ^~~
extensions/ogr_wrap.cpp:9198:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRLayerShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:9217:19: warning: declaration of 'res' shadows a previous local [-Wshadow]
               int res = SWIG_AsVal_double(argv[4], NULL);
                   ^~~
extensions/ogr_wrap.cpp:9198:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRLayerShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:9235:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:9231:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRLayerShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:9240:15: warning: declaration of 'res' shadows a previous local [-Wshadow]
           int res = SWIG_AsVal_double(argv[2], NULL);
               ^~~
extensions/ogr_wrap.cpp:9231:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRLayerShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:9245:17: warning: declaration of 'res' shadows a previous local [-Wshadow]
             int res = SWIG_AsVal_double(argv[3], NULL);
                 ^~~
extensions/ogr_wrap.cpp:9231:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRLayerShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:9250:19: warning: declaration of 'res' shadows a previous local [-Wshadow]
               int res = SWIG_AsVal_double(argv[4], NULL);
                   ^~~
extensions/ogr_wrap.cpp:9231:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRLayerShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:9255:21: warning: declaration of 'res' shadows a previous local [-Wshadow]
                 int res = SWIG_AsVal_double(argv[5], NULL);
                     ^~~
extensions/ogr_wrap.cpp:9231:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRLayerShadow, 0);
         ^~~
extensions/ogr_wrap.cpp: In function 'PyObject* _wrap_Feature_SetGeomField(PyObject*, PyObject*)':
extensions/ogr_wrap.cpp:12802:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:12798:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:12806:15: warning: declaration of 'vptr' shadows a previous local [-Wshadow]
         void *vptr = 0;
               ^~~~
extensions/ogr_wrap.cpp:12797:11: note: shadowed declaration is here
     void *vptr = 0;
           ^~~~
extensions/ogr_wrap.cpp:12807:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_OGRGeometryShadow, 0);
             ^~~
extensions/ogr_wrap.cpp:12798:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:12821:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:12818:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:12824:15: warning: declaration of 'vptr' shadows a previous local [-Wshadow]
         void *vptr = 0;
               ^~~~
extensions/ogr_wrap.cpp:12817:11: note: shadowed declaration is here
     void *vptr = 0;
           ^~~~
extensions/ogr_wrap.cpp:12825:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_OGRGeometryShadow, 0);
             ^~~
extensions/ogr_wrap.cpp:12821:11: note: shadowed declaration is here
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp: In function 'PyObject* _wrap_Feature_SetGeomFieldDirectly(PyObject*, PyObject*)':
extensions/ogr_wrap.cpp:13007:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:13003:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:13011:15: warning: declaration of 'vptr' shadows a previous local [-Wshadow]
         void *vptr = 0;
               ^~~~
extensions/ogr_wrap.cpp:13002:11: note: shadowed declaration is here
     void *vptr = 0;
           ^~~~
extensions/ogr_wrap.cpp:13012:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_OGRGeometryShadow, 0);
             ^~~
extensions/ogr_wrap.cpp:13003:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:13026:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:13023:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:13029:15: warning: declaration of 'vptr' shadows a previous local [-Wshadow]
         void *vptr = 0;
               ^~~~
extensions/ogr_wrap.cpp:13022:11: note: shadowed declaration is here
     void *vptr = 0;
           ^~~~
extensions/ogr_wrap.cpp:13030:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_OGRGeometryShadow, 0);
             ^~~
extensions/ogr_wrap.cpp:13026:11: note: shadowed declaration is here
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp: In function 'PyObject* _wrap_Feature_GetGeomFieldRef(PyObject*, PyObject*)':
extensions/ogr_wrap.cpp:13168:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:13164:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:13182:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:13179:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp: In function 'PyObject* _wrap_Feature_GetFieldDefnRef(PyObject*, PyObject*)':
extensions/ogr_wrap.cpp:13454:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:13450:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:13468:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:13465:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp: In function 'PyObject* _wrap_Feature_GetGeomFieldDefnRef(PyObject*, PyObject*)':
extensions/ogr_wrap.cpp:13646:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:13642:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:13660:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:13657:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp: In function 'PyObject* _wrap_Feature_GetFieldAsString(PyObject*, PyObject*)':
extensions/ogr_wrap.cpp:13797:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:13793:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:13811:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:13808:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp: In function 'PyObject* _wrap_Feature_GetFieldAsInteger(PyObject*, PyObject*)':
extensions/ogr_wrap.cpp:13948:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:13944:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:13962:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:13959:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp: In function 'PyObject* _wrap_Feature_GetFieldAsInteger64(PyObject*, PyObject*)':
extensions/ogr_wrap.cpp:14103:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:14099:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:14117:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:14114:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp: In function 'PyObject* _wrap_Feature_GetFieldAsDouble(PyObject*, PyObject*)':
extensions/ogr_wrap.cpp:14254:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:14250:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:14268:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:14265:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp: In function 'PyObject* _wrap_Feature_GetFieldAsDateTime(PyObject*, PyObject*)':
extensions/ogr_wrap.cpp:14543:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:14539:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:14557:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:14554:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp: In function 'PyObject* _wrap_Feature_GetFieldAsIntegerList(PyObject*, PyObject*)':
extensions/ogr_wrap.cpp:14730:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:14726:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:14744:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:14741:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp: In function 'PyObject* _wrap_Feature_GetFieldAsDoubleList(PyObject*, PyObject*)':
extensions/ogr_wrap.cpp:14986:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:14982:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:15000:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:14997:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp: In function 'PyObject* _wrap_Feature_GetFieldAsBinary(PyObject*, PyObject*)':
extensions/ogr_wrap.cpp:15276:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:15272:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:15290:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:15287:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp: In function 'PyObject* _wrap_Feature_IsFieldSet(PyObject*, PyObject*)':
extensions/ogr_wrap.cpp:15427:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:15423:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:15441:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:15438:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp: In function 'PyObject* _wrap_Feature_IsFieldNull(PyObject*, PyObject*)':
extensions/ogr_wrap.cpp:15578:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:15574:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:15592:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:15589:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp: In function 'PyObject* _wrap_Feature_IsFieldSetAndNotNull(PyObject*, PyObject*)':
extensions/ogr_wrap.cpp:15729:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:15725:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:15743:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:15740:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp: In function 'PyObject* _wrap_Feature_UnsetField(PyObject*, PyObject*)':
extensions/ogr_wrap.cpp:16139:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:16135:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:16153:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:16150:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp: In function 'PyObject* _wrap_Feature_SetFieldNull(PyObject*, PyObject*)':
extensions/ogr_wrap.cpp:16288:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:16284:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:16302:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:16299:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp: In function 'PyObject* _wrap_Feature_SetField(PyObject*, PyObject*)':
extensions/ogr_wrap.cpp:16880:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:16876:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:16885:15: warning: declaration of 'res' shadows a previous local [-Wshadow]
           int res = SWIG_AsVal_double(argv[2], NULL);
               ^~~
extensions/ogr_wrap.cpp:16876:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:16901:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:16897:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:16905:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
             ^~~
extensions/ogr_wrap.cpp:16897:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:16919:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:16916:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:16923:15: warning: declaration of 'res' shadows a previous local [-Wshadow]
           int res = SWIG_AsVal_double(argv[2], NULL);
               ^~~
extensions/ogr_wrap.cpp:16919:11: note: shadowed declaration is here
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:16938:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:16935:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:16941:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
             ^~~
extensions/ogr_wrap.cpp:16938:11: note: shadowed declaration is here
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:16956:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:16952:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:16961:15: warning: declaration of 'res' shadows a previous local [-Wshadow]
           int res = SWIG_AsVal_int(argv[2], NULL);
               ^~~
extensions/ogr_wrap.cpp:16952:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:16966:17: warning: declaration of 'res' shadows a previous local [-Wshadow]
             int res = SWIG_AsVal_int(argv[3], NULL);
                 ^~~
extensions/ogr_wrap.cpp:16952:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:16971:19: warning: declaration of 'res' shadows a previous local [-Wshadow]
               int res = SWIG_AsVal_int(argv[4], NULL);
                   ^~~
extensions/ogr_wrap.cpp:16952:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:16976:21: warning: declaration of 'res' shadows a previous local [-Wshadow]
                 int res = SWIG_AsVal_int(argv[5], NULL);
                     ^~~
extensions/ogr_wrap.cpp:16952:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:16981:23: warning: declaration of 'res' shadows a previous local [-Wshadow]
                   int res = SWIG_AsVal_int(argv[6], NULL);
                       ^~~
extensions/ogr_wrap.cpp:16952:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:16986:25: warning: declaration of 'res' shadows a previous local [-Wshadow]
                     int res = SWIG_AsVal_float(argv[7], NULL);
                         ^~~
extensions/ogr_wrap.cpp:16952:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:16991:27: warning: declaration of 'res' shadows a previous local [-Wshadow]
                       int res = SWIG_AsVal_int(argv[8], NULL);
                           ^~~
extensions/ogr_wrap.cpp:16952:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:17012:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:17009:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:17016:15: warning: declaration of 'res' shadows a previous local [-Wshadow]
           int res = SWIG_AsVal_int(argv[2], NULL);
               ^~~
extensions/ogr_wrap.cpp:17012:11: note: shadowed declaration is here
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:17021:17: warning: declaration of 'res' shadows a previous local [-Wshadow]
             int res = SWIG_AsVal_int(argv[3], NULL);
                 ^~~
extensions/ogr_wrap.cpp:17012:11: note: shadowed declaration is here
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:17026:19: warning: declaration of 'res' shadows a previous local [-Wshadow]
               int res = SWIG_AsVal_int(argv[4], NULL);
                   ^~~
extensions/ogr_wrap.cpp:17012:11: note: shadowed declaration is here
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:17031:21: warning: declaration of 'res' shadows a previous local [-Wshadow]
                 int res = SWIG_AsVal_int(argv[5], NULL);
                     ^~~
extensions/ogr_wrap.cpp:17012:11: note: shadowed declaration is here
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:17036:23: warning: declaration of 'res' shadows a previous local [-Wshadow]
                   int res = SWIG_AsVal_int(argv[6], NULL);
                       ^~~
extensions/ogr_wrap.cpp:17012:11: note: shadowed declaration is here
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:17041:25: warning: declaration of 'res' shadows a previous local [-Wshadow]
                     int res = SWIG_AsVal_float(argv[7], NULL);
                         ^~~
extensions/ogr_wrap.cpp:17012:11: note: shadowed declaration is here
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:17046:27: warning: declaration of 'res' shadows a previous local [-Wshadow]
                       int res = SWIG_AsVal_int(argv[8], NULL);
                           ^~~
extensions/ogr_wrap.cpp:17012:11: note: shadowed declaration is here
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp: In function 'PyObject* _wrap_Feature_SetFieldBinaryFromHexString(PyObject*, PyObject*)':
extensions/ogr_wrap.cpp:17516:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:17512:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:17520:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
             ^~~
extensions/ogr_wrap.cpp:17512:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:17534:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:17531:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:17537:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
             ^~~
extensions/ogr_wrap.cpp:17534:11: note: shadowed declaration is here
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp: In function 'PyObject* _wrap_Feature_GetFieldType(PyObject*, PyObject*)':
extensions/ogr_wrap.cpp:17944:13: warning: declaration of 'res' shadows a previous local [-Wshadow]
         int res = SWIG_AsVal_int(argv[1], NULL);
             ^~~
extensions/ogr_wrap.cpp:17940:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:17958:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
           ^~~
extensions/ogr_wrap.cpp:17955:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRFeatureShadow, 0);
         ^~~
extensions/ogr_wrap.cpp: In function 'PyObject* _wrap_Geometry_Transform(PyObject*, PyObject*)':
extensions/ogr_wrap.cpp:27457:13: warning: declaration of 'vptr' shadows a previous local [-Wshadow]
       void *vptr = 0;
             ^~~~
extensions/ogr_wrap.cpp:27453:11: note: shadowed declaration is here
     void *vptr = 0;
           ^~~~
extensions/ogr_wrap.cpp:27458:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_OSRCoordinateTransformationShadow, 0);
           ^~~
extensions/ogr_wrap.cpp:27454:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRGeometryShadow, 0);
         ^~~
extensions/ogr_wrap.cpp:27471:13: warning: declaration of 'vptr' shadows a previous local [-Wshadow]
       void *vptr = 0;
             ^~~~
extensions/ogr_wrap.cpp:27467:11: note: shadowed declaration is here
     void *vptr = 0;
           ^~~~
extensions/ogr_wrap.cpp:27472:11: warning: declaration of 'res' shadows a previous local [-Wshadow]
       int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_OGRGeomTransformerShadow, 0);
           ^~~
extensions/ogr_wrap.cpp:27468:9: note: shadowed declaration is here
     int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OGRGeometryShadow, 0);
         ^~~
extensions/ogr_wrap.cpp: In function 'PyObject* PyInit__ogr()':
extensions/ogr_wrap.cpp:2741:24: warning: no previous declaration for 'PyObject* PyInit__ogr()' [-Wmissing-declarations]
 #  define SWIG_init    PyInit__ogr
                        ^
extensions/ogr_wrap.cpp:36657:1: note: in expansion of macro 'SWIG_init'
 SWIG_init(void) {
 ^~~~~~~~~
extensions/ogr_wrap.cpp:982:65: warning: 'void PyEval_InitThreads()' is deprecated [-Wdeprecated-declarations]
 #     define SWIG_PYTHON_INITIALIZE_THREADS  PyEval_InitThreads()
                                                                 ^
extensions/ogr_wrap.cpp:36954:3: note: in expansion of macro 'SWIG_PYTHON_INITIALIZE_THREADS'
   SWIG_PYTHON_INITIALIZE_THREADS;
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pkgbuild/geography/py-gdal/work.alpha/.buildlink/include/python3.11/Python.h:95:0,
                 from extensions/ogr_wrap.cpp:180:
/tmp/pkgbuild/geography/py-gdal/work.alpha/.buildlink/include/python3.11/ceval.h:132:37: note: declared here
 Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
                                     ^~~~~~~~~~~~~~~~~~
c++ -pthread -shared -L. -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -I/usr/pkg/include -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-prototypes -Wmissing-declarations -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Wmissing-include-dirs -Werror=vla -Wdate-time -Wnull-dereference -Wduplicated-cond -Wfloat-conversion -DGNM_ENABLED -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include/netlib -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/port -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/generated_headers -I/usr/pkg/include -I/usr/pkg/include/openjpeg-2.5 -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/include -DGDAL_COMPILATION -DHAVE_XERCES -I/usr/pkg/include -I/usr/pkg/include/xercesc -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include/netlib -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/port -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/generated_headers -I/usr/pkg/include -I/usr/pkg/include/openjpeg-2.5 -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/include -DGDAL_COMPILATION build/temp.netbsd-9.0-alpha-cpython-311/extensions/ogr_wrap.o -L../../.libs -L../../ -L/usr/pkg/lib -L/usr/pkg/lib -lgdal -o build/lib.netbsd-9.0-alpha-cpython-311/osgeo/_ogr.so
building 'osgeo._gnm' extension
gcc -pthread -Wsign-compare -mieee -DNDEBUG -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -I/usr/pkg/include -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-prototypes -Wmissing-declarations -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Wmissing-include-dirs -Werror=vla -Wdate-time -Wnull-dereference -Wduplicated-cond -Wfloat-conversion -DGNM_ENABLED -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include/netlib -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/port -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/generated_headers -I/usr/pkg/include -I/usr/pkg/include/openjpeg-2.5 -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/include -DGDAL_COMPILATION -DHAVE_XERCES -I/usr/pkg/include -I/usr/pkg/include/xercesc -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include/netlib -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/port -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/generated_headers -I/usr/pkg/include -I/usr/pkg/include/openjpeg-2.5 -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/include -DGDAL_COMPILATION -fPIC -I../../port -I../../gcore -I../../alg -I../../ogr/ -I../../ogr/ogrsf_frmts -I../../gnm -I../../apps -I/usr/pkg/include/python3.11 -I. -I/usr/pkg/include -c extensions/gnm_wrap.cpp -o build/temp.netbsd-9.0-alpha-cpython-311/extensions/gnm_wrap.o -I/usr/pkg/include
cc1plus: warning: command line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command line option '-std=gnu99' is valid for C/ObjC but not for C++
cc1plus: warning: /usr/include/include: No such file or directory [-Wmissing-include-dirs]
extensions/gnm_wrap.cpp: In function 'void NeverCallMePlease()':
extensions/gnm_wrap.cpp:2957:6: warning: no previous declaration for 'void NeverCallMePlease()' [-Wmissing-declarations]
 void NeverCallMePlease() {
      ^~~~~~~~~~~~~~~~~
extensions/gnm_wrap.cpp: In function 'GNMNetworkShadow* CastToNetwork(GDALMajorObjectShadow*)':
extensions/gnm_wrap.cpp:3163:21: warning: no previous declaration for 'GNMNetworkShadow* CastToNetwork(GDALMajorObjectShadow*)' [-Wmissing-declarations]
   GNMNetworkShadow* CastToNetwork(GDALMajorObjectShadow* base) {
                     ^~~~~~~~~~~~~
extensions/gnm_wrap.cpp: In function 'GNMGenericNetworkShadow* CastToGenericNetwork(GDALMajorObjectShadow*)':
extensions/gnm_wrap.cpp:3168:28: warning: no previous declaration for 'GNMGenericNetworkShadow* CastToGenericNetwork(GDALMajorObjectShadow*)' [-Wmissing-declarations]
   GNMGenericNetworkShadow* CastToGenericNetwork(GDALMajorObjectShadow* base) {
                            ^~~~~~~~~~~~~~~~~~~~
extensions/gnm_wrap.cpp: In function 'PyObject* PyInit__gnm()':
extensions/gnm_wrap.cpp:2726:24: warning: no previous declaration for 'PyObject* PyInit__gnm()' [-Wmissing-declarations]
 #  define SWIG_init    PyInit__gnm
                        ^
extensions/gnm_wrap.cpp:6403:1: note: in expansion of macro 'SWIG_init'
 SWIG_init(void) {
 ^~~~~~~~~
extensions/gnm_wrap.cpp:982:65: warning: 'void PyEval_InitThreads()' is deprecated [-Wdeprecated-declarations]
 #     define SWIG_PYTHON_INITIALIZE_THREADS  PyEval_InitThreads()
                                                                 ^
extensions/gnm_wrap.cpp:6539:3: note: in expansion of macro 'SWIG_PYTHON_INITIALIZE_THREADS'
   SWIG_PYTHON_INITIALIZE_THREADS;
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pkgbuild/geography/py-gdal/work.alpha/.buildlink/include/python3.11/Python.h:95:0,
                 from extensions/gnm_wrap.cpp:180:
/tmp/pkgbuild/geography/py-gdal/work.alpha/.buildlink/include/python3.11/ceval.h:132:37: note: declared here
 Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
                                     ^~~~~~~~~~~~~~~~~~
c++ -pthread -shared -L. -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -I/usr/pkg/include -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-prototypes -Wmissing-declarations -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Wmissing-include-dirs -Werror=vla -Wdate-time -Wnull-dereference -Wduplicated-cond -Wfloat-conversion -DGNM_ENABLED -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include/netlib -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/port -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/generated_headers -I/usr/pkg/include -I/usr/pkg/include/openjpeg-2.5 -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/include -DGDAL_COMPILATION -DHAVE_XERCES -I/usr/pkg/include -I/usr/pkg/include/xercesc -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include/netlib -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/python3.11 -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/port -iquote /tmp/pkgbuild/geography/py-gdal/work.alpha/gdal-3.5.3/generated_headers -I/usr/pkg/include -I/usr/pkg/include/openjpeg-2.5 -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/include -DGDAL_COMPILATION build/temp.netbsd-9.0-alpha-cpython-311/extensions/gnm_wrap.o -L../../.libs -L../../ -L/usr/pkg/lib -L/usr/pkg/lib -lgdal -o build/lib.netbsd-9.0-alpha-cpython-311/osgeo/_gnm.so
running build_scripts
creating build/scripts-3.11
copying and adjusting gdal-utils/scripts/gdal_retile.py -> build/scripts-3.11
copying and adjusting gdal-utils/scripts/gdalattachpct.py -> build/scripts-3.11
copying and adjusting gdal-utils/scripts/gdal_edit.py -> build/scripts-3.11
copying and adjusting gdal-utils/scripts/gdal2xyz.py -> build/scripts-3.11
copying and adjusting gdal-utils/scripts/gdal_fillnodata.py -> build/scripts-3.11
copying and adjusting gdal-utils/scripts/ogrmerge.py -> build/scripts-3.11
copying and adjusting gdal-utils/scripts/gdal_calc.py -> build/scripts-3.11
copying and adjusting gdal-utils/scripts/gdal_polygonize.py -> build/scripts-3.11
copying and adjusting gdal-utils/scripts/rgb2pct.py -> build/scripts-3.11
copying and adjusting gdal-utils/scripts/gdal_pansharpen.py -> build/scripts-3.11
copying and adjusting gdal-utils/scripts/gdalmove.py -> build/scripts-3.11
copying and adjusting gdal-utils/scripts/gdal_sieve.py -> build/scripts-3.11
copying and adjusting gdal-utils/scripts/gdal_merge.py -> build/scripts-3.11
copying and adjusting gdal-utils/scripts/gdal_proximity.py -> build/scripts-3.11
copying and adjusting gdal-utils/scripts/pct2rgb.py -> build/scripts-3.11
copying and adjusting gdal-utils/scripts/gdalcompare.py -> build/scripts-3.11
copying and adjusting gdal-utils/scripts/gdal2tiles.py -> build/scripts-3.11
changing mode of build/scripts-3.11/gdal_retile.py from 644 to 755
changing mode of build/scripts-3.11/gdalattachpct.py from 644 to 755
changing mode of build/scripts-3.11/gdal_edit.py from 644 to 755
changing mode of build/scripts-3.11/gdal2xyz.py from 644 to 755
changing mode of build/scripts-3.11/gdal_fillnodata.py from 644 to 755
changing mode of build/scripts-3.11/ogrmerge.py from 644 to 755
changing mode of build/scripts-3.11/gdal_calc.py from 644 to 755
changing mode of build/scripts-3.11/gdal_polygonize.py from 644 to 755
changing mode of build/scripts-3.11/rgb2pct.py from 644 to 755
changing mode of build/scripts-3.11/gdal_pansharpen.py from 644 to 755
changing mode of build/scripts-3.11/gdalmove.py from 644 to 755
changing mode of build/scripts-3.11/gdal_sieve.py from 644 to 755
changing mode of build/scripts-3.11/gdal_merge.py from 644 to 755
changing mode of build/scripts-3.11/gdal_proximity.py from 644 to 755
changing mode of build/scripts-3.11/pct2rgb.py from 644 to 755
changing mode of build/scripts-3.11/gdalcompare.py from 644 to 755
changing mode of build/scripts-3.11/gdal2tiles.py from 644 to 755