summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2022-07-19 18:03:59 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2022-07-19 22:18:57 +0200
commitebd0f1282846ab1e325b7c9b4161b4d1cc5fa54c (patch)
treeaf6785ffcb462dba522dace27285265373258c87
parenta3fa882fc9ddce54c51a75f4625b2a3a4170a7a0 (diff)
downloadgobject-introspection-ebd0f1282846ab1e325b7c9b4161b4d1cc5fa54c.tar.gz
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.
-rw-r--r--girepository/cmph/meson.build1
-rw-r--r--giscanner/meson.build1
2 files changed, 2 insertions, 0 deletions
diff --git a/girepository/cmph/meson.build b/girepository/cmph/meson.build
index 2a0cef7e..157b09e9 100644
--- a/girepository/cmph/meson.build
+++ b/girepository/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
diff --git a/giscanner/meson.build b/giscanner/meson.build
index 3d7dc678..5cb6036b 100644
--- a/giscanner/meson.build
+++ b/giscanner/meson.build
@@ -83,6 +83,7 @@ if cc.get_id() != 'msvc'
custom_c_args = cc.get_supported_arguments([
'-Wno-missing-field-initializers',
'-Wno-unused-parameter',
+ '-Wno-misleading-indentation',
])
endif