Re: pgsql: aio: Add core asynchronous I/O infrastructure - Mailing list pgsql-committers

From Andres Freund
Subject Re: pgsql: aio: Add core asynchronous I/O infrastructure
Date
Msg-id a54pqocps46awa4b2tlwmrjz5k3b3jastg5py6thtnqtlr2ksy@notafhjwiuec
Whole thread Raw
In response to Re: pgsql: aio: Add core asynchronous I/O infrastructure  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgsql: aio: Add core asynchronous I/O infrastructure
List pgsql-committers
Hi,

On 2025-03-18 11:26:15 -0400, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > I wonder if we should instead either ask those buildfarm animals to be
> > disabled or have the warning manually disabled. I don't think it's a good
> > investment on our part to work towards warning cleanliness on clang 4 and 5,
> > on distros from 2017 and and 2018 respectively.
> 
> Well, if we don't want to fix it I can just adjust my warning-scraping
> script to ignore these.  Let's wait a bit and see if any newer
> compilers warn similarly before deciding.

FWIW, adding a few casts does silence the warnings, at least on clang-3.9,
which I had around.

But there also are other warnings on that compiler, mainly stuff like:

../../home/andres/src/postgresql/src/interfaces/libpq/fe-auth-oauth-curl.c:1437:28: warning: suggest braces around
initializationof subobject [-Wmissing-braces]
 
        struct itimerspec spec = {0};


I lean towards not fixing this stuff, but if you would like me to, I can.

Greetings,

Andres Freund



pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: meson: Flush stdout in testwrap
Next
From: Tom Lane
Date:
Subject: Re: pgsql: aio: Add core asynchronous I/O infrastructure