From ac01cf93f42d7dbcc25faade136bfa3327333cf5 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Tue, 19 Jul 2022 18:03:59 +0200 Subject: [PATCH] build: disable some clang warnings for code not under our control cmph is vendored and other one is bison/flex generated code. Not much we can do here, so disable those warnings there. --- cmph/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/cmph/meson.build b/cmph/meson.build index 2a0cef7e4..157b09e96 100644 --- a/cmph/meson.build +++ b/cmph/meson.build @@ -43,6 +43,7 @@ if cc.get_id() != 'msvc' '-Wno-cast-align', '-Wno-unused-function', '-Wno-return-type', + '-Wno-sometimes-uninitialized', ]) endif