Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / cffi / clang-pointer-substraction-warning.diff
blob75b2677e380e726257d6179597bc6626e22f657e
1 diff -r c649a735cf82 testing/support.py
2 --- a/testing/support.py Thu Feb 23 05:42:01 2023 +0100
3 +++ b/testing/support.py Sat May 20 21:46:56 2023 -0400
4 @@ -112,6 +112,7 @@
5 '-Wno-unreachable-code']
6 # special things for clang
7 extra_compile_args.append('-Qunused-arguments')
8 + extra_compile_args.append('-Wno-null-pointer-subtraction')
9 else:
10 # assume a standard gcc
11 extra_compile_args = ['-Werror', '-Wall', '-Wextra', '-Wconversion',