This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: eb55
> Please add a better comment. This implies that streambuf.h is buggy.
Here you go. I find that the comment in excess errors isn't actually
copied to the log file.
Martin
Index: eb55.C
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.robertl/eb55.C,v
retrieving revision 1.1
diff -c -p -r1.1 eb55.C
*** eb55.C 1998/05/27 23:00:36 1.1
--- eb55.C 1998/06/02 22:02:54
***************
*** 1,9 ****
// Build don't link:
#include <strstream.h>
void
t( char* buf )
{
! istrstream str = buf;
}
--- 1,12 ----
// Build don't link:
+ // Since the constructor is in streambuf.h, additional diagnostics is
+ // produced, which is not really supported in the old-deja framework
+ // excess errors test - XFAIL *-*-*
#include <strstream.h>
void
t( char* buf )
{
! istrstream str = buf; //ERROR - inaccessible copy constructor
}