diff options
author | David Robillard <d@drobilla.net> | 2025-01-21 17:11:56 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2025-01-21 17:13:47 -0500 |
commit | 689f74f091d4745fd24caec306d2f8a69e8db351 (patch) | |
tree | 75e2b4a7c31fb95aa9a82e456253443e02f3c4a0 /bindings/cpp | |
parent | bf01b1e98f1759982e0ee012a3379507f3e72af7 (diff) | |
download | pugl-689f74f091d4745fd24caec306d2f8a69e8db351.tar.gz pugl-689f74f091d4745fd24caec306d2f8a69e8db351.tar.bz2 pugl-689f74f091d4745fd24caec306d2f8a69e8db351.zip |
Fix strict header warning test build
Diffstat (limited to 'bindings/cpp')
-rw-r--r-- | bindings/cpp/test/headers/meson.build | 9 |
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', |