From ec134d2c5f2c44a602ede280f9ce7dffd64caf41 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 1 Apr 2021 14:14:32 -0400 Subject: WIP --- bindings/cpp/meson.build | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'bindings/cpp') diff --git a/bindings/cpp/meson.build b/bindings/cpp/meson.build index 02f4d53..ea6d336 100644 --- a/bindings/cpp/meson.build +++ b/bindings/cpp/meson.build @@ -17,6 +17,7 @@ if get_option('strict') '-Wno-inline', '-Wno-multiple-inheritance', '-Wno-padded', + '-Wno-parentheses', '-Wno-suggest-attribute=pure', '-Wno-switch-default', '-Wno-unused-const-variable', @@ -39,6 +40,10 @@ else cpp_suppressions += [ '-Wno-nullability-extension', ] + elif cpp.get_id() == 'gcc' + cpp_suppressions += [ + '-Wno-parentheses', + ] endif endif @@ -49,7 +54,8 @@ cpp_headers = [ ] serdpp_dep = dependency('serdxx-1', - version: '>= 1.0.0') + version: '>= 1.0.0', + fallback: ['serd', 'serdxx_dep']) sratompp_dep = declare_dependency( include_directories: include_directories(['include']), -- cgit v1.2.1