0

I am trying to serialize set of classes (where every class which has virtual destructor) using boost serialization. Test for all classes are passing except 1 which give above error.

I even tried setting enabling RTTI in VS 2012 but no use.. still the error exists.

I saw a link with similar type of issue but no help.

Boost Serialization of simple class with RTTI turned Off (-fno-rtti)

complete error message is - unknown location(0): fatal error in "mychecktest": std::bad_typeid: Access violation - no RTTI data!

There is another link on similar problem but no solution http://lists.boost.org/boost-testing/2005/05/1014.php

really don't know what could go wrong... really need help on this.

Thanks,

Community
  • 1
  • 1
sia
  • 1,872
  • 1
  • 23
  • 54

1 Answers1

0

in my case, i was also getting same issue and it was due to 1 of member variables was not serializing properly and hence this issue occured. You can also do the same check at and give it a try.

user1291401
  • 264
  • 1
  • 6
  • 18
  • you are correct.. indeed.. it is failing at 1 point..and if i comment it .. it runs fine.. – sia May 07 '14 at 11:24