Another thing with this code.
#include stdio.h
typedef long long longlong;
main()
{
longlong ll=1;
float f;
FILE *file=fopen(conftestval, w);
f = (float) ll;
fprintf(file,%g\n,f);
close(file);
I think this has to be fclose
exit (0);
}
--
Jan
On Thu, Jun 05, 2003 at 07:41:11PM +, Jan Stocker wrote:
Another thing with this code.
#include stdio.h
typedef long long longlong;
main()
{
longlong ll=1;
float f;
FILE *file=fopen(conftestval, w);
f = (float) ll;
fprintf(file,%g\n,f);
On Tue, Jun 03, 2003 at 03:55:47PM -0700, Kris Kennaway wrote:
Post the code it's trying to run. It's possible it's buggy.
Kris
#include stdio.h
typedef long long longlong;
main()
{
longlong ll=1;
float f;
FILE *file=fopen(conftestval, w);
f = (float) ll;
fprintf(file,%g\n,f);
I got this strange message and a core dump after installing
5.1-RC1 cdrom iso
checking if c++ supports bool types... yes
checking if conversion of longlong to float works... Segmentation fault
(core du
mped)
no
configure: error: Your compiler cannot convert a longlong value to a float!
If you
On Tue, Jun 03, 2003 at 11:40:40PM +0800, leafy wrote:
I got this strange message and a core dump after installing
5.1-RC1 cdrom iso
checking if c++ supports bool types... yes
checking if conversion of longlong to float works... Segmentation fault
(core du
mped)
no
configure: error:
On Thu, Jun 05, 2003 at 09:44:38AM +0800, leafy wrote:
On Tue, Jun 03, 2003 at 03:55:47PM -0700, Kris Kennaway wrote:
Post the code it's trying to run. It's possible it's buggy.
Kris
#include stdio.h
typedef long long longlong;
main()
{
longlong ll=1;
float f;
FILE