Re: gcc-14.1.0 [-Werror=array-bounds=] meson buildtype=release compile error - Mailing list pgsql-hackers

From David Rowley
Subject Re: gcc-14.1.0 [-Werror=array-bounds=] meson buildtype=release compile error
Date
Msg-id CAApHDvqWFvYsrKofVDx=aMSCqJ-cNzxiFyaGXLczxvPx7b42wg@mail.gmail.com
Whole thread Raw
In response to gcc-14.1.0 [-Werror=array-bounds=] meson buildtype=release compile error  (jian he <jian.universality@gmail.com>)
List pgsql-hackers
On Fri, 11 Oct 2024 at 22:19, jian he <jian.universality@gmail.com> wrote:
> array subscript 0 is outside array bounds of ‘char[0]’
> [-Werror=array-bounds=]
>   230 |         (((varattrib_1b_e *) (PTR))->va_tag)
>       |                                    ^

Please read the thread at
https://postgr.es/m/flat/CAFj8pRBJD_Y-XcqwXSbWS24z%2B84FFX7ajhCan9ixc_m4bD63sA%40mail.gmail.com

David



pgsql-hackers by date:

Previous
From: jian he
Date:
Subject: gcc-14.1.0 [-Werror=array-bounds=] meson buildtype=release compile error
Next
From: John Naylor
Date:
Subject: Re: ECPG cleanup and fix for clang compile-time problem