Boost logo

Boost :

Subject: Re: [boost] [config] including typeinfo in dinkumware.hpp when RTTIisdisabled
From: Peter Dimov (lists_at_[hidden])
Date: 2013-11-01 12:30:09


Edward Diener wrote:
> Also, in the build of clang with the VC++ iDE, the _HAS_EXCEPTIONS=0
> define is being used extensively.

Judging by the compiler error, it appears that the standard library doesn't
define std::exception at all when _HAS_EXCEPTIONS=0. Boost libraries do
depend on std::exception as a base class for their own exception types even
when exceptions are off, so its absence is likely to break a lot of things,
not just <typeinfo>.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk