From b23035e1706d1a828e7698abcc76cdac37e92b72 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 2 May 2023 12:31:15 -0400 Subject: Replace strict option with new meson warning level --- test/meson.build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/meson.build b/test/meson.build index 0c073b8..ce9dd49 100644 --- a/test/meson.build +++ b/test/meson.build @@ -1,7 +1,7 @@ # Copyright 2019-2022 David Robillard # SPDX-License-Identifier: 0BSD OR GPL-3.0-or-later -if get_option('strict') +if get_option('lint') if not meson.is_subproject() # Check release metadata autoship = find_program('autoship', required: get_option('tests')) @@ -33,6 +33,7 @@ header_args = [] if cpp.get_id() == 'clang' header_args += [ '-Wno-c++17-extensions', + '-Wno-c++98-compat', '-Wno-padded', '-Wno-weak-vtables', ] @@ -54,6 +55,10 @@ elif cpp.get_id() == 'gcc' elif cpp.get_id() == 'msvc' header_args += [ + '/experimental:external', + '/external:W0', + '/external:anglebrackets', + '/wd4626', # assignment operator implicitly deleted '/wd5027', # move assignment operator implicitly deleted '/wd5262', # implicit fall-through -- cgit v1.2.1