| От | Tom Lane |
|---|---|
| Тема | Re: Pointer subtraction with a null pointer |
| Дата | |
| Msg-id | 51678.1648312664@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Pointer subtraction with a null pointer (Andres Freund <andres@anarazel.de>) |
| Ответы |
Re: Pointer subtraction with a null pointer
|
| Список | pgsql-hackers |
Andres Freund <andres@anarazel.de> writes:
> On 2022-03-26 12:13:12 -0400, Tom Lane wrote:
>> This code is old, but mylodon wasn't doing that a week ago, so
>> Andres must've updated the compiler and/or changed its options.
> Yep, updated it to clang 13. It's a warning present in 13, but not in 12.
OK, that answers that.
After more thought I agree that replacing these relptr_store calls
with something else would be the better solution. I'll prepare a
patch.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера