Re: compile error of PostgreSQL 7.2 on FreeBSD-current

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: compile error of PostgreSQL 7.2 on FreeBSD-current
Дата
Msg-id 24256.1013188344@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: compile error of PostgreSQL 7.2 on FreeBSD-current  (hiroyuki hanai <hanai@imgsrc.co.jp>)
Ответы Re: compile error of PostgreSQL 7.2 on FreeBSD-current  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
hiroyuki hanai <hanai@imgsrc.co.jp> writes:
> But, the type of gr_gid in struct group, which is defined
> in <grp.h>, is gid_t. So, <sys/types> should be inclueded
> before <grp.h>

> The type of gr_gid in <grp.h> was `int' before 22th Jan 2002.
> It has been changed as gid_t by Mark Murray on 22th Jan 2002.

One would think this is a bug in FreeBSD's <grp.h>.  Shouldn't it be
responsible for including the headers it depends on?

We can certainly move our header inclusion order around, but that is
simply an application-level workaround for a broken system header.
        regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Summary of new configuration file and data directory
Следующее
От: Tom Lane
Дата:
Сообщение: Re: GiST on 64-bit box