summaryrefslogtreecommitdiffstats
path: root/bindings/cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-04-01 14:14:32 -0400
committerDavid Robillard <d@drobilla.net>2021-04-01 14:14:32 -0400
commitec134d2c5f2c44a602ede280f9ce7dffd64caf41 (patch)
tree873f615a95280a860ae6f15254381bb3c7a920b6 /bindings/cpp
parent91945867cfee9e92df50149311d98eda41b16a60 (diff)
downloadsratom-ec134d2c5f2c44a602ede280f9ce7dffd64caf41.tar.gz
sratom-ec134d2c5f2c44a602ede280f9ce7dffd64caf41.tar.bz2
sratom-ec134d2c5f2c44a602ede280f9ce7dffd64caf41.zip
WIP
Diffstat (limited to 'bindings/cpp')
-rw-r--r--bindings/cpp/meson.build8
1 files changed, 7 insertions, 1 deletions
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']),