ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/02/11:45:05

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: Martin Str|mberg <ams AT speedy DOT ludd DOT luth DOT se>
Subject: Re: string6.h ?
Newsgroups: comp.os.msdos.djgpp
References: <1017764467 DOT 9002 DOT 0 DOT nnrp-14 DOT d4e5b733 AT news DOT demon DOT co DOT uk>
User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (NetBSD/1.5_BETA (alpha))
Message-ID: <1017765344.497586@queeg.ludd.luth.se>
Cache-Post-Path: queeg.ludd.luth.se!unknown AT speedy DOT ludd DOT luth DOT se
X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/)
Date: 02 Apr 2002 16:35:44 GMT
Lines: 24
NNTP-Posting-Date: 02 Apr 2002 16:35:44 GMT
NNTP-Posting-Host: queeg.ludd.luth.se
X-Trace: 1017765344 news.luth.se 56969
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

wormscoffer <ajhussey AT hotmail DOT com> wrote:
: I know it's not my code as I've tried it with Steve's off his website :
: http://www.steveheller.com/whos/code/basic07.cc
: but I'm getting

: undefined reference to 'string::string()'
: undefined reference to 'operator>>(std::iostream&, string&)'
: undefined reference to 'operator>>(std::iostream&, string const&)'
: undefined reference to 'string::~string()'

: I used the link picker to download the DJGPP and RHIDE files and I suspect
: that it may be a later version than the one included with the book.

: Any ideas would be appreciated.

Try using gcc2*b.zip and gpp2*b.zip instead of gcc3*b.zip and

If that works, the code isn't complying to the latest standard.



- Raw text -

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