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

Jan Stocker Jan.Stocker at t-online.de
Thu Jun 5 12:41:50 PDT 2003


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 Stocker <Jan.Stocker at t-online.de>



More information about the freebsd-current mailing list