Re: New compiler warnings in buildfarm

2024-08-02 Thread Tom Lane
Peter Eisentraut writes: > On 31.07.24 20:39, Andres Freund wrote: >> I Wonder if I should also should add -Wno-clobbered to serinus' config. >> Afaict >> -Wclobbered is pretty useless once optimizations are used. I've long added >> that to my local dev environment flags because it's so noisy (wh

Re: New compiler warnings in buildfarm

2024-08-02 Thread Peter Eisentraut
On 31.07.24 20:39, Andres Freund wrote: On 2024-07-31 11:32:56 -0700, Andres Freund wrote: On 2024-07-31 10:11:07 -0400, Tom Lane wrote: It looks like serinus needs this fix too. Added to both. I've forced runs for both animals, so the bf should show results of that soon. I Wonder if I sho

Re: New compiler warnings in buildfarm

2024-07-31 Thread Andres Freund
Hi, On 2024-07-31 11:32:56 -0700, Andres Freund wrote: > On 2024-07-31 10:11:07 -0400, Tom Lane wrote: > > It looks like serinus needs this fix too. > > Added to both. I've forced runs for both animals, so the bf should show > results of that soon. I Wonder if I should also should add -Wno-clobb

Re: New compiler warnings in buildfarm

2024-07-31 Thread Andres Freund
Hi, On 2024-07-31 10:11:07 -0400, Tom Lane wrote: > Peter Eisentraut writes: > > On 30.07.24 18:19, Tom Lane wrote: > >> Sometime in the last month or so, flaviventris's bleeding-edge > >> version of gcc has started whining[1] about truncation of a > >> string literal's implicit trailing '\0' in

Re: New compiler warnings in buildfarm

2024-07-31 Thread Tom Lane
Peter Eisentraut writes: > On 30.07.24 18:19, Tom Lane wrote: >> Sometime in the last month or so, flaviventris's bleeding-edge >> version of gcc has started whining[1] about truncation of a >> string literal's implicit trailing '\0' in contexts like this: >> ../pgsql/src/backend/commands/copyto.c

Re: New compiler warnings in buildfarm

2024-07-30 Thread Peter Eisentraut
On 30.07.24 18:19, Tom Lane wrote: Sometime in the last month or so, flaviventris's bleeding-edge version of gcc has started whining[1] about truncation of a string literal's implicit trailing '\0' in contexts like this: ../pgsql/src/backend/commands/copyto.c:106:41: warning: initializer-string

Re: New compiler warnings in buildfarm

2024-07-30 Thread Ranier Vilela
Em ter., 30 de jul. de 2024 às 13:19, Tom Lane escreveu: > Sometime in the last month or so, flaviventris's bleeding-edge > version of gcc has started whining[1] about truncation of a > string literal's implicit trailing '\0' in contexts like this: > > ../pgsql/src/backend/commands/copyto.c:106:4

New compiler warnings in buildfarm

2024-07-30 Thread Tom Lane
Sometime in the last month or so, flaviventris's bleeding-edge version of gcc has started whining[1] about truncation of a string literal's implicit trailing '\0' in contexts like this: ../pgsql/src/backend/commands/copyto.c:106:41: warning: initializer-string for array of 'char' is too long [-Wu