[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Re: sqrt FPE's and fclose errors



On a DEC alpha with RH 5.0, I get a segv
using fclose.

This is the simplest prog which causes the segv:

#include <stdio.h>
main()
{
	FILE *fp;

	fp = fopen("t", "w");
	fclose(fp);
}

If I compile it with

  gcc prob.c

it works; but if I use

  g++ prob.cc

it bombs!

Suggestions?

Tom Browder
ASI Systems International
A Division of SRS Technologies, Inc.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []