[Serialization]: compiler error when registering derived class

I'm embarrassed to to ask this, but maybe someone could interpret this strange compiler error for me: I am registering a
derived class everywhere that it is archived through a base class pointer:
class MyDerivedClass : public MyBaseClass { … };
class AnotherClass
{
MyBaseClass *p;
…
void serialize(Archive &ar, unsigned int)
{
ar.register_type(static_cast
participants (1)
-
Mccall, Kurt E. (JSC-EG411)