Re: Pointer subtraction with a null pointer - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Pointer subtraction with a null pointer
Date
Msg-id 20220326163441.qzpcioycozbzarsf@alap3.anarazel.de
Whole thread Raw
In response to Re: Pointer subtraction with a null pointer  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Pointer subtraction with a null pointer
List pgsql-hackers
Hi,

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.

I'll update it to 14 soon, now that that's released. It still has that
warning, so it's not going to help us avoid the warning.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Isaac Morland
Date:
Subject: Re: Pointer subtraction with a null pointer
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] WIP aPatch: Pgbench Serialization and deadlock errors