From 1375dcc4ec616a106f2bee01d9eb8c7cabd1d903 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 25 May 2021 21:47:09 +0200 Subject: meson.build: sort warning options --- meson.build | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/meson.build b/meson.build index a11b88324..f589b6ce0 100644 --- a/meson.build +++ b/meson.build @@ -64,13 +64,12 @@ test_cxxflags = test_common_flags + [ '-fno-threadsafe-statics', '-fmerge-all-constants', - '-Wmissing-declarations', - '-Wshadow', '-Wcast-qual', - '-Wwrite-strings', - '-Wextra-semi', + '-Wmissing-declarations', + '-Wshadow', '-Wunused', + '-Wwrite-strings', # a vtable without a dtor is just fine '-Wno-non-virtual-dtor', @@ -84,10 +83,10 @@ test_cxxflags = test_common_flags + [ ] test_cflags = test_common_flags + [ + '-Wcast-qual', '-Wmissing-prototypes', '-Wshadow', '-Wstrict-prototypes', - '-Wcast-qual', '-Wwrite-strings', ] -- cgit v1.2.3