Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!umd5!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.lang.c Subject: Re: Help me cast this!: Ultrix 2.x bug Message-ID: <11371@mimsy.UUCP> Date: 6 May 88 04:20:52 GMT References: <294@fedeva.UUCP> <1451@iscuva.ISCS.COM> <11344@mimsy.UUCP> <386@m3.mfci.UUCP> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 15 Keywords: pointer to array of struct In article <386@m3.mfci.UUCP> root@mfci.UUCP (SuperUser) writes: -... "type (*)[...]" and "type **" are clearly incompatible types.... -However, pcc compilers [without Guy Harris's fix, or equivalent] -don't give a warning, and I was once told that Dennis Ritchie considers -it to be perfectly legal C. Told by whom? -So even though I consider it to be brain damaged to treat * and [] -as equivalent other than at the top level, I am currently under the -impression that this is standard K&R C. I think not. It is certainly not true in dpANS C. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris