summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/meson.build b/test/meson.build
index b7b3ce4..0b84e09 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -35,6 +35,7 @@ if cpp.get_id() == 'clang'
'-Wno-c++17-extensions',
'-Wno-c++98-compat',
'-Wno-padded',
+ '-Wno-unsafe-buffer-usage',
'-Wno-weak-vtables',
]
@@ -71,6 +72,8 @@ elif cpp.get_id() == 'msvc'
]
endif
+header_args = cpp.get_supported_arguments(header_args)
+
# Test that headers have (almost) no warnings (ignoring usual suppressions)
test(
'test_headers',