undefined reference to vtable for xxx

Philipp Thomas philipp.thomas@t-link.de
Tue Jan 29 01:31:00 GMT 2008

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++.


More information about the Gcc-help mailing list