Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2004-08-09 08:20:20


"Samuel" <samuel_at_[hidden]> writes:

> VC 6 has an option for Run-Time Type Information (RTTI) that is normally
> off. I was able to compile and execute a sample program that had a problem.
> I noticed that Boost uses RTTI (such as the dynamic_cast operator), so I
> checked to see if the option was on; it was not. I turned the option on and
> the program worked.
>
> That problem is probably a known problem, but something such as the
> following can be added somewhere to not allow a VC 6 program to even compile
> if the RTTI option is off. I think it could make things a little easier for
> some beginners.
>
> # if !defined(_CPPRTTI)
> # error "Boost requires use of RTTI"
> # endif

This isn't a Boost.Build specific issue. Maybe you could repost it
to the Boost developers' list?

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net