On Lun 06 Nov 2000 12:06, Tom Lane wrote:
> "Martin A. Marques" <martin@math.unl.edu.ar> writes:
> > Well, mine looks like:
> > extern int accept(int, struct sockaddr *, Psocklen_t);
> >
> > This is what I have in the configure:
> > extern accept ($ac_cv_func_accept_arg1, $ac_cv_func_accept_arg2,
> > $ac_cv_func_accept_arg3 *);
>
> 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?
Thanks for the patience.
--
"And I'm happy, because you make me feel good, about me." - Melvin Udall
-----------------------------------------------------------------
Martín Marqués email: martin@math.unl.edu.ar
Santa Fe - Argentina http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------