Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2008-08-17 23:47:02


on Sun Aug 17 2008, rasmus ekman <m11048-AT-abc.se> wrote:

> Would it be useful (or correct) to add the following to config/compiler/visualc.hpp:
>
> //
> // check for RTTI support:
> #ifndef _CPPRTTI
> # define BOOST_NO_TYPEID
> #endif
>
> (eg around line 106, after the test for exceptions)
> ?
>
> I'm using MSVC 7.1 (SP1) with STLport 5.1.5 (latest)
>
> - With the new Boost.Exception I get a drizzle of C4541 warnings.
> I don't want to force BOOST_NO_TYPEID in config/user.hpp because
> some projects do have RTTI.

Looks good to me; maybe you should add a patch against Boost.Config to
http://svn.boost.org/trac/boost.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

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