This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
re: libstdc++ and glibc 2.1.1?
- To: libstdc++@sourceware.cygnus.com
- Subject: re: libstdc++ and glibc 2.1.1?
- From: Benjamin Kosnik <bkoz@cygnus.com>
- Date: Thu, 15 Jul 1999 11:51:24 -0700
Joerg:
You seem to be having problems with libstdc++-v2, which is shipped
with egcs. Just to clarify, this list is for libstdc++-v3, which is a
standards-compliant library designed to replace libstdc++-v2.
As you've noticed, the differences between libio in RH 5.2 and RH 6.0
have introduced a binary incompatibility. Assuming that the shared
libstdc++ library was built correctly, you should be able to configure
your RH 6.0 host with the proper RH 5.2 shared libraries and have
everything work. However, this is not the proper list for that kind of
question. . .
Using v-3, and changing your code to be standards conformant, gives the
value for y that I believe you're looking for: the character 't';
#include <sstream>
main() {
char x ;
istringstream beitl("this is the input string") ;
char y ;
beitl.read(&y, 1) ;
}
-Benjamin