Re: [PATCH] gcc warning 'expression which evaluates to zero treated as a null pointer'

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] gcc warning 'expression which evaluates to zero treated as a null pointer'
Дата
Msg-id 3243.1573678879@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] gcc warning 'expression which evaluates to zero treatedas a null pointer'  (didier <did447@gmail.com>)
Ответы Re: [PATCH] gcc warning 'expression which evaluates to zero treatedas a null pointer'  (didier <did447@gmail.com>)
Список pgsql-hackers
didier <did447@gmail.com> writes:
> clang -E output before 7a0574b5
> HeapTuple newtuple = 0;
> with 7a0574b5
> HeapTuple newtuple = ((bool) 0);

Hm, did you re-run configure after 7a0574b5?  If you didn't, it would
have gone through the not-stdbool.h path in c.h, which might account
for this.  It's a good catch though, even if by accident :-)

            regards, tom lane



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

Предыдущее
От: didier
Дата:
Сообщение: Re: [PATCH] gcc warning 'expression which evaluates to zero treatedas a null pointer'
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Building infrastructure for B-Tree deduplication that recognizeswhen opclass equality is also equivalence