public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/2619: Link fail with seekpos symbol
@ 2001-04-23 20:26 valj01
0 siblings, 0 replies; only message in thread
From: valj01 @ 2001-04-23 20:26 UTC (permalink / raw)
To: gcc-gnats
>Number: 2619
>Category: c++
>Synopsis: Link fail with seekpos symbol
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 23 20:26:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Jean-Marc Valin
>Release: gcc version 3.0 20010423 (prerelease) (RPM download)
>Organization:
>Environment:
Mandrake 8.0 (fresh install)
>Description:
When compiling the following program:
#include <sstream>
using namespace std;
int main ()
{
int val;
istringstream str_vector(string("10"));
str_vector >> val;
}
I get a link error:
/home/jm/tmp/ccJSFtbS.o(.gnu.linkonce.d._ZTVSt15basic_stringbufIcSt11char_traitsIcESaIcEE+0x1c): undefined reference to `std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::seekpos(std::fpos<__mbstate_t>, std::_Ios_Openmode)'
collect2: ld returned 1 exit status
>How-To-Repeat:
Any file that uses the stringstream class won't link.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-04-23 20:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-23 20:26 c++/2619: Link fail with seekpos symbol valj01
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).