From 3dd26463d47d5dd118f85ff5e96184feaa19c987 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 11 Nov 2014 08:57:55 -0500 Subject: [PATCH] curl: Disable warnings to avoid changing 3rd party code Tell MSVC to use its lowest warning level inside curl sources. --- Utilities/cmcurl/lib/curl_setup.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Utilities/cmcurl/lib/curl_setup.h b/Utilities/cmcurl/lib/curl_setup.h index 12238ca0e..9cc575864 100644 --- a/Utilities/cmcurl/lib/curl_setup.h +++ b/Utilities/cmcurl/lib/curl_setup.h @@ -80,6 +80,10 @@ #endif /* HAVE_CONFIG_H */ +#if defined(_MSC_VER) +# pragma warning(push,1) +#endif + /* ================================================================ */ /* Definition of preprocessor macros/symbols which modify compiler */ /* behavior or generated code characteristics must be done here, */