Re: [PORTS] Port Bug Report: buf_init.c does not compile (spin lock problem?)

Поиск
Список
Период
Сортировка
От Stephane Bortzmeyer
Тема Re: [PORTS] Port Bug Report: buf_init.c does not compile (spin lock problem?)
Дата
Msg-id 199906171703.TAA15784@ezili.sis.pasteur.fr
обсуждение исходный текст
Ответ на Re: [PORTS] Port Bug Report: buf_init.c does not compile (spin lock problem?)  ("Pedro J. Lobo" <pjlobo@euitt.upm.es>)
Ответы Re: [PORTS] Port Bug Report: buf_init.c does not compile (spin lock problem?)  ("Pedro J. Lobo" <pjlobo@euitt.upm.es>)
Список pgsql-ports
On Thursday 17 June 1999, at 18 h 38, the keyboard of "Pedro J. Lobo"
<pjlobo@euitt.upm.es> wrote:

> I have tested it with DEC C and works right out of the box. I have tried
> gcc 2.7.2 in the past, and have never been able to build postgres with it.
> gcc 2.8 doesn't work either, and now it seems that egcs behaves the same.

Thanks, but after 'make distclean' and a new configure, it doesn't work better
with Digital/Compaq's cc:

make -C port all
make[2]: Entering directory `/home/bortz/tmp/postgresql-6.5/src/backend/port'
...
cc -I../../include -I../../backend   -DNOFIXADE -I..   -c isinf.c -o isinf.o
cc -I../../include -I../../backend   -DNOFIXADE -I..   -c snprintf.c -o
snprintf.o
cc: Warning: ../../include/regex/cdefs.h, line 122: The redefinition of the
macro "inline" conflicts with a current definition because the replacement
lists differ.  The redefinition is now in effect. (macroredef)
#define inline
--------------^
cc: Error: snprintf.c, line 89: In this declaration, parameter 3 has a
different type than specified in an earlier declaration of this function.
(mismatparam)
int                     snprintf(char *str, size_t count, const char *fmt,...);
------------------------^
cc: Error: snprintf.c, line 89: In this declaration, the type of "snprintf" is
not compatible with the type of a previous declaration of "snprintf" at line
number 789 in file ../../include/c.h. (notcompat)
int                     snprintf(char *str, size_t count, const char *fmt,...);
------------------------^
cc: Error: snprintf.c, line 90: In this declaration, parameter 3 has a
different type than specified in an earlier declaration of this function.
(mismatparam)
...


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

Предыдущее
От: "Pedro J. Lobo"
Дата:
Сообщение: Re: [PORTS] Port Bug Report: buf_init.c does not compile (spin lock problem?)
Следующее
От: "Henry B. Hotz"
Дата:
Сообщение: Re: [HACKERS] Postgres mailing lists