This is the mail archive of the gcc@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]

Re: C++ problem



teunis wrote:
> Ellipse2D.o: In function `Ellipse2D::getPathIterator(AffineTransform *)':
> /root/apps/projects/hive-3D/src/geom/EllipseIterator.hpp:25: undefined
> reference to `EllipseIterator virtual table'

G++ intantiates the vtable for a given class while compiling the
source file in which the first virtual function of that class is
defined. This message means that you declared the first virtual
function of your class and forgot to define it.

-- kga
-------------------------------------------------------------------------
Klaus-Georg Adams        Email: Klaus-Georg.Adams@chemie.uni-karlsruhe.de
Institut f. Anorg. Chemie, Lehrstuhl II            Tel: 49(0)721 608 3485
Universität Karlsruhe, D-76128 Karlsruhe
-------------------------------------------------------------------------


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