Kaynağa Gözat

curl: Disable warnings to avoid changing 3rd party code

Tell MSVC to use its lowest warning level inside curl sources.
Brad King 11 yıl önce
ebeveyn
işleme
3dd26463d4
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 4 0
      Utilities/cmcurl/lib/curl_setup.h

+ 4 - 0
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,   */