Merge branch 'v0.22.x'

This commit is contained in:
Max Kellermann
2021-05-25 18:21:42 +02:00
4 changed files with 10 additions and 5 deletions

View File

@@ -35,7 +35,7 @@
#include <stdio.h>
#ifdef __clang__
#if defined(__clang__) || defined(__GNUC__)
#pragma GCC diagnostic push
// TODO: fix this warning properly
#pragma GCC diagnostic ignored "-Wformat-security"
@@ -59,7 +59,7 @@ FormatInvalidArgument(const char *fmt, Args&&... args) noexcept
return std::invalid_argument(buffer);
}
#ifdef __clang__
#if defined(__clang__) || defined(__GNUC__)
#pragma GCC diagnostic pop
#endif