From 3673be7cb6611b373b9b1200999827a9b8df37a1 Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Wed, 11 Feb 2015 15:12:05 -0500 Subject: Fix standalone build on Win64. Win64 fires significantly more warnings than Win32. Also some recent changes made it grumpy. (We might want to reconsider enabling all of MSVC's warnings. Given the sorts of warnings some of these are, I'm not sure MSVC's version of -Wall -Werror is actually tenable. Plus, diverging from the Chromium build, especially before the bots are ready, is going to break pretty readily.) Change-Id: If3b8feccf910ceab4a233b0731e7624d7da46f87 Reviewed-on: https://boringssl-review.googlesource.com/3420 Reviewed-by: Adam Langley --- crypto/bn/internal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crypto') diff --git a/crypto/bn/internal.h b/crypto/bn/internal.h index d421cf3a..f61b86e5 100644 --- a/crypto/bn/internal.h +++ b/crypto/bn/internal.h @@ -128,7 +128,9 @@ #include #if defined(OPENSSL_X86_64) && defined(_MSC_VER) && _MSC_VER >= 1400 +#pragma warning(push, 3) #include +#pragma warning(pop) #pragma intrinsic(__umulh, _umul128) #endif -- cgit v1.2.3