------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 FLAVOR=py39 UNAME_r=6.5 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/construction/databases/py-pyodbc XDG_CONFIG_HOME=/construction/databases/py-pyodbc XDG_CACHE_HOME=/construction/databases/py-pyodbc/.cache HOME=/construction/databases/py-pyodbc TMPDIR="/tmp" PATH=/construction/databases/py-pyodbc/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/databases/py-pyodbc/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CMAKE_PREFIX_PATH="/usr/local" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ENV ------------------------------------------------------------------------------- XDG_DATA_HOME=/construction/databases/py-pyodbc XDG_CONFIG_HOME=/construction/databases/py-pyodbc XDG_CACHE_HOME=/construction/databases/py-pyodbc/.cache HOME=/construction/databases/py-pyodbc TMPDIR="/tmp" PATH=/construction/databases/py-pyodbc/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/databases/py-pyodbc/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 LDSHARED="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -isystem /usr/local/include -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-isystem /usr/local/include" LDFLAGS=" " LIBS="-L/usr/local/lib" CXX="c++" CXXFLAGS=" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ARGS ------------------------------------------------------------------------------- DESTDIR=/construction/databases/py-pyodbc/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- PYTHON_INCLUDEDIR=include/python3.9 PYTHON_LIBDIR=lib/python3.9 PYTHON_PLATFORM=dragonfly6 PYTHON_SITELIBDIR=lib/python3.9/site-packages PYTHON_SUFFIX=39 PYTHON_EXT_SUFFIX=.cpython-39 PYTHON_VER=3.9 PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=6.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/pyodbc" EXAMPLESDIR="share/examples/pyodbc" DATADIR="share/pyodbc" WWWDIR="www/pyodbc" ETCDIR="etc/pyodbc" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: SUB_LIST ------------------------------------------------------------------------------- PYTHON_INCLUDEDIR=/usr/local/include/python3.9 PYTHON_LIBDIR=/usr/local/lib/python3.9 PYTHON_PLATFORM=dragonfly6 PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages PYTHON_SUFFIX=39 PYTHON_EXT_SUFFIX=.cpython-39 PYTHON_VER=3.9 PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/pyodbc DOCSDIR=/usr/local/share/doc/pyodbc EXAMPLESDIR=/usr/local/share/examples/pyodbc WWWDIR=/usr/local/www/pyodbc ETCDIR=/usr/local/etc/pyodbc SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes DFLY_STING_XFAIL=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_COMPRESSION_FORMAT=.tgz DEVELOPER=1 WITH_CCACHE_BUILD=yes CCACHE_DIR=/ccache UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=600503 OSVERSION=9999999 OSREL=6.5 _OSRELEASE=6.5-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=13 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/unixODBC-2.3.11.pkg Installing /packages/All/indexinfo-0.3.1.pkg Installing /packages/All/libffi-3.4.4.pkg Installing /packages/All/expat-2.5.0.pkg Installing /packages/All/mpdecimal-2.5.1.pkg Installing /packages/All/ncurses-6.4.pkg ===== Message from ncurses-6.4: -- To get the terminfo database please install the terminfo-db package: pkg install terminfo-db Installing /packages/All/readline-8.2.1.pkg Installing /packages/All/gettext-runtime-0.21.1.pkg Installing /packages/All/openssl-1.1.1u,1.pkg Installing /packages/All/python39-3.9.17.pkg ===== Message from python39-3.9.17: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py39-gdbm databases/py-gdbm@py39 py39-sqlite3 databases/py-sqlite3@py39 py39-tkinter x11-toolkits/py-tkinter@py39 Installing /packages/All/py39-setuptools-63.1.0_1.pkg Installing /packages/All/ccache-3.7.12_4.pkg Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for gcc create symlink for gcc (world) create symlink for g++ create symlink for g++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. SUCCEEDED 00:00:03 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> py39-pyodbc-4.0.32 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> py39-pyodbc-4.0.32 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by py39-pyodbc-4.0.32 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> py39-pyodbc-4.0.32 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by py39-pyodbc-4.0.32 for building => SHA256 Checksum OK for pyodbc-4.0.32.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> py39-pyodbc-4.0.32 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by py39-pyodbc-4.0.32 for building ===> Extracting for py39-pyodbc-4.0.32 => SHA256 Checksum OK for pyodbc-4.0.32.tar.gz. Extracted Memory Use: 2.24M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for py39-pyodbc-4.0.32 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> py39-pyodbc-4.0.32 depends on package: unixODBC>=2.2.14 - found ===> py39-pyodbc-4.0.32 depends on package: py39-setuptools>=63.1.0 - found ===> py39-pyodbc-4.0.32 depends on file: /usr/local/bin/python3.9 - found ===> py39-pyodbc-4.0.32 depends on file: /usr/local/bin/ccache - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> py39-pyodbc-4.0.32 depends on shared library: libodbc.so - found (/usr/local/lib/libodbc.so) SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> py39-pyodbc-4.0.32 depends on package: unixODBC>=2.2.14 - found ===> py39-pyodbc-4.0.32 depends on package: py39-setuptools>=63.1.0 - found ===> py39-pyodbc-4.0.32 depends on file: /usr/local/bin/python3.9 - found ===> py39-pyodbc-4.0.32 depends on file: /usr/local/bin/ccache - found ===> py39-pyodbc-4.0.32 depends on shared library: libodbc.so - found (/usr/local/lib/libodbc.so) ===> Configuring for py39-pyodbc-4.0.32 running config SUCCEEDED 00:00:02 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for py39-pyodbc-4.0.32 running build running build_ext building 'pyodbc' extension creating build creating build/temp.dragonfly-6.5-x86_64-cpython-39 creating build/temp.dragonfly-6.5-x86_64-cpython-39/src cc -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DPYODBC_VERSION=4.0.32 -I/usr/local/include/python3.9 -c src/buffer.cpp -o build/temp.dragonfly-6.5-x86_64-cpython-39/src/buffer.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/local/include In file included from src/pyodbc.h:172, from src/buffer.cpp:12: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/buffer.cpp:12: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ In file included from src/pyodbc.h:172, from src/buffer.cpp:12: src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/buffer.cpp:12: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' return PyUnicode_AS_UNICODE(o); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' return PyUnicode_AS_UNICODE(o); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ cc -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DPYODBC_VERSION=4.0.32 -I/usr/local/include/python3.9 -c src/cnxninfo.cpp -o build/temp.dragonfly-6.5-x86_64-cpython-39/src/cnxninfo.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/local/include In file included from src/pyodbc.h:172, from src/cnxninfo.cpp:7: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/cnxninfo.cpp:7: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ In file included from src/pyodbc.h:172, from src/cnxninfo.cpp:7: src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/cnxninfo.cpp:7: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' return PyUnicode_AS_UNICODE(o); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' return PyUnicode_AS_UNICODE(o); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ src/cnxninfo.cpp: In function 'PyObject* GetHash(PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/cnxninfo.cpp:45:39: note: in expansion of macro 'PyUnicode_AS_UNICODE' Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/cnxninfo.cpp:45:39: note: in expansion of macro 'PyUnicode_AS_UNICODE' Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/cnxninfo.cpp:45:64: note: in expansion of macro 'PyUnicode_GET_SIZE' Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/cnxninfo.cpp:45:64: note: in expansion of macro 'PyUnicode_GET_SIZE' Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/cnxninfo.cpp:45:64: note: in expansion of macro 'PyUnicode_GET_SIZE' Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/cnxninfo.cpp:45:64: note: in expansion of macro 'PyUnicode_GET_SIZE' Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/cnxninfo.cpp:45:64: note: in expansion of macro 'PyUnicode_GET_SIZE' Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/cnxninfo.cpp:45:64: note: in expansion of macro 'PyUnicode_GET_SIZE' Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/cnxninfo.cpp:45:88: warning: 'PyObject* PyUnicode_EncodeUTF8(const Py_UNICODE*, Py_ssize_t, const char*)' is deprecated [-Wdeprecated-declarations] Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/cnxninfo.cpp:7: /usr/local/include/python3.9/cpython/unicodeobject.h:803:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF8( ^~~~~~~~~~~~~~~~~~~~ src/cnxninfo.cpp:45:88: warning: 'PyObject* PyUnicode_EncodeUTF8(const Py_UNICODE*, Py_ssize_t, const char*)' is deprecated [-Wdeprecated-declarations] Object bytes(PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(p), PyUnicode_GET_SIZE(p), 0)); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/cnxninfo.cpp:7: /usr/local/include/python3.9/cpython/unicodeobject.h:803:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF8( ^~~~~~~~~~~~~~~~~~~~ cc -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DPYODBC_VERSION=4.0.32 -I/usr/local/include/python3.9 -c src/connection.cpp -o build/temp.dragonfly-6.5-x86_64-cpython-39/src/connection.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/local/include In file included from src/pyodbc.h:172, from src/connection.cpp:11: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/connection.cpp:11: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ In file included from src/pyodbc.h:172, from src/connection.cpp:11: src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/connection.cpp:11: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' return PyUnicode_AS_UNICODE(o); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' return PyUnicode_AS_UNICODE(o); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ src/connection.cpp: In function 'bool ApplyPreconnAttrs(HDBC, SQLINTEGER, PyObject*, char*)': /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/connection.cpp:189:18: note: in expansion of macro 'PyUnicode_AS_UNICODE' ivalue = PyUnicode_AS_UNICODE(value); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/connection.cpp:189:18: note: in expansion of macro 'PyUnicode_AS_UNICODE' ivalue = PyUnicode_AS_UNICODE(value); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ cc -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DPYODBC_VERSION=4.0.32 -I/usr/local/include/python3.9 -c src/cursor.cpp -o build/temp.dragonfly-6.5-x86_64-cpython-39/src/cursor.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/local/include In file included from src/pyodbc.h:172, from src/cursor.cpp:15: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/cursor.cpp:15: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ In file included from src/pyodbc.h:172, from src/cursor.cpp:15: src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/cursor.cpp:15: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' return PyUnicode_AS_UNICODE(o); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' return PyUnicode_AS_UNICODE(o); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ cc -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DPYODBC_VERSION=4.0.32 -I/usr/local/include/python3.9 -c src/errors.cpp -o build/temp.dragonfly-6.5-x86_64-cpython-39/src/errors.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/local/include In file included from src/pyodbc.h:172, from src/errors.cpp:2: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/errors.cpp:2: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ In file included from src/pyodbc.h:172, from src/errors.cpp:2: src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/errors.cpp:2: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' return PyUnicode_AS_UNICODE(o); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' return PyUnicode_AS_UNICODE(o); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/python3.9/Python.h:140, from src/pyodbc.h:45, from src/errors.cpp:2: src/errors.cpp: In function 'PyObject* RaiseErrorV(const char*, PyObject*, const char*, ...)': /usr/local/include/python3.9/ceval.h:24:66: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations] PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) ^ src/errors.cpp:91:18: note: in expansion of macro 'PyEval_CallObject' pError = PyEval_CallObject(exc_class, pAttrs); ^~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/ceval.h:17:43: note: declared here Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/ceval.h:24:66: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations] PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) ^ src/errors.cpp:91:18: note: in expansion of macro 'PyEval_CallObject' pError = PyEval_CallObject(exc_class, pAttrs); ^~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/ceval.h:17:43: note: declared here Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/errors.cpp: In function 'PyObject* GetError(const char*, PyObject*, PyObject*)': /usr/local/include/python3.9/ceval.h:24:66: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations] PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) ^ src/errors.cpp:171:14: note: in expansion of macro 'PyEval_CallObject' pError = PyEval_CallObject(exc_class, pAttrs); // pError will incref pAttrs ^~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/ceval.h:17:43: note: declared here Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/ceval.h:24:66: warning: 'PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)' is deprecated [-Wdeprecated-declarations] PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) ^ src/errors.cpp:171:14: note: in expansion of macro 'PyEval_CallObject' pError = PyEval_CallObject(exc_class, pAttrs); // pError will incref pAttrs ^~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/ceval.h:17:43: note: declared here Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/errors.cpp: In function 'PyObject* GetErrorFromHandle(Connection*, const char*, HDBC, HSTMT)': src/errors.cpp:328:44: warning: 'Py_ssize_t PyUnicode_GetSize(PyObject*)' is deprecated [-Wdeprecated-declarations] if (!msg || PyUnicode_GetSize(msg.Get()) == 0) ^ In file included from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/errors.cpp:2: /usr/local/include/python3.9/unicodeobject.h:177:43: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize( ^~~~~~~~~~~~~~~~~ src/errors.cpp:328:44: warning: 'Py_ssize_t PyUnicode_GetSize(PyObject*)' is deprecated [-Wdeprecated-declarations] if (!msg || PyUnicode_GetSize(msg.Get()) == 0) ^ In file included from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/errors.cpp:2: /usr/local/include/python3.9/unicodeobject.h:177:43: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize( ^~~~~~~~~~~~~~~~~ cc -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DPYODBC_VERSION=4.0.32 -I/usr/local/include/python3.9 -c src/getdata.cpp -o build/temp.dragonfly-6.5-x86_64-cpython-39/src/getdata.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/local/include In file included from src/pyodbc.h:172, from src/getdata.cpp:5: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/getdata.cpp:5: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ In file included from src/pyodbc.h:172, from src/getdata.cpp:5: src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/getdata.cpp:5: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' return PyUnicode_AS_UNICODE(o); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' return PyUnicode_AS_UNICODE(o); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ cc -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DPYODBC_VERSION=4.0.32 -I/usr/local/include/python3.9 -c src/params.cpp -o build/temp.dragonfly-6.5-x86_64-cpython-39/src/params.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/local/include In file included from src/pyodbc.h:172, from src/params.cpp:10: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/params.cpp:10: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ In file included from src/pyodbc.h:172, from src/params.cpp:10: src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/params.cpp:10: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' return PyUnicode_AS_UNICODE(o); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' return PyUnicode_AS_UNICODE(o); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ src/params.cpp: In function 'int PyToCType(Cursor*, unsigned char**, PyObject*, ParamInfo*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/params.cpp:326:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t len = PyUnicode_GET_SIZE(cell); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/params.cpp:326:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t len = PyUnicode_GET_SIZE(cell); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/params.cpp:326:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t len = PyUnicode_GET_SIZE(cell); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/params.cpp:326:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t len = PyUnicode_GET_SIZE(cell); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/params.cpp:326:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t len = PyUnicode_GET_SIZE(cell); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/params.cpp:326:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t len = PyUnicode_GET_SIZE(cell); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:283:21: note: in expansion of macro 'PyUnicode_AS_UNICODE' ((const char *)(PyUnicode_AS_UNICODE(op))) ^~~~~~~~~~~~~~~~~~~~ src/params.cpp:387:33: note: in expansion of macro 'PyUnicode_AS_DATA' memcpy(*outbuf, PyUnicode_AS_DATA(cell), len); ^~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:283:21: note: in expansion of macro 'PyUnicode_AS_UNICODE' ((const char *)(PyUnicode_AS_UNICODE(op))) ^~~~~~~~~~~~~~~~~~~~ src/params.cpp:387:33: note: in expansion of macro 'PyUnicode_AS_DATA' memcpy(*outbuf, PyUnicode_AS_DATA(cell), len); ^~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ src/params.cpp: In function 'bool ExecuteMulti(Cursor*, PyObject*, PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:268:6: note: in expansion of macro 'PyUnicode_GET_SIZE' (PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE) ^~~~~~~~~~~~~~~~~~ src/params.cpp:1955:30: note: in expansion of macro 'PyUnicode_GET_DATA_SIZE' int cb = PyUnicode_GET_DATA_SIZE(objCell) / 2; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:268:6: note: in expansion of macro 'PyUnicode_GET_SIZE' (PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE) ^~~~~~~~~~~~~~~~~~ src/params.cpp:1955:30: note: in expansion of macro 'PyUnicode_GET_DATA_SIZE' int cb = PyUnicode_GET_DATA_SIZE(objCell) / 2; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ /usr/local/include/python3.9/cpython/unicodeobject.h:268:6: note: in expansion of macro 'PyUnicode_GET_SIZE' (PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE) ^~~~~~~~~~~~~~~~~~ src/params.cpp:1955:30: note: in expansion of macro 'PyUnicode_GET_DATA_SIZE' int cb = PyUnicode_GET_DATA_SIZE(objCell) / 2; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ /usr/local/include/python3.9/cpython/unicodeobject.h:268:6: note: in expansion of macro 'PyUnicode_GET_SIZE' (PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE) ^~~~~~~~~~~~~~~~~~ src/params.cpp:1955:30: note: in expansion of macro 'PyUnicode_GET_DATA_SIZE' int cb = PyUnicode_GET_DATA_SIZE(objCell) / 2; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:268:6: note: in expansion of macro 'PyUnicode_GET_SIZE' (PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE) ^~~~~~~~~~~~~~~~~~ src/params.cpp:1955:30: note: in expansion of macro 'PyUnicode_GET_DATA_SIZE' int cb = PyUnicode_GET_DATA_SIZE(objCell) / 2; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:268:6: note: in expansion of macro 'PyUnicode_GET_SIZE' (PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE) ^~~~~~~~~~~~~~~~~~ src/params.cpp:1955:30: note: in expansion of macro 'PyUnicode_GET_DATA_SIZE' int cb = PyUnicode_GET_DATA_SIZE(objCell) / 2; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/params.cpp:1958:48: note: in expansion of macro 'PyUnicode_AS_UNICODE' const Py_UNICODE* source = PyUnicode_AS_UNICODE(objCell); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/params.cpp:1958:48: note: in expansion of macro 'PyUnicode_AS_UNICODE' const Py_UNICODE* source = PyUnicode_AS_UNICODE(objCell); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ src/params.cpp:1963:74: warning: 'PyObject* PyUnicode_EncodeUTF8(const Py_UNICODE*, Py_ssize_t, const char*)' is deprecated [-Wdeprecated-declarations] bytes = PyUnicode_EncodeUTF8(source, cb, "strict"); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/params.cpp:10: /usr/local/include/python3.9/cpython/unicodeobject.h:803:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF8( ^~~~~~~~~~~~~~~~~~~~ src/params.cpp:1963:74: warning: 'PyObject* PyUnicode_EncodeUTF8(const Py_UNICODE*, Py_ssize_t, const char*)' is deprecated [-Wdeprecated-declarations] bytes = PyUnicode_EncodeUTF8(source, cb, "strict"); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/params.cpp:10: /usr/local/include/python3.9/cpython/unicodeobject.h:803:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF8( ^~~~~~~~~~~~~~~~~~~~ src/params.cpp:1966:93: warning: 'PyObject* PyUnicode_EncodeUTF16(const Py_UNICODE*, Py_ssize_t, const char*, int)' is deprecated [-Wdeprecated-declarations] bytes = PyUnicode_EncodeUTF16(source, cb, "strict", BYTEORDER_NATIVE); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/params.cpp:10: /usr/local/include/python3.9/cpython/unicodeobject.h:845:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF16( ^~~~~~~~~~~~~~~~~~~~~ src/params.cpp:1966:93: warning: 'PyObject* PyUnicode_EncodeUTF16(const Py_UNICODE*, Py_ssize_t, const char*, int)' is deprecated [-Wdeprecated-declarations] bytes = PyUnicode_EncodeUTF16(source, cb, "strict", BYTEORDER_NATIVE); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/params.cpp:10: /usr/local/include/python3.9/cpython/unicodeobject.h:845:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF16( ^~~~~~~~~~~~~~~~~~~~~ src/params.cpp:1969:89: warning: 'PyObject* PyUnicode_EncodeUTF16(const Py_UNICODE*, Py_ssize_t, const char*, int)' is deprecated [-Wdeprecated-declarations] bytes = PyUnicode_EncodeUTF16(source, cb, "strict", BYTEORDER_LE); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/params.cpp:10: /usr/local/include/python3.9/cpython/unicodeobject.h:845:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF16( ^~~~~~~~~~~~~~~~~~~~~ src/params.cpp:1969:89: warning: 'PyObject* PyUnicode_EncodeUTF16(const Py_UNICODE*, Py_ssize_t, const char*, int)' is deprecated [-Wdeprecated-declarations] bytes = PyUnicode_EncodeUTF16(source, cb, "strict", BYTEORDER_LE); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/params.cpp:10: /usr/local/include/python3.9/cpython/unicodeobject.h:845:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF16( ^~~~~~~~~~~~~~~~~~~~~ src/params.cpp:1972:89: warning: 'PyObject* PyUnicode_EncodeUTF16(const Py_UNICODE*, Py_ssize_t, const char*, int)' is deprecated [-Wdeprecated-declarations] bytes = PyUnicode_EncodeUTF16(source, cb, "strict", BYTEORDER_BE); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/params.cpp:10: /usr/local/include/python3.9/cpython/unicodeobject.h:845:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF16( ^~~~~~~~~~~~~~~~~~~~~ src/params.cpp:1972:89: warning: 'PyObject* PyUnicode_EncodeUTF16(const Py_UNICODE*, Py_ssize_t, const char*, int)' is deprecated [-Wdeprecated-declarations] bytes = PyUnicode_EncodeUTF16(source, cb, "strict", BYTEORDER_BE); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/params.cpp:10: /usr/local/include/python3.9/cpython/unicodeobject.h:845:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF16( ^~~~~~~~~~~~~~~~~~~~~ cc -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DPYODBC_VERSION=4.0.32 -I/usr/local/include/python3.9 -c src/pyodbccompat.cpp -o build/temp.dragonfly-6.5-x86_64-cpython-39/src/pyodbccompat.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/local/include In file included from src/pyodbc.h:172, from src/pyodbccompat.cpp:1: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/pyodbccompat.cpp:1: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ In file included from src/pyodbc.h:172, from src/pyodbccompat.cpp:1: src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/pyodbccompat.cpp:1: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' return PyUnicode_AS_UNICODE(o); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' return PyUnicode_AS_UNICODE(o); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.cpp: In function 'bool Text_EqualsI(PyObject*, const char*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.cpp:14:25: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cchLHS = PyUnicode_GET_SIZE(lhs); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.cpp:14:25: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cchLHS = PyUnicode_GET_SIZE(lhs); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.cpp:14:25: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cchLHS = PyUnicode_GET_SIZE(lhs); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.cpp:14:25: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cchLHS = PyUnicode_GET_SIZE(lhs); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.cpp:14:25: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cchLHS = PyUnicode_GET_SIZE(lhs); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.cpp:14:25: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cchLHS = PyUnicode_GET_SIZE(lhs); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.cpp:19:21: note: in expansion of macro 'PyUnicode_AS_UNICODE' Py_UNICODE* p = PyUnicode_AS_UNICODE(lhs); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.cpp:19:21: note: in expansion of macro 'PyUnicode_AS_UNICODE' Py_UNICODE* p = PyUnicode_AS_UNICODE(lhs); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ cc -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DPYODBC_VERSION=4.0.32 -I/usr/local/include/python3.9 -c src/pyodbcdbg.cpp -o build/temp.dragonfly-6.5-x86_64-cpython-39/src/pyodbcdbg.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/local/include In file included from src/pyodbc.h:172, from src/pyodbcdbg.cpp:2: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/pyodbcdbg.cpp:2: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ In file included from src/pyodbc.h:172, from src/pyodbcdbg.cpp:2: src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/pyodbcdbg.cpp:2: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' return PyUnicode_AS_UNICODE(o); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' return PyUnicode_AS_UNICODE(o); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ cc -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DPYODBC_VERSION=4.0.32 -I/usr/local/include/python3.9 -c src/pyodbcmodule.cpp -o build/temp.dragonfly-6.5-x86_64-cpython-39/src/pyodbcmodule.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/local/include In file included from src/pyodbc.h:172, from src/pyodbcmodule.cpp:11: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/pyodbcmodule.cpp:11: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ In file included from src/pyodbc.h:172, from src/pyodbcmodule.cpp:11: src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/pyodbcmodule.cpp:11: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' return PyUnicode_AS_UNICODE(o); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' return PyUnicode_AS_UNICODE(o); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp: In function 'void init_locale_info()': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:276:39: note: in expansion of macro 'PyUnicode_GET_SIZE' if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:276:39: note: in expansion of macro 'PyUnicode_GET_SIZE' if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbcmodule.cpp:276:39: note: in expansion of macro 'PyUnicode_GET_SIZE' if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbcmodule.cpp:276:39: note: in expansion of macro 'PyUnicode_GET_SIZE' if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:276:39: note: in expansion of macro 'PyUnicode_GET_SIZE' if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:276:39: note: in expansion of macro 'PyUnicode_GET_SIZE' if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbcmodule.cpp:277:25: note: in expansion of macro 'PyUnicode_AS_UNICODE' chDecimal = PyUnicode_AS_UNICODE(value)[0]; ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbcmodule.cpp:277:25: note: in expansion of macro 'PyUnicode_AS_UNICODE' chDecimal = PyUnicode_AS_UNICODE(value)[0]; ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp: In function 'PyObject* mod_setdecimalsep(PyObject*, PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:694:39: note: in expansion of macro 'PyUnicode_GET_SIZE' if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:694:39: note: in expansion of macro 'PyUnicode_GET_SIZE' if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbcmodule.cpp:694:39: note: in expansion of macro 'PyUnicode_GET_SIZE' if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbcmodule.cpp:694:39: note: in expansion of macro 'PyUnicode_GET_SIZE' if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:694:39: note: in expansion of macro 'PyUnicode_GET_SIZE' if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:694:39: note: in expansion of macro 'PyUnicode_GET_SIZE' if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1) ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbcmodule.cpp:695:25: note: in expansion of macro 'PyUnicode_AS_UNICODE' chDecimal = PyUnicode_AS_UNICODE(value)[0]; ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbcmodule.cpp:695:25: note: in expansion of macro 'PyUnicode_AS_UNICODE' chDecimal = PyUnicode_AS_UNICODE(value)[0]; ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp: In function 'PyObject* mod_getdecimalsep(PyObject*)': src/pyodbcmodule.cpp:703:47: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(&chDecimal, 1); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/pyodbcmodule.cpp:11: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:703:47: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(&chDecimal, 1); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/pyodbcmodule.cpp:11: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp: In function 'PyObject* MakeConnectionString(PyObject*, PyObject*)': src/pyodbcmodule.cpp:1335:55: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] PyObject* result = PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/pyodbcmodule.cpp:11: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ src/pyodbcmodule.cpp:1335:55: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] PyObject* result = PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/pyodbcmodule.cpp:11: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbcmodule.cpp:1339:26: note: in expansion of macro 'PyUnicode_AS_UNICODE' Py_UNICODE* buffer = PyUnicode_AS_UNICODE(result); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbcmodule.cpp:1339:26: note: in expansion of macro 'PyUnicode_AS_UNICODE' Py_UNICODE* buffer = PyUnicode_AS_UNICODE(result); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ cc -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DPYODBC_VERSION=4.0.32 -I/usr/local/include/python3.9 -c src/row.cpp -o build/temp.dragonfly-6.5-x86_64-cpython-39/src/row.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/local/include In file included from src/pyodbc.h:172, from src/row.cpp:12: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/row.cpp:12: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ In file included from src/pyodbc.h:172, from src/row.cpp:12: src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/row.cpp:12: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' return PyUnicode_AS_UNICODE(o); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' return PyUnicode_AS_UNICODE(o); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ cc -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DPYODBC_VERSION=4.0.32 -I/usr/local/include/python3.9 -c src/textenc.cpp -o build/temp.dragonfly-6.5-x86_64-cpython-39/src/textenc.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/local/include In file included from src/pyodbc.h:172, from src/textenc.cpp:2: src/pyodbccompat.h: In function 'PyObject* Text_New(Py_ssize_t)': src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/textenc.cpp:2: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ In file included from src/pyodbc.h:172, from src/textenc.cpp:2: src/pyodbccompat.h:75:43: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations] return PyUnicode_FromUnicode(0, length); ^ In file included from /usr/local/include/python3.9/unicodeobject.h:1026, from /usr/local/include/python3.9/Python.h:93, from src/pyodbc.h:45, from src/textenc.cpp:2: /usr/local/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_UNICODE* Text_Buffer(PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' return PyUnicode_AS_UNICODE(o); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:86:12: note: in expansion of macro 'PyUnicode_AS_UNICODE' return PyUnicode_AS_UNICODE(o); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t Text_Size(PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:126:40: note: in expansion of macro 'PyUnicode_GET_SIZE' return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0; ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h: In function 'Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)': /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op) : \ ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations] #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/local/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH' PyUnicode_WSTR_LENGTH(op))) ^~~~~~~~~~~~~~~~~~~~~ src/pyodbccompat.h:146:26: note: in expansion of macro 'PyUnicode_GET_SIZE' Py_ssize_t cch = PyUnicode_GET_SIZE(o); ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:279:45: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations] PyUnicode_AsUnicode(_PyObject_CAST(op))) ^ src/pyodbccompat.h:147:24: note: in expansion of macro 'PyUnicode_AS_UNICODE' memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE)); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^~~~~~~~~~~~~~~~~~~ creating build/lib.dragonfly-6.5-x86_64-cpython-39 c++ -shared -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include build/temp.dragonfly-6.5-x86_64-cpython-39/src/buffer.o build/temp.dragonfly-6.5-x86_64-cpython-39/src/cnxninfo.o build/temp.dragonfly-6.5-x86_64-cpython-39/src/connection.o build/temp.dragonfly-6.5-x86_64-cpython-39/src/cursor.o build/temp.dragonfly-6.5-x86_64-cpython-39/src/errors.o build/temp.dragonfly-6.5-x86_64-cpython-39/src/getdata.o build/temp.dragonfly-6.5-x86_64-cpython-39/src/params.o build/temp.dragonfly-6.5-x86_64-cpython-39/src/pyodbccompat.o build/temp.dragonfly-6.5-x86_64-cpython-39/src/pyodbcdbg.o build/temp.dragonfly-6.5-x86_64-cpython-39/src/pyodbcmodule.o build/temp.dragonfly-6.5-x86_64-cpython-39/src/row.o build/temp.dragonfly-6.5-x86_64-cpython-39/src/textenc.o -L/usr/local/lib -lodbc -o build/lib.dragonfly-6.5-x86_64-cpython-39/pyodbc.cpython-39.so -L/usr/local/lib -lodbc SUCCEEDED 00:00:12 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> py39-pyodbc-4.0.32 depends on package: py39-setuptools>=63.1.0 - found ===> py39-pyodbc-4.0.32 depends on file: /usr/local/bin/python3.9 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for py39-pyodbc-4.0.32 ===> py39-pyodbc-4.0.32 depends on package: py39-setuptools>=63.1.0 - found ===> py39-pyodbc-4.0.32 depends on file: /usr/local/bin/python3.9 - found ===> Generating temporary packing list running install /usr/local/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_ext running install_lib creating /construction/databases/py-pyodbc/stage/usr/local/lib/python3.9 creating /construction/databases/py-pyodbc/stage/usr/local/lib/python3.9/site-packages copying build/lib.dragonfly-6.5-x86_64-cpython-39/pyodbc.cpython-39.so -> /construction/databases/py-pyodbc/stage/usr/local/lib/python3.9/site-packages writing byte-compilation script '/tmp/tmpk_jyaq_b.py' /usr/local/bin/python3.9 /tmp/tmpk_jyaq_b.py removing /tmp/tmpk_jyaq_b.py running install_data copying src/pyodbc.pyi -> /construction/databases/py-pyodbc/stage/usr/local/ running install_egg_info running egg_info writing pyodbc.egg-info/PKG-INFO writing dependency_links to pyodbc.egg-info/dependency_links.txt writing top-level names to pyodbc.egg-info/top_level.txt reading manifest file 'pyodbc.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'pyodbc.egg-info/SOURCES.txt' Copying pyodbc.egg-info to /construction/databases/py-pyodbc/stage/usr/local/lib/python3.9/site-packages/pyodbc-4.0.32-py3.9.egg-info running install_scripts writing list of installed files to '/construction/databases/py-pyodbc/.PLIST.pymodtmp' ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:04 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for py39-pyodbc-4.0.32 file sizes/checksums [6]: 0% file sizes/checksums [6]: 100% Service unavailablepacking files [6]: 0% packing files [6]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:00 TOTAL TIME 00:00:23