TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Keith Bennett
from: Jonathan de Boyne Pollard
date: 1994-11-19 05:12:22
subject: It Virtually Linked ...

KB>
  > tport.lib(TSOCKET.CPP) : error L2029:
  > '{TRANSPORT_SOCKET_SERVER_BUFFERED}TRANSPORT::virtual-fn-
  > table-ptr' : unresolved external
KB>

  Usually if a virtual member function is not itself named, the error
  message refers to the virtual function table itself, which has
  external linkage throughout the program.

  To prevent multiple copies in many programs, most compilers use a
  "single copy" heuristic, which they use to decide which OBJ file to
  instantiate the virtual function table in.  If this heuristic fails
  for all CPP files, the virtual function table will not be instantiated
  anywhere, and linking will fail.

  For Metaware High C++, the single-copy heuristic is that the virtual
  function table is instantiated in the module that contains the
  definition of the first non-static non-virtual member function for the
  class.  This is known as the "seat of the class definition".

  You will need to consult the documentation for whatever compiler you
  are using to find out where the virtual function table is
  instantiated.

  > JdeBP <
___
 X MegaMail 2.10 #0:
--- Maximus/2 2.02

* Origin: DoNoR/2,Woking UK (01483-725167) (2:440/4)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 942 949 712/353 623 713/888 800/1
@PATH: 440/4 141/209 270/101 396/1 3615/50 229/2 12/2442 711/409 54/54
@PATH: 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.