|
Boost Users : |
Subject: [Boost-users] How to use boost thread & asio library without exception
From: n179911 (n179911_at_[hidden])
Date: 2009-12-31 00:49:06
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.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net