From b916407a2a06f8452e82b74dc44c54acbcc572b0 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:27:42 +0200 Subject: 5.21 --- zen/thread.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'zen/thread.h') diff --git a/zen/thread.h b/zen/thread.h index 76596513..1fa2c951 100644 --- a/zen/thread.h +++ b/zen/thread.h @@ -17,6 +17,9 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #pragma GCC diagnostic ignored "-Wredundant-decls" #pragma GCC diagnostic ignored "-Wshadow" +#ifndef __clang__ //clang defines __GNUC__, but doesn't support this warning +#pragma GCC diagnostic ignored "-Wunused-local-typedefs" +#endif #endif #ifdef _MSC_VER #pragma warning(push) -- cgit