[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS 1.11p1 build under Solaris 7 (RETSIGTYPE)
From: |
Larry Jones |
Subject: |
Re: CVS 1.11p1 build under Solaris 7 (RETSIGTYPE) |
Date: |
Tue, 28 Aug 2001 11:24:48 -0400 (EDT) |
Jeff Blaine writes:
>
> >> "sighandle.c", line 68: syntax error before or at: RETSIGTYPE
> >> "sighandle.c", line 68: function cannot return function or array
> >> "sighandle.c", line 68: cannot recover from previous errors
> >
> > How is RETSIGTYPE defined in config.h? (And what does ``uname -a''
> > report for Solaris 7? I can never keep the mapping between SunOS
> > versions and Solaris versions.)
>
> #define RETSIGTYPE void
Then either some other (system) header file is redefining it or the
compiler is broken. You might try ``gcc -Wall'' to see if that will
point out the culprit; otherwise, you'll probably have to use ``cc -E''
to get the preprocessor output and examine it by hand. It works just
fine with Sun's C compiler, by the way.
-Larry Jones
It's SUSIE! It's a GIRL! Santa would understand! -- Calvin