Re: our compiler can't convert longlong to float? 5.1-RC1

2003-06-06 Thread Jan Stocker
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

Re: our compiler can't convert longlong to float? 5.1-RC1

2003-06-06 Thread leafy
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);

Re: our compiler can't convert longlong to float? 5.1-RC1

2003-06-05 Thread leafy
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);

our compiler can't convert longlong to float? 5.1-RC1

2003-06-04 Thread leafy
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

Re: our compiler can't convert longlong to float? 5.1-RC1

2003-06-04 Thread Kris Kennaway
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:

Re: our compiler can't convert longlong to float? 5.1-RC1

2003-06-04 Thread Kris Kennaway
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