John Pye-4 wrote:
Hi Jeshua,
Vaguely related comment on your problem. I was also recently seeing this "unregistered void cast" runtime error. As far as I could tell it was a problem relating to my ordering and placement of "#include
(or ditto iarchive), and "#include as well as calls to BOOST_CLASS_EXPORT. It was nothing to do with my use of void_cast_register, which in fact I don't use anywhere in any of my code.
So FWIW I think that this error message is not particularly helpful or well-worded.
Cheers JP
JP,
Thanks for the comment.
This issue was mentioned to me in my previous message I sent out. I believe
I have the includes ordered correctly. What Robert said was that I need to
include the archives before the export header file. Here's the order in
which I include the serialization headers:
#include