Re: hba.c:3160:18: warning: comparison of unsigned enum expression

Поиск
Список
Период
Сортировка
От Erik Rijkers
Тема Re: hba.c:3160:18: warning: comparison of unsigned enum expression
Дата
Msg-id 32380915.14810.1617797893491@webmailclassic.xs4all.nl
обсуждение исходный текст
Ответ на Re: hba.c:3160:18: warning: comparison of unsigned enum expression  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
> On 2021.04.07. 13:57 Michael Paquier <michael@paquier.xyz> wrote:
> 
>  
> On Wed, Apr 07, 2021 at 01:24:01PM +0200, Magnus Hagander wrote:
> > On Wed, Apr 7, 2021 at 1:01 PM Erik Rijkers <er@xs4all.nl> wrote:
> > > Recently (last day or so), I get this warning from gcc 10.2:

> [gcc-hba-warning.patch]

FWIW, this fixes the warning.

(and no, I don't think I am using special gcc settings..)

Erik



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: hba.c:3160:18: warning: comparison of unsigned enum expression
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: hba.c:3160:18: warning: comparison of unsigned enum expression