
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? _________________________________________________________________ Windows 7: Simplify what you do everyday. Find the right PC for you. http://windows.microsoft.com/shop

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

Tried that on Visual C++ 2005, no, it didn't crash.
Date: Thu, 5 Nov 2009 12:35:55 -0500 From: jewillco@osl.iu.edu To: boost-users@lists.boost.org Subject: Re: [Boost-users] RTTI disabled in boost.graph
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 mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_________________________________________________________________ New Windows 7: Find the right PC for you. Learn more. http://windows.microsoft.com/shop
participants (2)
-
Jeremiah Willcock
-
Koh Hwee Miin