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

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: jian he <jian(dot)universality(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: gcc-14.1.0 [-Werror=array-bounds=] meson buildtype=release compile error
Date: 2024-10-11 09:23:17
Message-ID: CAApHDvqWFvYsrKofVDx=aMSCqJ-cNzxiFyaGXLczxvPx7b42wg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 11 Oct 2024 at 22:19, jian he <jian(dot)universality(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message John Naylor 2024-10-11 11:43:22 Re: ECPG cleanup and fix for clang compile-time problem
Previous Message jian he 2024-10-11 09:18:00 gcc-14.1.0 [-Werror=array-bounds=] meson buildtype=release compile error