Boost logo

Boost Users :

From: Marc Viala (cram.viala_at_[hidden])
Date: 2022-03-05 11:21:20


On our platform (VS2019, Windows x64, Boost 1.77) an exception occurs
during the serialization of an instance through its base pointer. This
error is systematic and I was able to reproduce w/ a minimal use test (cf.
enclosed archive). This use case includes a solution w/ a DLL project and
EXE project. The EXE project is a simple unit-test. On my platform when I
execute the executable, I trigger an exception from Boost.Serialization
("unregistered void cast class cpe::derived_t<-class cpe::object_t"). I
tried every recommandation that we can find on SO and Boost mailing lists
without success. To be accurate, I prefer to mention that we are using
Boost.Serialization Static Library flavor.

Any help would be appreciated.

Marc Viala

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at