[plt-scheme] off (plt) topic (short koan in .c language and a question)

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Fri May 7 11:21:49 EDT 2010

On Fri, May 7, 2010 at 10:01 AM, vladimir <vladimir at ok2home.net> wrote:
>> even without pointers, allocation or dubious-looking type casts:
>
> but none of that type casts should give any warning in decent .c
> compiler (on arch where size of integer equals the size of float in
> bits).

If I understand the spec properly (which is not clear....) then your
program was illegal, but the revision was okay, since the spec (I
think) says that you cannot point to the same address with two
different types unless one of the types is void*.

Robby


Posted on the users mailing list.