[gobject-introspection] build: disable some clang warnings for code not under our control



commit ebd0f1282846ab1e325b7c9b4161b4d1cc5fa54c
Author: Christoph Reiter <reiter christoph gmail com>
Date:   Tue Jul 19 18:03:59 2022 +0200

    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.

 girepository/cmph/meson.build | 1 +
 giscanner/meson.build         | 1 +
 2 files changed, 2 insertions(+)
---
diff --git a/girepository/cmph/meson.build b/girepository/cmph/meson.build
index 2a0cef7e4..157b09e96 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 3d7dc678a..5cb6036b0 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
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]