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

Subject: [Boost-bugs] [Boost C++ Libraries] #13431: ncurses.h and boost.asio problem
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-01-31 17:05:53


#13431: ncurses.h and boost.asio problem
-------------------------------------------------+-------------------------
 Reporter: Adrian Rapiteanu | Owner:
  <adrian.rapiteanu@…> | chris_kohlhoff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
  Version: Boost 1.66.0 | Severity: Problem
 Keywords: ncurses.h and boost.asio |
-------------------------------------------------+-------------------------
 Hi,
 I got the latest boost library (1.66) and tried to compile my old project.
 The file that I have the errors has #include <ncurses.h>
 I get a bunch of errors related to timeout() call.
 To reproduce:

 #include <boost/asio.hpp>
 #include <ncurses.h>

 /boost_release_1_66/include/boost/asio/basic_socket_streambuf.hpp:586:7:
 error: ‘stdscr’ is not a type
    int timeout() const

 Looking to the history I see that it was a similar issue but was fixed,
 and now in the latest release this issue is back.

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13431>
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-01-31 17:11:31 UTC