-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
GCC 10.1.0 can't compile http_method.cpp.
/usr/include/boost/utility/ostream_string.hpp: In instantiation of ‘std::basic_ostream<charT, traits>& boost::ostream_string(std::basic_ostream<charT, traits>&, const charT*, std::size_t) [with charT = char; traits = std::char_traits<char>; std::size_t = long unsigned int]’:
/usr/include/boost/utility/string_view.hpp:581:37: required from ‘std::basic_ostream<charT, traits>& boost::operator<<(std::basic_ostream<charT, traits>&, const boost::basic_string_view<charT, traits>&) [with charT = char; traits = std::char_traits<char>]’
/usr/include/boost/beast/http/verb.hpp:150:29: required from here
/usr/include/boost/utility/ostream_string.hpp:71:29: error: invalid use of incomplete type ‘class std::basic_ostream<char>’
71 | typename stream::sentry entry(os);Adding #include <ostream> resolve the issue
P.S.
I don't known if this is a boost_beast problem.
Metadata
Metadata
Assignees
Labels
No labels