Commit dceb3e33 authored by Christoph Reiter's avatar Christoph Reiter 🐍

build: disable new cast-function-type warnings with gcc8

We have to assign PyCFunctionWithKeywords functions to PyCFunction fields
everywhere, so not much we can do. Ideas welcome.
parent 34805800
Pipeline #10462 passed with stages
in 17 minutes and 5 seconds
......@@ -89,6 +89,7 @@ main_c_args += [
'-Wno-unused-parameter',
'-Wno-discarded-qualifiers',
'-Wno-sign-conversion',
'-Wno-cast-function-type',
]
main_c_args += [
......
......@@ -929,6 +929,7 @@ def add_ext_compiler_flags(ext, compiler, _cache={}):
"-Wno-unused-parameter",
"-Wno-discarded-qualifiers",
"-Wno-sign-conversion",
"-Wno-cast-function-type",
]
# silence clang for unused gcc CFLAGS added by Debian
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment