[M3devel] subrange or enum, with cvshead

Tony Hosking hosking at cs.purdue.edu
Mon Aug 20 17:46:24 CEST 2007


Hmmm.  Are you using the most recent cm3cg, and a compiler  
bootstrapped with it?

Also, I have not tested the LONGINT stuff extensively on AMD64 yet.   
Any chance you can diagnose the problem?

On Aug 20, 2007, at 8:01 AM, Dragiša Durić wrote:

> After I've compiled CM3 from cvshead for LINUXLIBC6 on x86_64  
> (skipping
> m3gdb, which I've reported earlier would not compile for me) I am
> getting this error when I try to rn one of programs that worked
> flawlessy few checkouts ago.
>
> ***
> *** runtime error:
> ***    An enumeration or subrange value was out of range.
> ***    file "../src/uid/Common/TimeStamp.m3", line 63
> ***
>
> This is corresponding code:
>
>         now := Time.Now() - epoch;
>>>>    time := TRUNC(now);
>         fineTime := ROUND(LongFloat.Scalb(now - FLOAT(time,  
> LONGREAL), 8));
>
> I've identified few other problems, but I suppose ther are all
> variations...
> 	
> -- 
> Dragiša Durić <dragisha at m3w.org>




More information about the M3devel mailing list