> -------Original Message------- > From: Jonathan Wakely via Gcc-help <gcc-help@xxxxxxxxxxx> > To: Saifi Khan <saifi.khan@xxxxxxxxx> > Cc: gcc-help@xxxxxxxxxxx <gcc-help@xxxxxxxxxxx> > Subject: Re: libstdc++ build error: ‘__val_a’ may be used uninitialized [-Werror=maybe-uninitialized] > Sent: 2024-01-18 12:41 > > On Thu, 18 Jan 2024 at 11:42, Saifi Khan <saifi.khan@xxxxxxxxx> wrote: > > > > Hi: > > > > Building gcc from the 'main' branch (4a8430c8c) and get this error during the 'libstdc++' automated build. > > > > Short of using '-Wno-error=maybe-uninitialized' is there any other approach that can be adopted ? > > What options are you using that turn on -Werror in the first place? > The entire build is driven using '/opt/gcc/src/configure' script. There are no flags that explicitly set '-Werror'. In case the build compiler version matters, i am using gcc version 13.2.1 20230801 (GCC) on ArchLinux/AMD64. warm regards Saifi.