You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pynac...@googlegroups.com
At http://trac.sagemath.org/ticket/14780 we ran into a general issue with pynac in that it uses C++ RTTI which does not work across DSO boundaries. This results in std::bad_cast errors when the dynamic linker ends up picking the template instantiation from outside of libpynac.
IMHO the best fix is to use explicit instantiation in libpynac. Then you can also declare the templates extern in the code using libpynac, although the latter is probably not require (the dynamic linker will default to the instantiation in libpynac). A patch is at