From 460091fb0b2ff114cc741372f15bb43b702ea3b1 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:24:35 +0200 Subject: 5.16 --- zen/thread.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'zen/thread.h') diff --git a/zen/thread.h b/zen/thread.h index db9cf3a3..638d9474 100644 --- a/zen/thread.h +++ b/zen/thread.h @@ -10,11 +10,12 @@ //temporary solution until C++11 thread becomes fully available (considering std::thread's non-interruptibility and std::async craziness, this may be NEVER) #include -//fix this pathetic boost thread warning mess +//workaround this pathetic boost thread warning mess #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wswitch-enum" #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#pragma GCC diagnostic ignored "-Wredundant-decls" #pragma GCC diagnostic ignored "-Wshadow" #endif #ifdef _MSC_VER -- cgit