compiler error in term.h

Chris Chute MD chute at chutepc.UUCP
Tue Feb 23 02:32:32 AEST 1988


I have tried to compile the rolodex program that recently came over the net
on comp.sources.unix (in 4 parts).  I left the TERMINFO defined.  I am
running release 3.51 of the UNIXpc with 3.51 development set and Terminfo
development set (Rel 3.0) installed.
  The compiler complained about syntax in the include file, an experience I
have never had before.  The complait (on file clear.c) is as follows:

"/usr/include/term.h", line 725: syntax error
"/usr/include/term.h", line 725: cannot recover from earlier errors: goodbye!

The relavent parts of term.h are provided for your reading pleasure:

724 #ifndef NONSTANDARD
725 	SGTTY Ottyb,		/* original state of the terminal */
726 	      Nttyb;		/* current state of the terminal */
727 #endif

Any thoughts?

Cheers,
Chris Chute M.D.			IntN: chute at hscfvax.harvard.edu
Harvard School of Public Health		UUCP: chute at chutepc.uucp
Department of Epidemiology		BitN: chute at harvspha.bitnet
677 Huntington Ave			Voice:   (617)732-1480
Boston, MA 02115			Data:    (617)732-1843



More information about the Comp.sys.att mailing list