1 Nov
2013
1 Nov
'13
4:04 p.m.
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.