c++/501: egcs crash on std::std.flush()
electro@alpha.ece.ucsb.edu
electro@alpha.ece.ucsb.edu
Thu Aug 31 17:56:00 GMT 2000
>Number: 501
>Category: c++
>Synopsis: egcs crash on std::std.flush()
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Aug 31 17:56:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Ahmi Wolf
>Release: egcs-2.91.66
>Organization:
>Environment:
Redhat Linux 6.2 (Zoot) on x86 pentium Dell Optiplex GX1p
>Description:
I got a compiler message:
Internal Compile Error
please submit bug report
when I accidentally typed std::std.flush() instead of
std::cout.flush() (see code below)
You can get this error by compiling this program with a
simple g++ test.cpp where test.cpp is:
#include <iostream>
int main( void )
{
std::cout << "Testing compile error...";
std::std.flush(); //works with std::cout.flush()
return 0;
}
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list