aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-05-27 18:43:20 -0400
committerDavid Robillard <d@drobilla.net>2021-05-27 19:04:08 -0400
commit5e1ca2099a912d88c57320f61a6f316d2e7c67b7 (patch)
tree807ffb9e40f13ffca6b1289095c263f545d2d640 /meson.build
parent873fe784f2a003d8dfa8ee64bc05aba3b0754c86 (diff)
downloadpugl-5e1ca2099a912d88c57320f61a6f316d2e7c67b7.tar.gz
pugl-5e1ca2099a912d88c57320f61a6f316d2e7c67b7.tar.bz2
pugl-5e1ca2099a912d88c57320f61a6f316d2e7c67b7.zip
Make code build cleanly as C++
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 3 insertions, 0 deletions
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',