This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: undefined reference to `c_demande virtual table'
Thanks for answer.
I didn't know that i must declare a destructor (i sometime don t do it for
non abstract class ) for a abstract clas and that the constructor must be
virtual.
The problem is over, i found the response in the past of this list :)
----- Original Message -----
From: "bjorn rohde jensen" <shamus@tdcadsl.dk>
Cc: <gcc-help@gcc.gnu.org>
Sent: Monday, May 06, 2002 1:21 PM
Subject: Re: undefined reference to `c_demande virtual table'
> Hi there,
>
> The most likely reason, g++ does not find the virtual
> function table is, that it is not present in any of the
> object files, you are linking with. My guess would be,
> that you have forgotten to define the virtual function,
> which g++'s heuristic has chosen to determine the location
> of the virtual function table.
>
> Yours sincerely,
>
> Bjorn