Merge branch 'v0.21.x'

This commit is contained in:
Max Kellermann
2020-02-04 16:49:18 +01:00
11 changed files with 39 additions and 16 deletions

View File

@@ -6,10 +6,14 @@ if compiler.get_id() == 'gcc'
gtest_compile_args += [
'-Wno-suggest-attribute=format',
'-Wno-suggest-attribute=noreturn',
'-Wno-missing-declarations',
]
endif
# needed on Jessie for gtest's IsNullLiteralHelper
'-Wno-conversion-null',
if compiler.get_id() == 'clang' and compiler.version().version_compare('>=9')
gtest_compile_args += [
# work around clang warning caused by GTest's wrong "-lpthread"
# compiler flag
'-Wno-unused-command-line-argument',
]
endif