Sam writes...
>On Mon, 5 Jul 1999, Aaron Nabil wrote:
>
>> . . .
>> UL: x=987654321
>> ULL: x=87654321
>
>Your native compiler has a bug.
A warning or error would be desirable if ULL isn't part of the
implementation's grammar (instead of silently emitting broken code).
Or were you suggesting the reason it's broken was that it doesn't
grok "ULL" but should?
Not to put too fine a point on it, but DJB's code is also playing
it a bit fast and loose...
t->x = 4611686018427387914ULL + (uint64) time((long *) 0);
...is clearly intending to declare the constant as the same size
as a uint64, a very architecture-specific assumption.
--
Aaron Nabil