Re: [RFC PATCH 0/6] Compile cleanly in pedantic mode

2018-07-09 Thread Junio C Hamano
Beat Bolli writes: > While developing 6aaded550 ("builtin/config: work around an unsized > array forward declaration", 2018-07-05), I have compiled Git with > CFLAGS="-std=c99 -pedantic". Nice. I also pretty recently realized that I stopped building with the pedantic option by accident,

Re: [RFC PATCH 0/6] Compile cleanly in pedantic mode

2018-07-09 Thread Johannes Schindelin
Hi Beat, On Sun, 8 Jul 2018, Beat Bolli wrote: > 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 >

[RFC PATCH 0/6] Compile cleanly in pedantic mode

2018-07-08 Thread Beat Bolli
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