Re: problems with configure - Mailing list pgsql-hackers

From Tom Lane
Subject Re: problems with configure
Date
Msg-id 6506.973528083@sss.pgh.pa.us
Whole thread Raw
In response to Re: problems with configure  ("Martin A. Marques" <martin@math.unl.edu.ar>)
Responses Re: problems with configure
List pgsql-hackers
"Martin A. Marques" <martin@math.unl.edu.ar> writes:
>> Hmm ... is it possible that his compiler distinguishes between
>> "extern int foo(...)" and "extern foo(...)" ?  Why don't we
>> have the return type there, anyway?

> If it's of any help, I'm on Solaris 7, SPARC, gcc-2.95.2, latest
> Postgres CVS.  Another question would be, why didn't I have problems
> of this type when I compiled PostgreSQL 7.0.2 on Solaris 8, with the
> same version of gcc?

Different header files, likely.  I'm starting to wonder if Solaris 7
has some header-file dependency for <sys/socket.h> beyond the one that
the test is allowing for (<sys/types.h>).

BTW, does 'Psocklen_t' equate to just 'socklen_t *', or is there
something strange hidden there?
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Ross J. Reedstrom"
Date:
Subject: Re: INTERVAL representation
Next
From: Tom Lane
Date:
Subject: Re: ResetSystemCaches(was Re: relation ### modified while in use)