From: Jeff King Date: Mon, 27 Apr 2020 12:13:28 GMT Subject: Re: Compilation errors in git.pu/refs/reftable-backend.c Message-ID: <20200427121328.GA1725867@coredump.intra.peff.net> In-Reply-To: On Mon, Apr 27, 2020 at 02:05:12PM +0200, Han-Wen Nienhuys wrote: > On Mon, Apr 27, 2020 at 6:34 AM Torsten Bögershausen wrote: > > > > Folks, after the integration of the reftable branch: > > Merge branch 'hn/reftable' into pu > > thanks, I'll fix that. > > I don't understand why Git doesn't enforce this, though. Couldn't > -Wdeclaration-after-statement be added to the Makefile if the compiler > supported it? Try building with "make DEVELOPER=1" (or putting DEVELOPER=1 in your config.mak), which will turn on warnings and enable -Werror. See config.mak.dev for the complete list. -Peff