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