From 72bdfdbc7cb868b222127d1592d35a19e47ceb05 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Thu, 29 Sep 2011 15:24:41 +0200 Subject: http-parser: Disable MSVC warnings locally --- deps/http-parser/http_parser.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'deps') diff --git a/deps/http-parser/http_parser.h b/deps/http-parser/http_parser.h index 69f67eb2b..ac00d4199 100644 --- a/deps/http-parser/http_parser.h +++ b/deps/http-parser/http_parser.h @@ -27,6 +27,11 @@ extern "C" { #define HTTP_PARSER_VERSION_MAJOR 1 #define HTTP_PARSER_VERSION_MINOR 0 +#ifdef _MSC_VER + /* disable silly warnings */ +# pragma warning(disable: 4127 4214) +#endif + #include #if defined(_WIN32) && !defined(__MINGW32__) && !defined(_MSC_VER) typedef __int8 int8_t; -- cgit v1.2.1