Boost logo

Boost :

Subject: Re: [boost] [config] including typeinfo in dinkumware.hpp when RTTI isdisabled
From: Edward Diener (eldiener_at_[hidden])
Date: 2013-11-01 12:04:35


On 11/1/2013 10:03 AM, Peter Dimov wrote:
> Edward Diener wrote:
>> Or is it just more realistic to say that compiling Boost libraries
>> with RTTI disabled is not going to work ?
>
> Some libraries, such as SmartPtr and, I believe, Function, are
> specifically made to work with RTTI disabled (and many do work with
> exceptions disabled). It's probably your #define that's causing the
> problem, not /GR-. Exceptions under VC++ are turned off with a compiler
> switch (/EH- or omitting /EH, if I'm not mistaken), not a #define.

Unforunately clang does not support MS's /EH in any way, even when
emulating VC++. Also, in the build of clang with the VC++ iDE, the
_HAS_EXCEPTIONS=0 define is being used extensively.


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