nodejs_parser.cpp 825 B

12345678910111213141516171819202122232425262728293031
  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. #if defined(__GNUC__) && (__GNUC__ >= 7)
  10. #pragma GCC diagnostic push
  11. #pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
  12. #endif
  13. #include <boost/config.hpp>
  14. #ifdef BOOST_MSVC
  15. # pragma warning (push)
  16. # pragma warning (disable: 4127) // conditional expression is constant
  17. # pragma warning (disable: 4244) // integer conversion, possible loss of data
  18. #endif
  19. #include "nodejs-parser/http_parser.c"
  20. #ifdef BOOST_MSVC
  21. # pragma warning (pop)
  22. #endif
  23. #if defined(__GNUC__) && (__GNUC__ >= 7)
  24. #pragma GCC diagnostic pop
  25. #endif