Mail Archives: djgpp/1998/04/12/23:30:24
| From: | "Paul Derbyshire" <pderbysh AT usa DOT net>
|
| Newsgroups: | comp.os.msdos.djgpp
|
| Subject: | Braindead linker?
|
| Lines: | 9
|
| MIME-Version: | 1.0
|
| Message-ID: | <gufY.2325$Ni2.1485828@news21.bellglobal.com>
|
| Date: | Mon, 13 Apr 1998 03:18:36 GMT
|
| NNTP-Posting-Host: | 206.172.244.227
|
| NNTP-Posting-Date: | Sun, 12 Apr 1998 23:18:36 EST
|
| Organization: | Bell Solutions
|
| To: | djgpp AT delorie DOT com
|
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I get lots of multiple references using a template in two different files. If I
use -fno-implicit-templates, and put explicit instantiations in one file only,
I get undefined references. Despite what the dox say, code written for the
Borland model (e.g. the STL) does not work when used in multiple source files.
The ld I have is 2.8.1. Is there a more recent version that fixes this
behavior? Preferably by compiling Borland-type template code OK.
- Raw text -