Re: compiler warnings on the buildfarm

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: compiler warnings on the buildfarm
Дата
Msg-id 27687.1184290111@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: compiler warnings on the buildfarm  (Kris Jurka <books@ejurka.com>)
Ответы Re: compiler warnings on the buildfarm
Список pgsql-hackers
Kris Jurka <books@ejurka.com> writes:
> So pam_message ** isn't const.

Ah, thanks.  I see luna_moth is giving the same warning, so it's still
not const in Solaris 11 either.

Is it worth working around this?  It's strictly cosmetic AFAICS.

The main issue in my mind would be how to determine whether to use
const or not.  If all Solaris releases are like this, and can be
expected to stay that way, I'd be inclined to just put a "#define
PAM_CONV_PROC_NOT_CONST" in include/port/solaris.h and drive the
function declaration off that.  If there's a version dependency
involved then it gets a lot more complicated, and might not be worth
the trouble.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: compiler warnings on the buildfarm
Следующее
От: Jeremy Drake
Дата:
Сообщение: Re: compiler warnings on the buildfarm