This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: undefined reference to vtable for xxx


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]