Compile errors on V/386 3.0E

Pim Zandbergen pim at ctisbv.UUCP
Sat Dec 10 04:13:36 AEST 1988


In article <417 at zinn.MV.COM> mem at 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 at ctisbv.UUCP     | Laan Copes van Cattenburch 70      | Fax:   +31 70 512837
..!mcvax!ctisbv!pim | 2585 GD The Hague, The Netherlands | Telex: 32133 CTI NL



More information about the Comp.unix.microport mailing list