compile error in CVS HEAD

Поиск
Список
Период
Сортировка
Искать

compile error in CVS HEAD

От:
Neil Conway <neilc@samurai.com>
Дата:
I see the following error with the current CVS code:

make[3]: Entering directory `/home/nconway/pgsql/src/backend/commands'
[ ... ]
gcc -O2 -DLINUX_PROFILE -g -pg -Wall -Wmissing-prototypes -Wmissing-declarations                                                                                                                                                  -I../../../src/include   -c -o copy.o copy.c
copy.c: In function `DoCopy':
copy.c:425: `errno' undeclared (first use in this function)
copy.c:425: (Each undeclared identifier is reported only once
copy.c:425: for each function it appears in.)
make[3]: *** [copy.o] Error 1

Cheers,

Neil

-- 
Neil Conway  || PGP Key ID: DB3C29FC


Re: compile error in CVS HEAD

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Neil Conway  writes:
> I see the following error with the current CVS code:

> copy.c:425: `errno' undeclared (first use in this function)

Hmm.  Needs a "#include " seemingly; but surely that error
has been there awhile?

(light dawns...)  I'll bet it was masked by all the bogus "extern int
errno" declarations that we had till this afternoon.  I didn't see the
failure here, because HPUX's header set seems to include  in
some pretty basic place.  Anywhere else failing for you?
		regards, tom lane

FAQ