undefined reference to `typeinfo for Person' code example Example: undefined reference to `typeinfo virtual void foo() =0; //add = 0