From e06473ca57c4c118a2d5946276ade591be5429d1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 1 Jan 2025 20:10:31 +0100 Subject: [PATCH] meson.build: enable more compiler warnings --- meson.build | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/meson.build b/meson.build index 3a9043e7..4295355b 100644 --- a/meson.build +++ b/meson.build @@ -167,6 +167,14 @@ test_cxxflags = test_common_flags + [ '-fno-threadsafe-statics', '-fmerge-all-constants', + '-Wcomma-subscript', + '-Wextra-semi', + '-Wmismatched-tags', + '-Woverloaded-virtual', + '-Wsign-promo', + '-Wvolatile', + '-Wvirtual-inheritance', + # a vtable without a dtor is just fine '-Wno-non-virtual-dtor',