Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!uwm.edu!ogicse!schaefer From: schaefer@ogicse.ogi.edu (Barton E. Schaefer) Newsgroups: comp.mail.mush Subject: Re: mush 7.0 on SCO Xenix 286 ? Keywords: mush,7.0,sco,xenix,286,curs_io.c,wierdness Message-ID: <7553@ogicse.ogi.edu> Date: 25 Feb 90 21:00:43 GMT References: <8162@pt.cs.cmu.edu> <10304@rel.mi.org> <7552@ogicse.ogi.edu> Distribution: usa Organization: Oregon Graduate Institute (formerly OGC), Beaverton, OR Lines: 44 In article <7552@ogicse.ogi.edu> schaefer@ogicse.ogi.edu, I wrote: } } [.... H]ere's a program that will } perform a rudimentary check for what is being defined and how many } definitions there are altogether. I also meant to append the output of that program for curs_io.c in particular; just as well I didn't for lang.perl, I guess. Here it is, with verbosity turned off and some "redefined" messages deleted: % ckcpp -v -DSYSV -DM_XENIX curs_io.c Predefined 2 symbols: M_XENIX SYSV Total of 388 symbols defined, max was 388. % ckcpp -v -DCURSES -DSYSV -DM_XENIX curs_io.c Unrecognized #if expression (!defined(SUNTOOL)) Predefined 3 symbols: M_XENIX CURSES SYSV Total of 584 symbols defined, max was 584. Damn, it doesn't understand parens around [!]defined(). Oh well. Unfortunately, the above was not run on a Xenix system :-} so I can't vouch for the numbers. Here's what it looks like with the correct definitions for my system: % ckcpp -v -DCURSES -DBSD curs_io.c Predefined 2 symbols: CURSES BSD Unrecognized #if expression (!defined(SUNTOOL)) Total of 576 symbols defined, max was 576. Does this number of symbols look like it might cause problems for the Xenix compiler? -- Bart Schaefer "February. The hangnail on the big toe of the year." -- Duffy schaefer@cse.ogi.edu (used to be cse.ogc.edu)