From a3c3fb61e08523a563ce3cba86dc50c9c5fc2c5d Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 13 Jul 2016 14:43:37 +0200 Subject: Fixed new diagnostics errors --- 3rdparty/valgrind.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '3rdparty') diff --git a/3rdparty/valgrind.h b/3rdparty/valgrind.h index 21caa70..81cb5f2 100644 --- a/3rdparty/valgrind.h +++ b/3rdparty/valgrind.h @@ -70,10 +70,12 @@ problem, you can compile with the NVALGRIND symbol defined (gcc -DNVALGRIND) so that client requests are not even compiled in. */ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-id-macro" + #ifndef __VALGRIND_H #define __VALGRIND_H - /* ------------------------------------------------------------------ */ /* VERSION NUMBER OF VALGRIND */ /* ------------------------------------------------------------------ */ @@ -5958,3 +5960,6 @@ VALGRIND_PRINTF_BACKTRACE(const char *format, ...) #undef PLAT_mips64_linux #endif /* __VALGRIND_H */ + +#pragma clang diagnostic pop + -- cgit v1.2.3