summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-01-03 15:59:43 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-01-03 16:21:11 +0100
commita975f037c3c57954b867c32818252ff3a3070920 (patch)
treef166f18bb73e3b7f0d0975512de8bcf18cd775c8
parent6c755f669642edc3ca7cc87e6cb1c24bc9fda51a (diff)
meson: warn on unused parameters like on autotools
this mirrors the behaviour of autotools.
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index a93ac5a..a814d9d 100644
--- a/meson.build
+++ b/meson.build
@@ -80,6 +80,7 @@ dev_cflags = []
80dev_cflags_try = [ 80dev_cflags_try = [
81 '-fvisibility=hidden', 81 '-fvisibility=hidden',
82 '-Wall', 82 '-Wall',
83 '-Wunused-parameter',
83 '-Wsign-compare', 84 '-Wsign-compare',
84 '-Wno-missing-field-initializers', 85 '-Wno-missing-field-initializers',
85] 86]