undefined reference to vtable for xxx

Philipp Thomas philipp.thomas@t-link.de
Sat Feb 2 09:06:00 GMT 2008


On Fri, 01 Feb 2008 09:51:49 -0500, David H. Lynch Jr. wrote:

>I have not been able to find any reason one would need either pragma
>with current versions of gcc.

Those two pragmas stem from ancient pre-ISO C++ times and are indeed
unneedeed. If gcc only sees '#pragma interface' , it thinks everything
is a definition of the interface and will not create vtables.

Philipp



More information about the Gcc-help mailing list