Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!husc6!mit-eddie!nathan From: nathan@eddie.MIT.EDU (Nathan Glasser) Newsgroups: comp.sources.bugs Subject: Re: Problems with Centipede Message-ID: <6284@eddie.MIT.EDU> Date: Sat, 11-Jul-87 22:28:21 EDT Article-I.D.: eddie.6284 Posted: Sat Jul 11 22:28:21 1987 Date-Received: Sun, 12-Jul-87 17:09:19 EDT References: <4287@caip.rutgers.edu> <25245@ti-csl.CSNET> Reply-To: nathan@eddie.MIT.EDU (Nathan Glasser) Organization: MIT, EE/CS Computer Facilities, Cambridge, MA Lines: 18 In article <25245@ti-csl.CSNET> herman@ti-csl.CSNET (Herman Schuurman) writes: >in article <4287@caip.rutgers.edu>, brisco@caip.rutgers.edu (Thomas Paul Brisco) says: >> . . . . . It is really not a wise idea >> to take the address of a register (they typically live at address 1 or >> thereabouts). . . . . . . >According to K&R page 89: > "It is also illegal to take the address of a register variable." About this register variable stuff: At some point I probably made ch a register variable (why not), not realizing that I was already using the expression &ch somewhere. Since I was doing this on 4.xBsd Unix on a Vax, the compiler didn't complain. I probably still wouldn't know about it. if people hadn't started trying it on other systems. -- Nathan Glasser nathan@mit-eddie.uucp (usenet) fnord nathan@xx.lcs.mit.edu (arpa) "A tribble is the only love that money can buy."