Path: utzoo!utgpu!watmath!clyde!bellcore!rutgers!deimos!uxc!uwmcsd1!marque!uunet!mcvax!hp4nl!ctisbv!pim From: pim@ctisbv.UUCP (Pim Zandbergen) Newsgroups: comp.unix.microport Subject: Re: Compile errors on V/386 3.0E Message-ID: <608@ctisbv.UUCP> Date: 9 Dec 88 18:13:36 GMT References: <680@wa3wbu.UUCP> <417@zinn.MV.COM> Reply-To: pim@ctisbv.UUCP (Pim Zandbergen) Organization: CTI Software BV, The Hague, The Netherlands Lines: 20 In article <417@zinn.MV.COM> mem@zinn.MV.COM (Mark E. Mallett) writes: > >If your line numbers match up with my sources, which it appears that >they do, then perhaps the signal.h for green hills compiler doesn't >[properly] declare the signal() routine, or worse, doesn't properly >implement it. It should be declared: > > extern (*signal())(); In System V release 3.x on the AT&T 3B2, signal() is declared as extern void (*signal())(); This should be the same with any compiler on any Sys Vr3 system. This usually results in compiler warnings when the return value of signal() is stored in a pointer pointing to a function returning an int. -- --------------------+------------------------------------+--------------------- Pim Zandbergen | CTI Software BV | Phone: +31 70 542302 pim@ctisbv.UUCP | Laan Copes van Cattenburch 70 | Fax: +31 70 512837 ..!mcvax!ctisbv!pim | 2585 GD The Hague, The Netherlands | Telex: 32133 CTI NL