meson.build: add comment for clang-only warning options

This commit is contained in:
Max Kellermann 2021-05-25 21:37:10 +02:00
parent 8c690fb737
commit c1e2537851
1 changed files with 7 additions and 4 deletions

View File

@ -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 + [