C++ Bug in egcs-971105
Klaus-Georg Adams
Klaus-Georg.Adams@chemie.uni-karlsruhe.de
Mon Nov 10 06:16:00 GMT 1997
The following code doesn't compile any more:
#include <strstream.h>
void
t( char* buf )
{
istrstream str = buf;
}
The messages:
achibm5:~/difccd/libfc >> /work3/egcs/bin/g++ -c tt.C
/work3/egcs/include/g++/streambuf.h: In method `istrstream::istrstream(const class istrstream &)':
/work3/egcs/include/g++/streambuf.h:119: `ios::ios(const class ios &)' is private
tt.C:6: within this context
/work3/egcs/include/g++/streambuf.h: In method `strstreambase::strstreambase(const class strstreambase &)':
/work3/egcs/include/g++/streambuf.h:119: `ios::ios(const class ios &)' is private
tt.C:6: within this context
/work3/egcs/include/g++/streambuf.h: In method `istream::istream(const class istream &)':
/work3/egcs/include/g++/streambuf.h:119: `ios::ios(const class ios &)' is private
tt.C:6: within this context
Is this a new C++ feature I have missed or is it egcs?
-- kga
-------------------------------------------------------------------------
Klaus-Georg Adams Email: Klaus-Georg.Adams@chemie.uni-karlsruhe.de
Institut f. Anorg. Chemie II Tel: 0721 608 3485
Uni Karlsruhe
-------------------------------------------------------------------------
More information about the Gcc-bugs
mailing list