From 5e1ca2099a912d88c57320f61a6f316d2e7c67b7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 27 May 2021 18:43:20 -0400 Subject: Make code build cleanly as C++ --- meson.build | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index d91ef6b..50cc19f 100644 --- a/meson.build +++ b/meson.build @@ -86,6 +86,7 @@ if get_option('strict') if is_variable('cpp') if cpp.get_id() == 'clang' cpp_warnings += [ + '-Wno-documentation', # Cairo '-Wno-documentation-unknown-command', # Cairo '-Wno-old-style-cast', '-Wno-padded', @@ -95,7 +96,9 @@ if get_option('strict') ] elif cpp.get_id() == 'gcc' cpp_warnings += [ + '-Wno-conditionally-supported', '-Wno-effc++', + '-Wno-float-equal', '-Wno-inline', '-Wno-old-style-cast', '-Wno-padded', -- cgit v1.2.1