
I have search for solution of my problem and I have tried adding
#define BOOST_NO_EXCEPTIONS
#define BOOST_NO_RTTI
before I include any boost hpp files,
But that still does not resolve the compile errors.
Thank you.
On Wed, Dec 30, 2009 at 9:49 PM, n179911
Hi,
I am using boost's thread and asio library:
#include
#include 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.