call to revolt

Norman Diamond diamond at jit533.swstokyo.dec.com
Fri Jun 28 14:06:39 AEST 1991


In article <4247 at ksr.com> jfw at ksr.com (John F. Woods) writes:
>diamond at jit533.swstokyo.dec.com (Norman Diamond) writes:
>>In article <992 at baby.and.nl> jos at and.nl (J. Horsmeier) writes:
>>>Hi there, I'll die if casting lvals is going to be illegal.
>>>type* Thing;
>>>((int)Thing)= Thing-Base+1;
>>You'll die if you have to write
>>  Thing = (type*) (Thing-Base+1);
>>My heart bleeds for you.
>
>Well, in fact, the second line isn't actually obligated to do what is
>apparently desired, i.e. to copy the integer value bit-for-bit into the
>pointer;

Yeah, well neither is the first line.  The first line intuitively should
not copy anything at all into the pointer, and legally can erase his hard
disk after issuing a diagnostic.
--
Norman Diamond       diamond at tkov50.enet.dec.com
If this were the company's opinion, I wouldn't be allowed to post it.
Permission is granted to feel this signature, but not to look at it.



More information about the Comp.std.c mailing list