delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/11/07:57:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: "Dylan Cuthbert" <dylan AT q-games DOT com>
Newsgroups: gmane.os.cygwin
Subject: gcc 3.11-2 link error with stdc++
Date: Thu, 11 Jul 2002 20:58:42 +0900
Lines: 25
Message-ID: <agjrom$pge$1@main.gmane.org>
NNTP-Posting-Host: pppa183.kyoto-ip.dti.ne.jp
Mime-Version: 1.0
X-Trace: main.gmane.org 1026388567 26126 210.159.246.183 (11 Jul 2002 11:56:07 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Thu, 11 Jul 2002 11:56:07 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

Hi there,

I have downloaded the very latest 3.11 version of gcc for cygwin.

It seems any piece of code using string::replace with iterators causes a
link error at the moment, this is the error I get:

 undefined reference to `
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::replace(std::__normal_iterator<char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
std::__normal_iterator<char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >, unsigned, char)'
collect2: ld returned 1 exit status

If this isn't a cygwin-related problem I'll post to the gcc group, however,
I haven't seen mention of this kind of problem on there.

Regards

--
---------------------------------
Q-Games, Dylan Cuthbert.
http://www.q-games.com




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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