diff options
author | Christian Persch <chpe@src.gnome.org> | 2021-03-13 22:10:42 +0100 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2021-03-13 22:10:42 +0100 |
commit | 1b60b4a600dbbec0a056f076f1aae244b1a1109c (patch) | |
tree | 52998b9da33873d5c63c89229e7e5fe7ccad03e9 | |
parent | 1be3d3d9fa160874ccf162acd1adb88ca8ba05a8 (diff) | |
download | vte-1b60b4a600dbbec0a056f076f1aae244b1a1109c.tar.gz |
build: Suppress undesirable warnings
-rw-r--r-- | meson.build | 6 |
1 files changed, 6 insertions, 0 deletions
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) |