Article View: comp.sys.atari.st
Article #29535Re: Alcyon C Bug N++ (Alcyon wins again)
From: Computer Center
Date: Wed, 09 Dec 1987 03:03
Date: Wed, 09 Dec 1987 03:03
21 lines
1247 bytes
1247 bytes
In article <8712051307.AA12109@ucbvax.Berkeley.EDU>, aking@BFLY-VAX.BBN.COM (Allen King) writes: > Has anybody seen the following bug in version 4.14 of Alcyon C? > > /* > * The Alcyon C compiler (Version 4.14) gets confused with the following > * fragment, thinking that "y" in the assignment to F->y (line 10) is of > * type "struct in". > * > * The fault seems to require that the same names be used in the two structs, 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 (The I.G.) (...ucbvax!ucsfcgl!cca.ucsf!thos) If he says it's "user friendly" watch out; he's a con artist. #include <disclaimer.std>
Technical Details
Message-ID:
<1102@ucsfcca.ucsf.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!cbosgd!ucbvax!ucsfcgl!cca.ucsf.edu!rootReferences:
<8712051307.AA12109@ucbvax.Berkeley.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!cbosgd!ucbvax!ucsfcgl!cca.ucsf.edu!root From: root@cca.ucsf.edu (Computer Center) Newsgroups: comp.sys.atari.st Subject: Re: Alcyon C Bug N++ (Alcyon wins again) Summary: Buggy program Message-ID: <1102@ucsfcca.ucsf.edu> Date: 9 Dec 87 03:03:49 GMT References: <8712051307.AA12109@ucbvax.Berkeley.EDU> Organization: Computer Center, UCSF Lines: 21