test/meson.build: disable GTest warning "ScopedTrace was marked unused but was used"
This commit is contained in:
@ -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"
|
# work around clang warning caused by GTest's wrong "-lpthread"
|
||||||
# compiler flag
|
# compiler flag
|
||||||
'-Wno-unused-command-line-argument',
|
'-Wno-unused-command-line-argument',
|
||||||
|
|
||||||
|
# work around "error: 'ScopedTrace' was marked unused but was
|
||||||
|
# used"
|
||||||
|
'-Wno-used-but-marked-unused',
|
||||||
]
|
]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user