meson.build: add comment for clang-only warning options
This commit is contained in:
parent
8c690fb737
commit
c1e2537851
11
meson.build
11
meson.build
|
@ -68,15 +68,18 @@ test_cxxflags = test_common_flags + [
|
||||||
'-Wshadow',
|
'-Wshadow',
|
||||||
'-Wcast-qual',
|
'-Wcast-qual',
|
||||||
'-Wwrite-strings',
|
'-Wwrite-strings',
|
||||||
'-Wcomma',
|
|
||||||
'-Wextra-semi',
|
'-Wextra-semi',
|
||||||
|
'-Wunused',
|
||||||
|
|
||||||
|
'-Wno-non-virtual-dtor',
|
||||||
|
|
||||||
|
# clang specific warning options:
|
||||||
|
'-Wcomma',
|
||||||
'-Wheader-hygiene',
|
'-Wheader-hygiene',
|
||||||
'-Winconsistent-missing-destructor-override',
|
'-Winconsistent-missing-destructor-override',
|
||||||
'-Wunreachable-code-break',
|
'-Wunreachable-code-break',
|
||||||
'-Wunused',
|
|
||||||
'-Wused-but-marked-unused',
|
'-Wused-but-marked-unused',
|
||||||
|
|
||||||
'-Wno-non-virtual-dtor',
|
|
||||||
]
|
]
|
||||||
|
|
||||||
test_cflags = test_common_flags + [
|
test_cflags = test_common_flags + [
|
||||||
|
|
Loading…
Reference in New Issue