www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/31/23:15:29

Message-Id: <199704010400.XAA27869@hcst.net>
From: "Bryan Murphy" <bf461 AT cleveland DOT freenet DOT edu>
To: <djgpp AT delorie DOT com>
Subject: Template (Virtual Table) Problems
Date: Mon, 31 Mar 1997 22:56:41 -0500
MIME-Version: 1.0

I've been trying to figure out why I get these virtual table errors
when using templates.  I've noticed something:

I have two files:   INIFILE.H/CC and UNIVERSE.H/CC,
when INIFILE.H/CC is included in the project and the objects
are instantiated in the LLIST.CC file, all references to the 
UNIVERSE.H/CC objects give me the virtual table errors.
When I remove the INIFILE.H/CC objects from the project
and the instantiations in the LLIST.CC file everything compiles 
fine.  Can you have template objects defined in more than one
file? This is very weird.  I wish I could narrow the code down 
to show you guys, but I am having a hard time pinpointing this.  
It keeps eluding me.

Also, tell me this?  Does the standard Template library work
with DJGPP, and if so where can I find some clear, concise,
and readable documentation on how to use it?  I'm really really
sick of dealing with these template problems, and I have yet
to find documentation for the Standard Template Library that
makes sense and is readable.

-------------------------------------------------------------------------
 Bryan Murphy                      Homepage: http://www.hcst.com/~bryan/
 Hassler Communication Systems     Workpage: http://www.hcst.com/
 Dayton, Ohio                      E-mail:   bf461 AT cleveland DOT freenet DOT edu
-------------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019