On Sat, Oct 04, 2003 at 11:50:23AM +0200, Daniel B??wetter wrote:
>Hi William and *,
>
>I tried your example program because I've got problems with my TCM-port,
>which requires g++-2.95 to compile. I'm afraid I can't reproduce your
>SEGFAULT, it seems to work with both compiler versions on my ins
Hi William and *,
I tried your example program because I've got problems with my TCM-port,
which requires g++-2.95 to compile. I'm afraid I can't reproduce your
SEGFAULT, it seems to work with both compiler versions on my installation.
BTW: if someone's got a little time, I could use some help
The following program crashes when compiled with g++-2:
-start cyggcc295bug.cxx---
#include
int main()
{
char buffer[1024];
std::ifstream fin("./cyggcc295bug.cxx");
if(fin)
{
fin.getline(buffer, 10); // Running a.exe crashes here.
return 0;
}
return 1;
}