Re: [PATCH] build: avoid new chmod.c warnings from upcoming GCC12

2021-09-16 Thread Jim Meyering
On Thu, Sep 16, 2021 at 2:44 PM Pádraig Brady wrote: > On 16/09/2021 21:30, Jim Meyering wrote: > > I tried to build with upcoming GCC12 and with warnings + -Werror, and > > hit one failure. > > Here's a patch to avoid that: > > Cool. Small nit; it's probably best to use a trailing , > for our sta

Re: [PATCH] build: avoid new chmod.c warnings from upcoming GCC12

2021-09-16 Thread Pádraig Brady
On 16/09/2021 21:30, Jim Meyering wrote: I tried to build with upcoming GCC12 and with warnings + -Werror, and hit one failure. Here's a patch to avoid that: Cool. Small nit; it's probably best to use a trailing , for our standard from of aggregate initialization. I.e., - struct change_status

[PATCH] build: avoid new chmod.c warnings from upcoming GCC12

2021-09-16 Thread Jim Meyering
I tried to build with upcoming GCC12 and with warnings + -Werror, and hit one failure. Here's a patch to avoid that: 0001-build-avoid-new-chmod.c-warnings-from-upcoming-GCC12.patch Description: Binary data