From: Daniel Ferreira (theiostream) Date: Thu, 30 Mar 2017 18:26:33 GMT Subject: Re: [PATCH v5 4/6] dir_iterator: add tests for dir_iterator API Message-ID: In-Reply-To: On Thu, Mar 30, 2017 at 5:05 AM, Michael Haggerty wrote: > Oh I forgot to mention, in the Git project we don't allow declarations > to be mixed with code. Apparently there's some ancient compiler > somewhere that doesn't allow it. Declarations always have to be > together, at the top of a block. (Compile with > `-Werror=declaration-after-statement` to detect this.) Sorry about that. I'm compiling git on clang and it has a bug that ignores this warning (it shows up on gcc). I'll watch out for it.