Boost logo

Boost Users :

Subject: Re: [Boost-users] RTTI disabled in boost.graph
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2009-11-05 12:35:55


On Thu, 5 Nov 2009, Koh Hwee Miin wrote:

> I'm building boost library on windows xp (32-bit) using visual c++ 2005, with RTTI enabled. Then I
> received a warning D9025 stating that "overriding /GR with /GR-", and after checking the jamfile I find
> out that RTTI was disabled for boost.graph library.
>
> I'm assuming boost library will work correctly with RTTI enabled all the while, and all my other
> projects are built with RTTI enabled. Will there be any undefined behavior if I try to use boost.graph
> in other RTTI projects?

The Jamfile suggests that some versions of Visual C++ crash if /GR- is not
given. Could you please try removing the two lines with GR- in
libs/graph/build/Jamfile.v2 and see if you are able to compile the library
successfully?

-- Jeremiah Willcock


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