From c1e25378517fefbb1fda747b726e6d6b8f5459b8 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 25 May 2021 21:37:10 +0200 Subject: [PATCH] meson.build: add comment for clang-only warning options --- meson.build | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/meson.build b/meson.build index 910f52928..fcd08dc14 100644 --- a/meson.build +++ b/meson.build @@ -68,15 +68,18 @@ test_cxxflags = test_common_flags + [ '-Wshadow', '-Wcast-qual', '-Wwrite-strings', - '-Wcomma', + '-Wextra-semi', + '-Wunused', + + '-Wno-non-virtual-dtor', + + # clang specific warning options: + '-Wcomma', '-Wheader-hygiene', '-Winconsistent-missing-destructor-override', '-Wunreachable-code-break', - '-Wunused', '-Wused-but-marked-unused', - - '-Wno-non-virtual-dtor', ] test_cflags = test_common_flags + [