Re: Clang function pointer type warnings in v14, v15 - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: Clang function pointer type warnings in v14, v15
Date
Msg-id CA+hUKGK+_yWCRM603xrHe+rRpa5sW6+sBxSAk5yvtRz7yZiRng@mail.gmail.com
Whole thread Raw
In response to Re: Clang function pointer type warnings in v14, v15  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Clang function pointer type warnings in v14, v15
List pgsql-hackers
On Sat, Jul 6, 2024 at 2:35 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Thomas Munro <thomas.munro@gmail.com> writes:
> > So I propose to back-patch 101c37cd to those two branches.
>
> +1.

Done.

> I see that there are a boatload of related warnings in older
> branches too; do we want to try to do anything about that?  (I doubt
> code changes would be in-scope, but maybe adding a -Wno-foo switch
> to the build flags would be appropriate.)

I don't see any on clang 16 in the 12 and 13 branches.  Where are you
seeing them?

Has anyone thought about the -Wclobbered warnings from eg tamandua?



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: XID formatting and SLRU refactorings (was: Add 64-bit XIDs into PostgreSQL 15)
Next
From: Michael Paquier
Date:
Subject: Re: Redundant syscache access in get_rel_sync_entry()