From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Chris Browne <cbbrowne(at)acm(dot)org> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: compiler warnings on the buildfarm |
Date: | 2007-07-16 02:00:49 |
Message-ID: | 19527.1184551249@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Chris Browne <cbbrowne(at)acm(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2007-07-16 02:21:10 | Re: write_pipe_chunks patch messes up early error message output |
Previous Message | Tom Lane | 2007-07-16 01:53:59 | Re: stored procedure stats in collector |