From be80fcdbba204b58e96c41b624807460d9eb2d7e Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Mon, 4 Jul 2016 09:24:39 -0400 Subject: [PATCH] Cleared C4589 under VS2015 (Issue 214) --- wait.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/wait.h b/wait.h index 13e6ba33..e274b19f 100644 --- a/wait.h +++ b/wait.h @@ -32,6 +32,13 @@ # endif #endif +// http://connect.microsoft.com/VisualStudio/feedback/details/1581706 +// and http://github.com/weidai11/cryptopp/issues/214 +#if CRYPTOPP_MSC_VERSION == 1900 +# pragma warning(push) +# pragma warning(disable: 4589) +#endif + NAMESPACE_BEGIN(CryptoPP) class Tracer @@ -223,6 +230,10 @@ private: NAMESPACE_END +#if CRYPTOPP_MSC_VERSION == 1900 +# pragma warning(pop) +#endif + #endif #endif