Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sunybcs!cald80!dgy From: dgy@cald80.UUCP (dgy) Newsgroups: comp.sources.bugs Subject: Re: Problems with Centipede Message-ID: <1225@cald80.UUCP> Date: Mon, 6-Jul-87 22:05:27 EDT Article-I.D.: cald80.1225 Posted: Mon Jul 6 22:05:27 1987 Date-Received: Wed, 8-Jul-87 04:36:38 EDT References: <1031@bucsb.bu.edu.UUCP> Reply-To: dgy@cald80.UUCP (dgy) Organization: Calspan Advanced Technology Center Lines: 19 Keywords: centipede In article <1031@bucsb.bu.edu.UUCP> eap@bucsb.UUCP (EAP) writes: > Anybody else have this problem with Nathan Glasser's "Centipede" ? ... > cc -O -c save.c >"save.c", line 133: Cannot take the address of this object >*** Error code 1 > >Stop. > >Line 133 is: read(fd,&ch,1); If you look at the top of the routine you'll see that the variable 'ch' is a 'register char.' Get rid of the word 'register' and it should work fine. Dave Yearke Sigma Systems Technology, Inc. seismo!kitty!sunybcs!cald80!sigmast!dgy decvax!sunybcs!cald80!sigmast!dgy