• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
3 //
4 // Distributed under the Boost Software License, Version 1.0. (See accompanying
5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 //
7 // Official repository: https://github.com/boostorg/beast
8 //
9 
10 #if defined(__GNUC__) && (__GNUC__ >= 7)
11 #pragma GCC diagnostic push
12 #pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
13 #endif
14 
15 #include <boost/config.hpp>
16 
17 #ifdef BOOST_MSVC
18 # pragma warning (push)
19 # pragma warning (disable: 4127) // conditional expression is constant
20 # pragma warning (disable: 4244) // integer conversion, possible loss of data
21 #endif
22 
23 #include "nodejs-parser/http_parser.c"
24 
25 #ifdef BOOST_MSVC
26 # pragma warning (pop)
27 #endif
28 
29 #if defined(__GNUC__) && (__GNUC__ >= 7)
30 #pragma GCC diagnostic pop
31 #endif
32