| delorie.com/archives/browse.cgi | search |
| Xref: | news2.mv.net comp.os.msdos.djgpp:1032 |
| From: | burger AT bunsen DOT HRZ DOT Uni-Marburg DOT DE (Christian Burger) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: stl problem w/ v2beta5 |
| Date: | 12 Feb 1996 17:12:17 GMT |
| Organization: | University of Marburg / Germany |
| Lines: | 30 |
| Message-ID: | <4fnsdh$ct5@surz03fi.HRZ.Uni-Marburg.DE> |
| References: | <4f5i62$qts AT surz03fi DOT HRZ DOT Uni-Marburg DOT DE> <3118285D DOT 7193EC10 AT alcyone DOT com> |
| NNTP-Posting-Host: | bunsen.hrz.uni-marburg.de |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Erik Max Francis (max AT alcyone DOT com) wrote:
: Christian Burger wrote:
: > The following does not link, complaining about a missing new or so:
: >
: > #include <list>
: > main() {
: > list<int> a;
: > a.push_back(1);
: > }
: >
: > Any clues?
: Without more information, all I can say is that it sounds like you might have a
: problem instantiating your template class.
: There are several ways to do this; check the gcc documentation for more
: information.
Hmm. The code above works under linux/gcc-2.7.2/lib-g++-2.7.1.
The relevant stl-header files seem identical.
Using -fno-implicit-templates and manual instantiation could hardly be
considered an option here.
The -frepo thing doesnt seem to work under DOS.
What should I try?
I consider this as a serious problem for using gnu-c++ under DOS.
Christian
burger AT bunsen DOT hrz DOT uni-marburg DOT de
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |