[glib: 1/25] Silenting unused parameter warnings due to deprecated code



commit 0fea1a47759579b1a84c4571970fdde8458ce16d
Author: Emmanuel Fleury <emmanuel fleury u-bordeaux fr>
Date:   Thu Feb 7 13:01:16 2019 +0100

    Silenting unused parameter warnings due to deprecated code

 meson.build | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/meson.build b/meson.build
index 52c0ec44a..758959f6e 100644
--- a/meson.build
+++ b/meson.build
@@ -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',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]