==> Synchronizing chroot copy [/chroot/armv7h/root] -> [build]...done
==> Making package: python-pyodbc 4.0.34-1 (Tue Jul 26 18:59:42 2022)
==> Retrieving sources...
  -> Found 4.0.34.tar.gz
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    4.0.34.tar.gz ... Passed
==> Making package: python-pyodbc 4.0.34-1 (Tue 26 Jul 2022 06:59:59 PM EDT)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (3) libnsl-2.0.0-2  python-3.10.5-1  unixodbc-2.3.11-1

Total Download Size:    0.20 MiB
Total Installed Size:  51.30 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 unixodbc-2.3.11-1-armv7h
 unixodbc-2.3.11-...   200.7 KiB   264 KiB/s 00:01 [######################] 100%
(0/3) checking keys in keyring                     [----------------------]   0%
(1/3) checking keys in keyring                     [#######---------------]  33%
(2/3) checking keys in keyring                     [##############--------]  66%
(3/3) checking keys in keyring                     [######################] 100%

(0/3) checking package integrity                   [----------------------]   0%
(1/3) checking package integrity                   [----------------------]   0%
(2/3) checking package integrity                   [#####################-]  98%
(3/3) checking package integrity                   [######################] 100%

(0/3) loading package files                        [----------------------]   0%
(1/3) loading package files                        [----------------------]   0%
(2/3) loading package files                        [#####################-]  98%
(3/3) loading package files                        [######################] 100%

(0/3) checking for file conflicts                  [----------------------]   0%
(1/3) checking for file conflicts                  [#######---------------]  33%
(2/3) checking for file conflicts                  [##############--------]  66%
(3/3) checking for file conflicts                  [######################] 100%

(0/3) checking available disk space                [----------------------]   0%
(1/3) checking available disk space                [#######---------------]  33%
(2/3) checking available disk space                [##############--------]  66%
(3/3) checking available disk space                [######################] 100%

:: Processing package changes...
(1/3) installing libnsl                            [----------------------]   0%
(1/3) installing libnsl                            [######################] 100%

(2/3) installing python                            [----------------------]   0%
(2/3) installing python                            [----------------------]   0%
(2/3) installing python                            [----------------------]   0%
(2/3) installing python                            [##--------------------]  11%
(2/3) installing python                            [###-------------------]  15%
(2/3) installing python                            [####------------------]  20%
(2/3) installing python                            [#####-----------------]  23%
(2/3) installing python                            [#####-----------------]  27%
(2/3) installing python                            [########--------------]  37%
(2/3) installing python                            [#########-------------]  41%
(2/3) installing python                            [#########-------------]  43%
(2/3) installing python                            [#############---------]  62%
(2/3) installing python                            [###############-------]  71%
(2/3) installing python                            [################------]  75%
(2/3) installing python                            [#################-----]  81%
(2/3) installing python                            [##################----]  86%
(2/3) installing python                            [###################---]  90%
(2/3) installing python                            [####################--]  95%
(2/3) installing python                            [#####################-]  99%
(2/3) installing python                            [######################] 100%

Optional dependencies for python
    python-setuptools
    python-pip
    sqlite [installed]
    mpdecimal: for decimal
    xz: for lzma [installed]
    tk: for tkinter
(3/3) installing unixodbc                          [----------------------]   0%
(3/3) installing unixodbc                          [######################] 100%

[?25h==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (13) python-appdirs-1.4.4-6  python-jaraco.context-4.1.1-2
              python-jaraco.functools-3.5.1-1  python-jaraco.text-3.8.1-1
              python-more-itertools-8.13.0-2  python-nspektr-0.4.0-1
              python-ordered-set-4.0.2-6  python-packaging-21.3-1
              python-pyparsing-3.0.9-1  python-tomli-2.0.1-1
              python-trove-classifiers-2022.7.22-1
              python-validate-pyproject-0.9-1  python-setuptools-1:61.3.1-1

Total Installed Size:  5.74 MiB

:: Proceed with installation? [Y/n] 
( 0/13) checking keys in keyring                   [----------------------]   0%
( 1/13) checking keys in keyring                   [#---------------------]   7%
( 2/13) checking keys in keyring                   [###-------------------]  15%
( 3/13) checking keys in keyring                   [#####-----------------]  23%
( 4/13) checking keys in keyring                   [######----------------]  30%
( 5/13) checking keys in keyring                   [########--------------]  38%
( 6/13) checking keys in keyring                   [##########------------]  46%
( 7/13) checking keys in keyring                   [###########-----------]  53%
( 8/13) checking keys in keyring                   [#############---------]  61%
( 9/13) checking keys in keyring                   [###############-------]  69%
(10/13) checking keys in keyring                   [################------]  76%
(11/13) checking keys in keyring                   [##################----]  84%
(12/13) checking keys in keyring                   [####################--]  92%
(13/13) checking keys in keyring                   [######################] 100%

( 0/13) checking package integrity                 [----------------------]   0%
( 1/13) checking package integrity                 [----------------------]   1%
( 2/13) checking package integrity                 [#---------------------]   8%
( 3/13) checking package integrity                 [#---------------------]   9%
( 4/13) checking package integrity                 [##--------------------]  10%
( 5/13) checking package integrity                 [##--------------------]  11%
( 6/13) checking package integrity                 [#####-----------------]  26%
( 7/13) checking package integrity                 [######----------------]  31%
( 8/13) checking package integrity                 [#######---------------]  32%
( 9/13) checking package integrity                 [#######---------------]  34%
(10/13) checking package integrity                 [#######---------------]  36%
(11/13) checking package integrity                 [########--------------]  37%
(12/13) checking package integrity                 [#########-------------]  45%
(13/13) checking package integrity                 [######################] 100%

( 0/13) loading package files                      [----------------------]   0%
( 1/13) loading package files                      [----------------------]   1%
( 2/13) loading package files                      [#---------------------]   8%
( 3/13) loading package files                      [#---------------------]   9%
( 4/13) loading package files                      [##--------------------]  10%
( 5/13) loading package files                      [##--------------------]  11%
( 6/13) loading package files                      [#####-----------------]  26%
( 7/13) loading package files                      [######----------------]  31%
( 8/13) loading package files                      [#######---------------]  32%
( 9/13) loading package files                      [#######---------------]  34%
(10/13) loading package files                      [#######---------------]  36%
(11/13) loading package files                      [########--------------]  37%
(12/13) loading package files                      [#########-------------]  45%
(13/13) loading package files                      [######################] 100%

( 0/13) checking for file conflicts                [----------------------]   0%
( 1/13) checking for file conflicts                [#---------------------]   7%
( 2/13) checking for file conflicts                [###-------------------]  15%
( 3/13) checking for file conflicts                [#####-----------------]  23%
( 4/13) checking for file conflicts                [######----------------]  30%
( 5/13) checking for file conflicts                [########--------------]  38%
( 6/13) checking for file conflicts                [##########------------]  46%
( 7/13) checking for file conflicts                [###########-----------]  53%
( 8/13) checking for file conflicts                [#############---------]  61%
( 9/13) checking for file conflicts                [###############-------]  69%
(10/13) checking for file conflicts                [################------]  76%
(11/13) checking for file conflicts                [##################----]  84%
(12/13) checking for file conflicts                [####################--]  92%
(13/13) checking for file conflicts                [######################] 100%

( 0/13) checking available disk space              [----------------------]   0%
( 1/13) checking available disk space              [#---------------------]   7%
( 2/13) checking available disk space              [###-------------------]  15%
( 3/13) checking available disk space              [#####-----------------]  23%
( 4/13) checking available disk space              [######----------------]  30%
( 5/13) checking available disk space              [########--------------]  38%
( 6/13) checking available disk space              [##########------------]  46%
( 7/13) checking available disk space              [###########-----------]  53%
( 8/13) checking available disk space              [#############---------]  61%
( 9/13) checking available disk space              [###############-------]  69%
(10/13) checking available disk space              [################------]  76%
(11/13) checking available disk space              [##################----]  84%
(12/13) checking available disk space              [####################--]  92%
(13/13) checking available disk space              [######################] 100%

:: Processing package changes...
( 1/13) installing python-appdirs                  [----------------------]   0%
( 1/13) installing python-appdirs                  [######################] 100%

( 2/13) installing python-more-itertools           [----------------------]   0%
( 2/13) installing python-more-itertools           [######################] 100%

( 3/13) installing python-jaraco.functools         [----------------------]   0%
( 3/13) installing python-jaraco.functools         [######################] 100%

( 4/13) installing python-jaraco.context           [----------------------]   0%
( 4/13) installing python-jaraco.context           [######################] 100%

( 5/13) installing python-jaraco.text              [----------------------]   0%
( 5/13) installing python-jaraco.text              [######################] 100%

( 6/13) installing python-pyparsing                [----------------------]   0%
( 6/13) installing python-pyparsing                [######################] 100%

Optional dependencies for python-pyparsing
    python-railroad-diagrams: for generating Railroad Diagrams
    python-jinja: for generating Railroad Diagrams
( 7/13) installing python-packaging                [----------------------]   0%
( 7/13) installing python-packaging                [######################] 100%

( 8/13) installing python-nspektr                  [----------------------]   0%
( 8/13) installing python-nspektr                  [######################] 100%

( 9/13) installing python-ordered-set              [----------------------]   0%
( 9/13) installing python-ordered-set              [######################] 100%

(10/13) installing python-tomli                    [----------------------]   0%
(10/13) installing python-tomli                    [######################] 100%

(11/13) installing python-trove-classifiers        [----------------------]   0%
(11/13) installing python-trove-classifiers        [######################] 100%

(12/13) installing python-validate-pyproject       [----------------------]   0%
(12/13) installing python-validate-pyproject       [######################] 100%

(13/13) installing python-setuptools               [----------------------]   0%
(13/13) installing python-setuptools               [#################-----]  80%
(13/13) installing python-setuptools               [######################] 100%

[?25h==> Retrieving sources...
  -> Found 4.0.34.tar.gz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting 4.0.34.tar.gz with bsdtar
==> Starting build()...
/bin/sh: line 1: git: command not found
WARNING: git describe failed with: 32512 
WARNING: Unable to determine version.  Using 4.0.0.0
running build
running build_ext
building 'pyodbc' extension
creating build
creating build/temp.linux-aarch64-3.10
creating build/temp.linux-aarch64-3.10/src
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.dev0 -I/usr/include/python3.10 -c src/buffer.cpp -o build/temp.linux-aarch64-3.10/src/buffer.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/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:33: warning: PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
   75 |     return PyUnicode_FromUnicode(0, length);
      |            ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/python3.10/unicodeobject.h:1046,
                 from /usr/include/python3.10/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_UNICODE* Text_Buffer(PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_ssize_t Text_Size(PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.dev0 -I/usr/include/python3.10 -c src/cnxninfo.cpp -o build/temp.linux-aarch64-3.10/src/cnxninfo.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/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:33: warning: PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
   75 |     return PyUnicode_FromUnicode(0, length);
      |            ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/python3.10/unicodeobject.h:1046,
                 from /usr/include/python3.10/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_UNICODE* Text_Buffer(PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_ssize_t Text_Size(PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.dev0 -I/usr/include/python3.10 -c src/connection.cpp -o build/temp.linux-aarch64-3.10/src/connection.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/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:33: warning: PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
   75 |     return PyUnicode_FromUnicode(0, length);
      |            ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/python3.10/unicodeobject.h:1046,
                 from /usr/include/python3.10/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_UNICODE* Text_Buffer(PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_ssize_t Text_Size(PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/connection.cpp: In function ‘bool ApplyPreconnAttrs(HDBC, SQLINTEGER, PyObject*, char*)’:
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/connection.cpp:189:18: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
  189 |         ivalue = PyUnicode_AS_UNICODE(value);
      |                  ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.dev0 -I/usr/include/python3.10 -c src/cursor.cpp -o build/temp.linux-aarch64-3.10/src/cursor.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/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:33: warning: PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
   75 |     return PyUnicode_FromUnicode(0, length);
      |            ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/python3.10/unicodeobject.h:1046,
                 from /usr/include/python3.10/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_UNICODE* Text_Buffer(PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_ssize_t Text_Size(PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.dev0 -I/usr/include/python3.10 -c src/errors.cpp -o build/temp.linux-aarch64-3.10/src/errors.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/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:33: warning: PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
   75 |     return PyUnicode_FromUnicode(0, length);
      |            ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/python3.10/unicodeobject.h:1046,
                 from /usr/include/python3.10/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_UNICODE* Text_Buffer(PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_ssize_t Text_Size(PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.10/Python.h:130:
src/errors.cpp: In function ‘PyObject* RaiseErrorV(const char*, PyObject*, const char*, ...)’:
/usr/include/python3.10/ceval.h:24:34: warning: PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
   24 |     PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/errors.cpp:91:18: note: in expansion of macro ‘PyEval_CallObject’
   91 |         pError = PyEval_CallObject(exc_class, pAttrs);
      |                  ^~~~~~~~~~~~~~~~~
/usr/include/python3.10/ceval.h:17:43: note: declared here
   17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/errors.cpp: In function ‘PyObject* GetError(const char*, PyObject*, PyObject*)’:
/usr/include/python3.10/ceval.h:24:34: warning: PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
   24 |     PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/errors.cpp:171:14: note: in expansion of macro ‘PyEval_CallObject’
  171 |     pError = PyEval_CallObject(exc_class, pAttrs); // pError will incref pAttrs
      |              ^~~~~~~~~~~~~~~~~
/usr/include/python3.10/ceval.h:17:43: note: declared here
   17 | 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:34: warning: Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  328 |     if (!msg || PyUnicode_GetSize(msg.Get()) == 0)
      |                 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
      |                                           ^~~~~~~~~~~~~~~~~
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.dev0 -I/usr/include/python3.10 -c src/getdata.cpp -o build/temp.linux-aarch64-3.10/src/getdata.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/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:33: warning: PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
   75 |     return PyUnicode_FromUnicode(0, length);
      |            ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/python3.10/unicodeobject.h:1046,
                 from /usr/include/python3.10/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_UNICODE* Text_Buffer(PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_ssize_t Text_Size(PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.dev0 -I/usr/include/python3.10 -c src/params.cpp -o build/temp.linux-aarch64-3.10/src/params.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/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:33: warning: PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
   75 |     return PyUnicode_FromUnicode(0, length);
      |            ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/python3.10/unicodeobject.h:1046,
                 from /usr/include/python3.10/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_UNICODE* Text_Buffer(PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_ssize_t Text_Size(PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/params.cpp: In function ‘int PyToCType(Cursor*, unsigned char**, PyObject*, ParamInfo*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/params.cpp:326:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  326 |         Py_ssize_t len = PyUnicode_GET_SIZE(cell);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/params.cpp:326:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  326 |         Py_ssize_t len = PyUnicode_GET_SIZE(cell);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/params.cpp:326:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  326 |         Py_ssize_t len = PyUnicode_GET_SIZE(cell);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:283:21: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
  283 |     ((const char *)(PyUnicode_AS_UNICODE(op)))
      |                     ^~~~~~~~~~~~~~~~~~~~
src/params.cpp:387:33: note: in expansion of macro ‘PyUnicode_AS_DATA’
  387 |                 memcpy(*outbuf, PyUnicode_AS_DATA(cell), len);
      |                                 ^~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.dev0 -I/usr/include/python3.10 -c src/pyodbccompat.cpp -o build/temp.linux-aarch64-3.10/src/pyodbccompat.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/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:33: warning: PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
   75 |     return PyUnicode_FromUnicode(0, length);
      |            ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/python3.10/unicodeobject.h:1046,
                 from /usr/include/python3.10/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_UNICODE* Text_Buffer(PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_ssize_t Text_Size(PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.cpp: In function ‘bool Text_EqualsI(PyObject*, const char*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.cpp:14:25: note: in expansion of macro ‘PyUnicode_GET_SIZE’
   14 |     Py_ssize_t cchLHS = PyUnicode_GET_SIZE(lhs);
      |                         ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.cpp:14:25: note: in expansion of macro ‘PyUnicode_GET_SIZE’
   14 |     Py_ssize_t cchLHS = PyUnicode_GET_SIZE(lhs);
      |                         ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.cpp:14:25: note: in expansion of macro ‘PyUnicode_GET_SIZE’
   14 |     Py_ssize_t cchLHS = PyUnicode_GET_SIZE(lhs);
      |                         ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.cpp:19:21: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
   19 |     Py_UNICODE* p = PyUnicode_AS_UNICODE(lhs);
      |                     ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.dev0 -I/usr/include/python3.10 -c src/pyodbcdbg.cpp -o build/temp.linux-aarch64-3.10/src/pyodbcdbg.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/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:33: warning: PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
   75 |     return PyUnicode_FromUnicode(0, length);
      |            ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/python3.10/unicodeobject.h:1046,
                 from /usr/include/python3.10/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_UNICODE* Text_Buffer(PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_ssize_t Text_Size(PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.dev0 -I/usr/include/python3.10 -c src/pyodbcmodule.cpp -o build/temp.linux-aarch64-3.10/src/pyodbcmodule.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/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:33: warning: PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
   75 |     return PyUnicode_FromUnicode(0, length);
      |            ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/python3.10/unicodeobject.h:1046,
                 from /usr/include/python3.10/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_UNICODE* Text_Buffer(PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_ssize_t Text_Size(PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbcmodule.cpp: In function ‘void init_locale_info()’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbcmodule.cpp:276:39: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  276 |         if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1)
      |                                       ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbcmodule.cpp:276:39: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  276 |         if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1)
      |                                       ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbcmodule.cpp:276:39: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  276 |         if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1)
      |                                       ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbcmodule.cpp:277:25: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
  277 |             chDecimal = PyUnicode_AS_UNICODE(value)[0];
      |                         ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbcmodule.cpp: In function ‘PyObject* mod_setdecimalsep(PyObject*, PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbcmodule.cpp:719:39: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  719 |         if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1)
      |                                       ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbcmodule.cpp:719:39: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  719 |         if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1)
      |                                       ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbcmodule.cpp:719:39: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  719 |         if (PyUnicode_Check(value) && PyUnicode_GET_SIZE(value) == 1)
      |                                       ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbcmodule.cpp:720:25: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
  720 |             chDecimal = PyUnicode_AS_UNICODE(value)[0];
      |                         ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbcmodule.cpp: In function ‘PyObject* mod_getdecimalsep(PyObject*)’:
src/pyodbcmodule.cpp:728:33: warning: PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  728 |     return PyUnicode_FromUnicode(&chDecimal, 1);
      |            ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.dev0 -I/usr/include/python3.10 -c src/row.cpp -o build/temp.linux-aarch64-3.10/src/row.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/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:33: warning: PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
   75 |     return PyUnicode_FromUnicode(0, length);
      |            ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/python3.10/unicodeobject.h:1046,
                 from /usr/include/python3.10/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_UNICODE* Text_Buffer(PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_ssize_t Text_Size(PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=neon -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -DPYODBC_VERSION=4.0.dev0 -I/usr/include/python3.10 -c src/textenc.cpp -o build/temp.linux-aarch64-3.10/src/textenc.o -Wno-write-strings -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/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:33: warning: PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
   75 |     return PyUnicode_FromUnicode(0, length);
      |            ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/python3.10/unicodeobject.h:1046,
                 from /usr/include/python3.10/Python.h:83,
                 from src/pyodbc.h:45:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
  551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
      |                                          ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_UNICODE* Text_Buffer(PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:86:12: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
   86 |     return PyUnicode_AS_UNICODE(o);
      |            ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_ssize_t Text_Size(PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:126:40: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  126 |     return (o && PyUnicode_Check(o)) ? PyUnicode_GET_SIZE(o) : 0;
      |                                        ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h: In function ‘Py_ssize_t TextCopyToUnicode(Py_UNICODE*, PyObject*)’:
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  261 |       PyUnicode_WSTR_LENGTH(op) :                    \
      |       ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
      |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
  264 |        PyUnicode_WSTR_LENGTH(op)))
      |        ^~~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:146:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
  146 |         Py_ssize_t cch = PyUnicode_GET_SIZE(o);
      |                          ^~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:279:26: warning: Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
      |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/pyodbccompat.h:147:24: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
  147 |         memcpy(buffer, PyUnicode_AS_UNICODE(o), cch * sizeof(Py_UNICODE));
      |                        ^~~~~~~~~~~~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
creating build/lib.linux-aarch64-3.10
g++ -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-3.10/src/buffer.o build/temp.linux-aarch64-3.10/src/cnxninfo.o build/temp.linux-aarch64-3.10/src/connection.o build/temp.linux-aarch64-3.10/src/cursor.o build/temp.linux-aarch64-3.10/src/errors.o build/temp.linux-aarch64-3.10/src/getdata.o build/temp.linux-aarch64-3.10/src/params.o build/temp.linux-aarch64-3.10/src/pyodbccompat.o build/temp.linux-aarch64-3.10/src/pyodbcdbg.o build/temp.linux-aarch64-3.10/src/pyodbcmodule.o build/temp.linux-aarch64-3.10/src/row.o build/temp.linux-aarch64-3.10/src/textenc.o -L/usr/lib -lodbc -o build/lib.linux-aarch64-3.10/pyodbc.cpython-310-arm-linux-gnueabihf.so -L/usr/lib -lodbc
==> Entering fakeroot environment...
==> Starting package()...
/bin/sh: line 1: git: command not found
WARNING: git describe failed with: 32512 
WARNING: Unable to determine version.  Using 4.0.0.0
running install
/usr/lib/python3.10/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 /build/python-pyodbc/pkg/python-pyodbc/usr
creating /build/python-pyodbc/pkg/python-pyodbc/usr/lib
creating /build/python-pyodbc/pkg/python-pyodbc/usr/lib/python3.10
creating /build/python-pyodbc/pkg/python-pyodbc/usr/lib/python3.10/site-packages
copying build/lib.linux-aarch64-3.10/pyodbc.cpython-310-arm-linux-gnueabihf.so -> /build/python-pyodbc/pkg/python-pyodbc/usr/lib/python3.10/site-packages
writing byte-compilation script '/tmp/tmp4sgbjn0z.py'
/usr/bin/python /tmp/tmp4sgbjn0z.py
removing /tmp/tmp4sgbjn0z.py
running install_data
copying src/pyodbc.pyi -> /build/python-pyodbc/pkg/python-pyodbc/usr/
running install_egg_info
running egg_info
creating pyodbc.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
writing manifest file 'pyodbc.egg-info/SOURCES.txt'
reading manifest file 'pyodbc.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.py[cod]' found anywhere in distribution
adding license file 'LICENSE.txt'
writing manifest file 'pyodbc.egg-info/SOURCES.txt'
Copying pyodbc.egg-info to /build/python-pyodbc/pkg/python-pyodbc/usr/lib/python3.10/site-packages/pyodbc-4.0.dev0-py3.10.egg-info
running install_scripts
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "python-pyodbc"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: python-pyodbc 4.0.34-1 (Tue 26 Jul 2022 07:01:41 PM EDT)
==> Running checkpkg
error: target not found: python-pyodbc
==> WARNING: Skipped checkpkg due to missing repo packages