Silenting unused parameter warnings due to deprecated code

This commit is contained in:
Emmanuel Fleury 2019-02-07 13:01:16 +01:00
parent fd42994015
commit 0fea1a4775

View File

@ -352,6 +352,8 @@ if cc.get_id() == 'gcc' or cc.get_id() == 'clang'
'-Wmisleading-indentation',
'-Wstrict-prototypes',
'-Wunused',
# Due to maintained deprecated code, we do not want to see unused parameters
'-Wno-unused-parameter',
# Due to pervasive use of things like GPOINTER_TO_UINT(), we do not support
# building with -Wbad-function-cast.
'-Wno-bad-function-cast',