aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/cpp')
-rw-r--r--bindings/cpp/test/headers/meson.build9
1 files changed, 7 insertions, 2 deletions
diff --git a/bindings/cpp/test/headers/meson.build b/bindings/cpp/test/headers/meson.build
index cbd36bf..0100853 100644
--- a/bindings/cpp/test/headers/meson.build
+++ b/bindings/cpp/test/headers/meson.build
@@ -4,13 +4,18 @@
header_cpp_suppressions = []
if get_option('warning_level') == 'everything'
- if cc.get_id() == 'clang'
+ if cpp.get_id() == 'clang'
if not meson.is_cross_build()
- header_cpp_suppressions += ['-Wno-poison-system-directories']
+ header_cpp_suppressions += [
+ '-Wno-old-style-cast',
+ '-Wno-poison-system-directories',
+ ]
endif
endif
endif
+header_cpp_suppressions = cpp.get_supported_arguments(header_cpp_suppressions)
+
test_headers_cpp_args = header_cpp_suppressions
test_headers_cpp_args += [
'-DPUGL_NO_INCLUDE_GL_H',