Re: [PATCH 0/6] Compile cleanly in pedantic mode
- From
Beat Bolli <dev+git@drbeat.li>
- Date
- Jul 9, 2018, 20:25 UTC
- Message-ID
- <402c2b4a-0cd3-05d0-7f19-a218558cbb61@drbeat.li>
- In-Reply-To
- <20180709192537.18564-1-dev+git@drbeat.li>
On 09.07.18 21:25, Beat Bolli wrote:
Show 6 quoted lines
> While developing 6aaded550 ("builtin/config: work around an unsized
> array forward declaration", 2018-07-05), I have compiled Git with
> CFLAGS="-std=c99 -pedantic".
>
> This series fixes a few compiler warnings when compiling with these
> options.As a small aside, I have also compiled all of Git with -std=c11 using gcc 8.1. This didn't turn up any new warnings, so we're looking pretty future-proof in this regard.
Cheers, Beat