[vte] build: Suppress undesirable warnings
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] build: Suppress undesirable warnings
- Date: Sat, 13 Mar 2021 21:11:27 +0000 (UTC)
commit 1b60b4a600dbbec0a056f076f1aae244b1a1109c
Author: Christian Persch <chpe src gnome org>
Date: Sat Mar 13 22:10:42 2021 +0100
build: Suppress undesirable warnings
meson.build | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/meson.build b/meson.build
index 7d30ffab..393ecd83 100644
--- a/meson.build
+++ b/meson.build
@@ -388,6 +388,12 @@ compiler_flags_cxx_required = [
'-fvisibility=hidden',
]
+if cxx.get_id() == 'clang'
+ compiler_flags_cxx_only += [
+ '-Wno-unknown-attributes', # get rid of warnings about unimplemented [[(un)likely]]
+ ]
+endif
+
global_cflags = cc.get_supported_arguments(compiler_flags_common +
compiler_flags_common_undesirable +
compiler_flags_c_only)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]