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-03-13 09:29:17


#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 saszasta@…):

 I also have this exact problem.

 boost 1.66.0-1;
 ncurses 6.1-3

 {{{
 In file included from test_controller.cpp:2:0:
 /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:1>
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-03-13 09:35:36 UTC