This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libstdc++/1693: sstream causes linkage error
- To: gcc-gnats at gcc dot gnu dot org
- Subject: libstdc++/1693: sstream causes linkage error
- From: jarausch at igpm dot rwth-aachen dot de
- Date: 18 Jan 2001 11:12:33 -0000
- Reply-To: jarausch at igpm dot rwth-aachen dot de
>Number: 1693
>Category: libstdc++
>Synopsis: sstream causes linkage error
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 18 03:16:04 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Helmut Jarausch, Lehrst. Numer. Math, RWTH Aachen, Germany
>Release: recent
>Organization:
>Environment:
linux glibc 2.2.1 / kernel 2.4.0
IRIX 6.5.9
>Description:
ld32: ERROR 33 : Unresolved text symbol "std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::seekpos(std::fpos<mbstate_t>, std::_Ios_Openmode)" -- 1st referenced by /var/tmp/ccEIphge.o.
>How-To-Repeat:
try to compile and link:
#include <string>
using std::string;
#include <sstream>
using std::istringstream;
int main() {
string Input1(" word1 word2\n word3");
istringstream Inp(Input1);
string S;
Inp >> S; // ignores white chars
}
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: