Mail Archives: djgpp/1995/10/09/09:13:32
| Xref: | news-dnh.mv.net comp.os.msdos.djgpp:2498
|
| Path: | news-dnh.mv.net!mv!news.sprintlink.net!wizard.pn.com!satisfied.apocalypse.org!news2.near.net!ctp.com!news
|
| From: | pdrap AT ctp DOT com (Patrick Draper)
|
| Newsgroups: | comp.os.msdos.djgpp
|
| Subject: | Template support
|
| Date: | Mon, 09 Oct 1995 08:04:18 GMT
|
| Organization: | Cambridge Technology Partners
|
| Lines: | 26
|
| Reply-To: | pdrap AT ctp DOT com
|
| Nntp-Posting-Host: | vuitpc08.nl.ctp.com
|
| To: | djgpp AT sun DOT soe DOT clarkson DOT edu
|
| Dj-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Hi,
I'm running DJGPP version 1.12 maint3 with gcc 2.6.3 and I have written a
small linked list class that uses templates.
The class compiles just fine, but when I try to link it with a test
program, the linker can't find any symbols that are in the linked list
class.
Is there a special trick to get everything to link? Does the version of
DJGPP that I have support templates? Will the beta version of DJGPP support
templates better?
I know my linked list class is working because I have compiled and tested
the same source code successfully under a cfront compiler. There's also
nothing tricky at all about the class. It's very very simple.
BTW, if anyone wants the class, they can have it for free. I looked around
on the WWW for quite a while for public domain code, but everything is
shareware! So, I wrote a simple one myself, and I intend to make it totally
public domain.
Thanks,
- Raw text -