Path: utzoo!attcan!uunet!wyse!vsi1!ames!pacbell!cogent!uop!jeff From: jeff@uop.edu (Jeff Ferguson) Newsgroups: comp.sources.games.bugs Subject: Re: MAZEWAR compile-time error Summary: Eureka! Keywords: mazewar, bugs, compile-time Message-ID: <1686@uop.edu> Date: 22 Sep 88 19:45:18 GMT References: <1683@uop.edu> Organization: University of the Pacific, Stockton, CA Lines: 24 In article <1683@uop.edu>, jeff@uop.edu (Jeff Ferguson) writes: > > I have just pulled a copy of MAZEWAR off of this newsgroup. > When I tried to compile it (using MAKE), I got the following: > > user.c: 137: clearok: argument mismatch > "user.c", line 137: syntax error at or near symbol ) > *** Error code 1 > > Stop. > > When I get it worked out I will post a fix. I'm back with my fix! Line 137 in user.c needs to read . . . clearok(stdscr, TRUE); There are two arguments to CLEAROK (as seen in /usr/include/curses.h). The second is a boolean flag that tells the function whether you REALLY want it to clear the screen or not. I suppose I should make the TRUE value a variable so that it can be changed if needed . . . but, hey -- if you don't like it, sue me! Everything compiled fine! Thanks, -- Jeff.