Path: utzoo!utgpu!watmath!att!tut.cis.ohio-state.edu!husc6!rice!sun-spots-request
From: eggert@twinsun.com (Paul Eggert)
Newsgroups: comp.sys.sun
Subject: Re: RCS under 4.0.1
Keywords: SunOS
Message-ID: <603@brazos.Rice.edu>
Date: 28 Jul 89 00:38:42 GMT
Sender: root@rice.edu
Organization: Sun-Spots
Lines: 18
Approved: Sun-Spots@rice.edu
X-Sun-Spots-Digest: Volume 8, Issue 88, message 4 of 16

gretzky@unison.larc.nasa.gov (Mitch Gretzky) answers
eho@cognito.princeton.edu (Eric Ho)'s question "Has anyone got RCS
installed & working correctly under SunOS 4.0.1?...  [My attempt] barfed
at rcsutil.c (saying some illegal pointer types or something)?" by
writing:

	I found that the easiest way to get it to compile without error was to
	use the GNU c-compiler (gcc1.35).  Now it works just fine.  Don't
	forget to use the "-traditional" flag.

It's cleaner to get the types correct in rcsutil.c.  RCS's src/Makefile says:

	#     Also, set SIGNAL_TYPE to be what your signal() handlers yield.
	#     Old-fashioned signal handlers yield 'int'; the newer ones 'void'.

	SIGNAL_TYPE = int

Change the `int' to `void' and rcsutil.c will compile.