Re: gcc 13 warnings - Mailing list pgsql-hackers

From Tom Lane
Subject Re: gcc 13 warnings
Date
Msg-id 3787744.1678981438@sss.pgh.pa.us
Whole thread Raw
In response to Re: gcc 13 warnings  (Melanie Plageman <melanieplageman@gmail.com>)
Responses Re: gcc 13 warnings  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
Melanie Plageman <melanieplageman@gmail.com> writes:
> On Thu, Mar 16, 2023 at 9:40 AM Pavel Stehule <pavel.stehule@gmail.com> wrote:
>> ../src/include/varatt.h:230:36: warning: array subscript 0 is outside array bounds of ‘char[0]’ [-Warray-bounds=]

> I see these with gcc 12.2.0 also.

Hmm, I do not see any warnings on HEAD with Fedora 37's gcc 12.2.1.
What non-default configure switches, CFLAGS, etc are you using?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: improving user.c error messages
Next
From: Nathan Bossart
Date:
Subject: Re: improving user.c error messages