Commit 1375dcc4 authored by Max Kellermann's avatar Max Kellermann

meson.build: sort warning options

parent 6aeb0e33
...@@ -64,13 +64,12 @@ test_cxxflags = test_common_flags + [ ...@@ -64,13 +64,12 @@ test_cxxflags = test_common_flags + [
'-fno-threadsafe-statics', '-fno-threadsafe-statics',
'-fmerge-all-constants', '-fmerge-all-constants',
'-Wmissing-declarations',
'-Wshadow',
'-Wcast-qual', '-Wcast-qual',
'-Wwrite-strings',
'-Wextra-semi', '-Wextra-semi',
'-Wmissing-declarations',
'-Wshadow',
'-Wunused', '-Wunused',
'-Wwrite-strings',
# a vtable without a dtor is just fine # a vtable without a dtor is just fine
'-Wno-non-virtual-dtor', '-Wno-non-virtual-dtor',
...@@ -84,10 +83,10 @@ test_cxxflags = test_common_flags + [ ...@@ -84,10 +83,10 @@ test_cxxflags = test_common_flags + [
] ]
test_cflags = test_common_flags + [ test_cflags = test_common_flags + [
'-Wcast-qual',
'-Wmissing-prototypes', '-Wmissing-prototypes',
'-Wshadow', '-Wshadow',
'-Wstrict-prototypes', '-Wstrict-prototypes',
'-Wcast-qual',
'-Wwrite-strings', '-Wwrite-strings',
] ]
......
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