RTTI disabled in boost.graph

View: New views
4 Messages — Rating Filter:   Alert me  

RTTI disabled in boost.graph

by Koh Hwee Miin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
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.
_______________________________________________
Boost-users mailing list
Boost-users@...
http://lists.boost.org/mailman/listinfo.cgi/boost-users

Re: RTTI disabled in boost.graph

by Jeremiah Willcock :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 mailing list
Boost-users@...
http://lists.boost.org/mailman/listinfo.cgi/boost-users

Re: RTTI disabled in boost.graph

by Koh Hwee Miin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Tried that on Visual C++ 2005, no, it didn't crash.

> Date: Thu, 5 Nov 2009 12:35:55 -0500
> From: jewillco@...
> To: boost-users@...
> 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@...
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


New Windows 7: Find the right PC for you. Learn more.
_______________________________________________
Boost-users mailing list
Boost-users@...
http://lists.boost.org/mailman/listinfo.cgi/boost-users

Re: RTTI disabled in boost.graph

by Jeremiah Willcock :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 6 Nov 2009, Koh Hwee Miin wrote:

> Tried that on Visual C++ 2005, no, it didn't crash.

OK.  I removed that flag in the trunk.

-- Jeremiah Willcock
_______________________________________________
Boost-users mailing list
Boost-users@...
http://lists.boost.org/mailman/listinfo.cgi/boost-users