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

Subject: [Boost-bugs] [Boost C++ Libraries] #2156: ncurses.h and boost.asio problem
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-07-30 15:50:27


#2156: ncurses.h and boost.asio problem
-------------------------------------------------+--------------------------
 Reporter: Rubén Lara <bermejator_at_[hidden]> | Owner: dgregor
     Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: CMake
  Version: Boost 1.35.0 | Severity: Problem
 Keywords: ncurses.h |
-------------------------------------------------+--------------------------
 Hi all!

 To reproduce:[[BR]]

 #include <boost/asio.hpp>[[BR]]
 #include <ncurses.h>
 [[BR]]

 If i try to include both libraries together i get next error:[[BR]]

 $ g++ -lncurses -lboost_system -lboost_thread -o main *.cpp
 /usr/include/boost/asio/detail/socket_option.hpp:242: error: ‘stdscr’ is
 not a type
 /usr/include/boost/asio/detail/socket_option.hpp:252: error: ‘stdscr’ is
 not a type
 /usr/include/boost/asio/detail/socket_option.hpp:252: error: expected
 identifier before ‘)’ token

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2156>
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 : 2017-02-16 18:49:58 UTC