Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!ihlpg!tainter
From: tainter@ihlpg.ATT.COM (Tainter)
Newsgroups: comp.sys.atari.st
Subject: Re: Alcyon C Bug N++  (Alcyon FAILS again)
Message-ID: <4470@ihlpg.ATT.COM>
Date: 12 Dec 87 19:26:53 GMT
References: <8712051307.AA12109@ucbvax.Berkeley.EDU> <1102@ucsfcca.ucsf.edu>
Organization: AT&T Bell Laboratories - Naperville, Illinois
Lines: 13

> In article <8712051307.AA12109@ucbvax.Berkeley.EDU>, aking@BFLY-VAX.BBN.COM (Allen King) writes:
> Please read K&R page 197 which requires that when the same member
> names are used in different structs the types must agree from the
> beginning of the struct through the member in question.
>--Thos Sumner       (thos@cca.ucsf.edu)   BITNET:  thos@ucsfcca
Please go back and read the statement about this being an implementation
characteristic of the now consistered to be crummy implementation of C
they were documenting in that book.  Even if they do have that restriction
it is the obligation of the compiler to at a minimum warn you that such
a conflict exists.  What makes this a bug is silently accepting the code
and generating bogus code.

--j.a.tainter