Re: Clang function pointer type warnings in v14, v15

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Clang function pointer type warnings in v14, v15
Date: 2024-07-12 01:17:23
Message-ID: CA+hUKGK+_yWCRM603xrHe+rRpa5sW6+sBxSAk5yvtRz7yZiRng@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Jul 6, 2024 at 2:35 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Thomas Munro <thomas(dot)munro(at)gmail(dot)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?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2024-07-12 01:25:32 Re: Redundant syscache access in get_rel_sync_entry()
Previous Message Michael Paquier 2024-07-12 01:13:42 Re: XID formatting and SLRU refactorings (was: Add 64-bit XIDs into PostgreSQL 15)