Well this example (test_no_rtti)only compiles if the rtti option is enable
in the visual studio 2005.
By the way, what kind of C++ application does not use pointers??? :-/
Thanks for all your help.
On 1/18/07, Robert Ramey
The package documentation on this subject. There is also a program - test_no_rtti - which tests a type designated to use a different system than rtti and verify that it can interoperate with one that does.
I should note that although I designed, implemented and tested, and documented this facility, I don't know how well it will work in a real project. I've recieved very little feedback on this aspect of the library. I don't know if this indicates that it works well, or that it is rarely if ever used. I suspect the latter.
Note that RTTI is only need for serialization of pointers so if your application doesn't need to do that - you will have no problem.
Robert Ramey
Miguel Silvestre wrote:
Hi!
I turnned off the RTTI because in my projct it must be disconnected. No turn the RTTI on and the file compiled and run successfully.
S.
It seems to me that I'm in big trouble!!!!!!! Isn't there any way of doing this with the rtti turned off at visual studio???
On 1/18/07, Robert Ramey
wrote: If you're compiling from the IDE, you might double check that the RTTI option is actually set to true. In my experience with MSVC this option is by default reset to off.
Robert Ramey
Miguel Silvestre wrote:
Hi!
I'm tryingto compile and test the test_no_rtti for deriving pointers of derived classes.
I'm getting a crash in the file dbgheap.c line 266 when the boost tries to do this: return dynamic_cast<T>(u); on file smart_cast.hpp line 76.
I'm using VC-80 compiler. In the attach I send the file (a little bit modified, since I'm looking for this to compile :S).
Any sugestion please????
-- Miguel Silvestre
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Miguel Silvestre