[Boost.Serialization] Exception during serialization through base pointer DLL & EXE

Marc Viala via Boost-users <[email protected]>
Newsgroups gmane.comp.lib.boost.user
Message-ID <CAEM6Bve3bCx3EL1gcWM8obv6-gaV+QYrcQ6dzjqUmk1uF17uRg@mail.gmail.com>
Hi,

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 mailing list
[email protected]
https://lists.boost.org/mailman/listinfo.cgi/boost-users
test-serialize.zip (application/x-zip-compressed, 1.9 KB) - not displayed
test-dll.zip (application/x-zip-compressed, 3.5 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.