Re: Build failure with GCC 15 (defaults to -std=gnu23) - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Build failure with GCC 15 (defaults to -std=gnu23)
Date
Msg-id 3198438.1731895163@sss.pgh.pa.us
Whole thread Raw
In response to Build failure with GCC 15 (defaults to -std=gnu23)  (Sam James <sam@gentoo.org>)
List pgsql-bugs
Thomas Munro <thomas.munro@gmail.com> writes:
> I found a few lines we could just delete in master.  I wonder if we
> should also just require sizeof(bool) == 1 more explicitly going
> forward with an error, since we don't have coverage or any expectation
> of ever getting any for the alternative code AFAICS, even if it is
> small.

Yeah, that's a fair criticism.  I don't think we've tested that code
path since I retired prairiedog, so who's to say that it works even
now?  Maybe it's best to just delete that code, and if we ever find a
new platform with wider bool, figure out what to do at that time.

            regards, tom lane



pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Build failure with GCC 15 (defaults to -std=gnu23)
Next
From: Denis Feklushkin
Date:
Subject: Re: BUG #18712: inet value ::2 handling goes not as expected