test/meson.build: disable GTest warning "ScopedTrace was marked unused but was used"

This commit is contained in:
Max Kellermann 2020-06-04 10:32:01 +02:00
parent d181ecce7b
commit b7ab1a9d79
1 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,10 @@ if compiler.get_id() == 'clang' and compiler.version().version_compare('>=9')
# work around clang warning caused by GTest's wrong "-lpthread"
# compiler flag
'-Wno-unused-command-line-argument',
# work around "error: 'ScopedTrace' was marked unused but was
# used"
'-Wno-used-but-marked-unused',
]
endif