Re: is somebody using sfront on Darwin?

From: John Lazzaro (lazzaro@cs.berkeley.edu)
Date: Mon Jan 29 2001 - 13:43:37 EST


> File "mp4write.c"; line 1532 #Warning 2: possible unintended assignment
> #-----------------------
> float endstream = 3.40282347e+38F;

Oops, this one is my mistake -- the next release of sfront will have the
proper fix to this (using the ANSI symbol FLT_MAX ...), but for now just
change e+38 to e+35 and things should compile. You also want to go to
line 516 of readscore.c, and make a similar change:

  fprintf(outfile,"#define MAXENDTIME 3.40282347e+38F\n\n");

change this number again to be e+35 instead of e+38.

I believe that if you make these changes and then try to do a "make"
again, mp4write.c will compile, and then compilation will continue
to do the other C files left to compile (whose lack of compilation,
I assume, was the underlying issue). All of the other warning messages
look benign ...

That "make" got as far as it did would seem to indicate that the
sfront.make you created is basically OK, but I'm not an MPW user
so I could be missing something, hopefully there are some Macintosh
users listening in who will post if they see something amiss on this
front.

                                                                --jl

-------------------------------------------------------------------------
John Lazzaro -- Research Specialist -- CS Division -- EECS -- UC Berkeley
lazzaro [at] cs [dot] berkeley [dot] edu www.cs.berkeley.edu/~lazzaro
-------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Mon Jan 28 2002 - 11:46:41 EST