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

From: Stephane Bortzmeyer <bortzmeyer(at)pasteur(dot)fr>
To: "Pedro J(dot) Lobo" <pjlobo(at)euitt(dot)upm(dot)es>
Cc: pgsql-ports(at)postgreSQL(dot)org, bortzmeyer(at)pasteur(dot)fr
Subject: Re: [PORTS] Port Bug Report: buf_init.c does not compile (spin lock problem?)
Date: 1999-06-17 17:03:11
Message-ID: 199906171703.TAA15784@ezili.sis.pasteur.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

On Thursday 17 June 1999, at 18 h 38, the keyboard of "Pedro J. Lobo"
<pjlobo(at)euitt(dot)upm(dot)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)
...

In response to

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Henry B. Hotz 1999-06-17 18:35:37 Re: [HACKERS] Postgres mailing lists
Previous Message Pedro J. Lobo 1999-06-17 16:38:32 Re: [PORTS] Port Bug Report: buf_init.c does not compile (spin lock problem?)