Re: Re: sqrt FPE's and fclose errors

Tom Browder (tbrowde@asi-fwb.com)
Thu, 19 Mar 1998 08:48:04 -0600 (CST)


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.