This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: undefined reference to vtable for xxx
- From: Philipp Thomas <philipp dot thomas at t-link dot de>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 28 Jan 2008 19:59:13 +0100
- Subject: Re: undefined reference to vtable for xxx
- References: <479D25D5.10606@dlasys.net>
On Sun, 27 Jan 2008 19:46:13 -0500, David H. Lynch Jr. wrote:
>Is there any GCC option that will pry more information on this from GCC,
>Like what method is missing from child ?
There isn't an option that helps you track the problem.
Besides that which has be said already, this warning also comes when
different parts of the code see differing declarations, one with and one
without 'virtual'.
> -fms-extensions
BTW on a side note: If at all possible, get rid of that option (i.e.
change the code that needs it), because it allows IMNSHO very dubious MS
extensions to C++.
Philipp