Re: sfront 0.69 2/18/01 released

From: John Lazzaro (lazzaro@cs.berkeley.edu)
Date: Sun Feb 18 2001 - 20:44:41 EST


> MrC C Compiler 4.1.0f1c1
> Copyright (C) 1994-1999 by Apple Computer, Inc.
>
> { 54.487499F, MAXENDTIME, MAXENDTIME, MAXENDTIME, 0.0F, 0.0F,
>
> ^
> File "sa.c"; line 1171 #Error: constant initializer expected
> #-----------------------

OK, my guess here is that this previous line:

#define MAXENDTIME FLT_MAX

Isn't having the appropriate effect, which is surprising, since FLT_MAX
is an ANSI C construct defined in <float.h>, which is included in the
sa.c file before hand. Try this:

Edit the sa.c file, and goto line 1170, which should be:

#define MAXENDTIME FLT_MAX

Before this line, try adding

#if (!defined(FLT_MAX))
#define FLT_MAX 3.2e38
#endif

And then recompile. Does it work? Let me know ...

If it doesn't work, try the more direct:

#define MAXENDTIME 3.2e38

and see if that works.

P.S. The pc/ example was tested under Linux and SunOS and works,
so people using those platforms can still keep downloading
0.69 w/o worries -- have any Windows users found this problem with
0.69?

-------------------------------------------------------------------------
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:42 EST