Re: [RFC PATCH 0/6] Compile cleanly in pedantic mode
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 9, 2018, 13:40 UTC
- Message-ID
- <nycvar.QRO.7.76.6.1807091539540.75@tvgsbejvaqbjf.bet>
- In-Reply-To
- <20180708144342.11922-1-dev+git@drbeat.li>
Hi Beat,
On Sun, 8 Jul 2018, Beat Bolli wrote:
Show 7 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 is an RFC patch series that fixes a few compiler warnings when
> compiling with these options, always assuming that this is a worthwile
> goal.Thank you, I think it is safe to remove the RFC label: this is really good to have, in order to make it as portable C as possible.
Ciao, Dscho