Re: 2x compile warning

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 2x compile warning
Дата
Msg-id 3952.1145907742@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 2x compile warning  (Kris Jurka <books@ejurka.com>)
Ответы Re: 2x compile warning  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Kris Jurka <books@ejurka.com> writes:
> Also I was testing a gcc 4.2 snapshot (20060419) and it has a whole lot of 
> warnings stemming from heap_getattr's isnull check:
> aclchk.c:791: warning: the address of 'isNull', will always evaluate as 
> 'true'

We need to lobby the gcc maintainers to not give warnings about valid
and perfectly reasonable code.  I'm not thrilled with changing the API
of a key macro for no other reason than that gcc has started to complain
about it.
        regards, tom lane


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

Предыдущее
От: Gevik Babakhani
Дата:
Сообщение: Re: TODO Item: ACL_CONNECT
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Regression error on float8