Re: compiler warnings on the buildfarm
От | Tom Lane |
---|---|
Тема | Re: compiler warnings on the buildfarm |
Дата | |
Msg-id | 19527.1184551249@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: compiler warnings on the buildfarm (Chris Browne <cbbrowne@acm.org>) |
Список | pgsql-hackers |
Chris Browne <cbbrowne@acm.org> writes: > Tom Lane wrote: >>> animal: grebe warnings: 45 >>> xlog.c:651: warning: implicit declaration of function '_check_lock' >>> xlog.c:654: warning: implicit declaration of function '_clear_lock' >>> hba.c:1449: warning: implicit declaration of function 'getpeereid' >> Someone needs to find out which system headers declare these functions >> on AIX. > Hmm. Logging onto grebe: > /usr/include/sys/socket.h:int getpeereid(int, uid_t *__restrict__, gid_t *__restrict__); That's pretty strange, because hba.c definitely includes <sys/socket.h>. Perhaps getpeereid is hidden within some #ifdef that we aren't setting? > /usr/include/sys/atomic_op.h:boolean_t _check_lock(); > /usr/include/sys/atomic_op.h:void _clear_lock(); OK, I'll try putting <sys/atomic_op.h> into the AIX part of s_lock.h. regards, tom lane
В списке pgsql-hackers по дате отправления: