summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2021-09-28 13:03:06 +0100
committerSergei Trofimovich <slyich@gmail.com>2021-09-28 13:13:35 +0100
commitc1ff7da0a91ccb74b78757b93eef57aa1b2203e0 (patch)
tree22dcee77634d5e0fc60083e50944d124fd76167b /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent7affc06daefdb82eca27c143b0f6d4ac004b6b01 (diff)
py3c: unconditionally drop -Werror (fix gcc-11 build)
On gcc-11 build fails as: $ nix-build -E 'with import ./. {}; py3c.override { stdenv = gcc11Stdenv; }' gcc -fno-strict-aliasing ... -Werror -Wall cc1plus: warning: command-line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ In file included from /nix/store/...-python-2.7.18/include/python2.7/Python.h:88, from test_py3c.cpp:4: /nix/store/...-python-2.7.18/include/python2.7/unicodeobject.h:534:24: error: ISO C++17 does not allow 'register' storage class specifier [-Werror=register] 534 | register PyObject *obj, /* Object */ | ^~~ The fix was already present o clang toolchain. Let's extendt it to all toolchains.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions