31 Dec
2009
31 Dec
'09
5:49 a.m.
Hi, I am using boost's thread and asio library: #include <boost/asio.hpp> #include <boost/thread.hpp> But when I compile it, I get this error: /media/data/bin/boost/include/boost/exception_ptr.hpp:11:2: error: #error This header requires exception handling to be enabled. In file included from /media/data/bin/boost/include/boost/asio/detail/winsock_init.hpp:22, /media/data/bin/boost/include/boost/function/function_base.hpp:386: error: cannot use typeid with -fno-rtti Is there a way to use boost's thread and asio library without exception and rtti? Thank you.