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)
...