| Index: sky/engine/wtf/Assertions.cpp
|
| diff --git a/sky/engine/wtf/Assertions.cpp b/sky/engine/wtf/Assertions.cpp
|
| index b28511eb63bea76b4bc6a56d181358d35f77918c..f737e129d7a275accbb9cd85349b3f09afef932f 100644
|
| --- a/sky/engine/wtf/Assertions.cpp
|
| +++ b/sky/engine/wtf/Assertions.cpp
|
| @@ -70,7 +70,7 @@ static void vprintf_stderr_common(const char* format, va_list args)
|
| vfprintf(stderr, format, args);
|
| }
|
|
|
| -#if COMPILER(CLANG) || (COMPILER(GCC) && GCC_VERSION_AT_LEAST(4, 6, 0))
|
| +#if COMPILER(CLANG) || COMPILER(GCC)
|
| #pragma GCC diagnostic push
|
| #pragma GCC diagnostic ignored "-Wformat-nonliteral"
|
| #endif
|
| @@ -103,7 +103,7 @@ static void vprintf_stderr_with_trailing_newline(const char* format, va_list arg
|
| vprintf_stderr_common(formatWithNewline.get(), args);
|
| }
|
|
|
| -#if COMPILER(CLANG) || (COMPILER(GCC) && GCC_VERSION_AT_LEAST(4, 6, 0))
|
| +#if COMPILER(CLANG) || COMPILER(GCC)
|
| #pragma GCC diagnostic pop
|
| #endif
|
|
|
|
|