Re: [Boost-bugs] [Boost C++ Libraries] #13431: ncurses.h and boost.asio problem

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13431: ncurses.h and boost.asio problem
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-05-22 04:13:35


#13431: ncurses.h and boost.asio problem
-------------------------------------+-------------------------------------
  Reporter: Adrian Rapiteanu | Owner: chris_kohlhoff
  <adrian.rapiteanu@…> |
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: asio
   Version: Boost 1.66.0 | Severity: Problem
Resolution: | Keywords: ncurses.h and
                                     | boost.asio
-------------------------------------+-------------------------------------

Comment (by lebed.dmitry@…):

 Same issue for me (gcc 8.1.0, boost 1.66.0-2):

 {{{
 /usr/include/boost/asio/basic_socket_streambuf.hpp:586:7: error: 'stdscr'
 is not a type
    int timeout() const
        ^~~~~~~
 /usr/include/boost/asio/basic_socket_streambuf.hpp:586:7: error: expected
 identifier before '(' token
    int timeout() const
        ^~~~~~~
 /usr/include/boost/asio/basic_socket_streambuf.hpp: In member function
 'std::basic_streambuf<char>::int_type
 boost::asio::basic_socket_streambuf<Protocol, Clock,
 WaitTraits>::underflow()':
 /usr/include/boost/asio/basic_socket_streambuf.hpp:470:42: error: expected
 primary-expression before ')' token
              socket().native_handle(), 0, timeout(), ec_) < 0)
                                           ^~~~~~~
 /usr/include/boost/asio/basic_socket_streambuf.hpp: In member function
 'std::basic_streambuf<char>::int_type
 boost::asio::basic_socket_streambuf<Protocol, Clock,
 WaitTraits>::overflow(std::basic_streambuf<char>::int_type)':
 /usr/include/boost/asio/basic_socket_streambuf.hpp:529:42: error: expected
 primary-expression before ')' token
              socket().native_handle(), 0, timeout(), ec_) < 0)
                                           ^~~~~~~
 /usr/include/boost/asio/basic_socket_streambuf.hpp: In member function
 'void boost::asio::basic_socket_streambuf<Protocol, Clock,
 WaitTraits>::connect_to_endpoints(EndpointIterator, EndpointIterator)':
 /usr/include/boost/asio/basic_socket_streambuf.hpp:647:39: error: expected
 primary-expression before ')' token
              socket().native_handle(), timeout(), ec_) < 0)
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13431#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2018-05-22 04:18:04 UTC