Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!columbia!rutgers!caip.rutgers.edu!brisco
From: brisco@caip.rutgers.edu (Thomas Paul Brisco)
Newsgroups: comp.sources.bugs
Subject: Re: Problems with Centipede
Message-ID: <4287@caip.rutgers.edu>
Date: Mon, 6-Jul-87 10:57:39 EDT
Article-I.D.: caip.4287
Posted: Mon Jul  6 10:57:39 1987
Date-Received: Tue, 7-Jul-87 03:21:18 EDT
References: <1031@bucsb.bu.edu.UUCP>
Organization: Rutgers Univ., New Brunswick, N.J.
Lines: 29
Keywords: centipede


]	Anybody else have this problem with Nathan Glasser's "Centipede" ?
]
]"save.c", line 133: Cannot take the address of this object            
]*** Error code 1
]
]Stop.
]
]Line 133 is:      read(fd,&ch,1);
]
](the only changes I made were to paths in 'sys_dep.c', as per instructions)
](doing this on Encore Multimax runnning 4.2 BSD                           )
]


	The problem is that "ch" is defined as a "register char" --
remove the "register" part and it will compile. My compiler
complained, but did not barf, on this.  It is really not a wise idea
to take the address of a register (they typically live at address 1 or
thereabouts). I got two of these messages overall, so you may run into
another. 


				Tp.
-- 
                  ----------------------------------------------------------
                  -                  ARPA: Brisco@rutgers                  -
                  -  UUCP: (ihnp4!ut-sally, allegra!packard) !caip!brisco  -
                  ----------------------------------------------------------