Opened 14 years ago
Closed 14 years ago
#2156 closed Bugs (fixed)
ncurses.h and boost.asio problem
Reported by: | Owned by: | chris_kohlhoff | |
---|---|---|---|
Milestone: | Boost 1.36.0 | Component: | asio |
Version: | Boost 1.35.0 | Severity: | Problem |
Keywords: | ncurses.h | Cc: |
Description
Hi all!
To reproduce:
#include <boost/asio.hpp>
#include <ncurses.h>
If i try to include both libraries together i get next error:
$ 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
Change History (3)
comment:1 by , 14 years ago
Component: | CMake → asio |
---|---|
Owner: | changed from | to
comment:2 by , 14 years ago
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Same with svn version 47889 revision:
bermejo@BERMEJO-MOBILE ~/Proyecto/boost $ !g++ 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
Rubén Lara