Re: problems with configure

Поиск
Список
Период
Сортировка
От Martin A. Marques
Тема Re: problems with configure
Дата
Msg-id 00110818114203.10186@math.unl.edu.ar
обсуждение исходный текст
Ответ на Re: problems with configure  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: problems with configure  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mié 08 Nov 2000 18:01, Tom Lane wrote:
>
> Well, that tells the tale all right: the critical lines are
>
>     typedef    uint32_t    socklen_t;
>
>     typedef    void        *Psocklen_t;
>
>     extern int accept(int, struct sockaddr *, Psocklen_t);
>
> What brainless idiot decided it would be a good idea to declare
> accept's last argument as void*, do you suppose?  (At least you
> report that Solaris 8 no longer has this folly, so they did get
> a clue eventually.)
>
> Not sure what to do about this.  It will clearly not do to define
> ACCEPT_TYPE_ARG3 as void.  Perhaps we need a special case for
> Solaris 7: if we detect that accept() is declared with "void *",
> assume that socklen_t is the thing to use.  Peter, any thoughts?

No. Forgot to tell my latest experience.

1) postgres 7.0.2 compiles great on Solaris 7 and Solaris 8.
2) postgres cvs (latest download) doesn't compile (same error on both) on 
Solaris 7 nor Solaris 8.

So it isn't a Solaris 7 problem, but a Solaris problem. ;-)
I just wish we could install linux on one of these SPARC to have something 
good running. ;-)

Saludos... :-)


-- 
"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
-----------------------------------------------------------------


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: problems with configure
Следующее
От: Tom Lane
Дата:
Сообщение: Re: problems with configure