Mail Archives: djgpp/1997/03/31/23:15:29
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 -