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

From: leafy <leafy_at_leafy.idv.tw>
Date: Thu, 5 Jun 2003 09:44:38 +0800
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);
  close(file);
  exit (0);
}

this section of code is found in "configure" script in mysql323-client port.

Jiawei


-- 
"Without the userland, the kernel is useless."
               --inspired by The Tao of Programming
Received on Wed Jun 04 2003 - 16:44:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:10 UTC