That's a little bit surprising, since I wouldn't expect those functions to be needed unless they were called (and I don't see you calling anything yet). If you just put a dummy function (i.e., like you did with Employee::Employee, with nothing inside the curly braces) does that fix the problem?

12-08-2010

nglwthnati2de

Hmmm...not sure but I will try that out.
Thanks for the tip.

12-08-2010

RajX

The virtual function definition is needed for vtable initialization. So better add a dummy definition to make compiler happy.