Thread (18 messages) 18 messages, 4 authors, 2017-04-01

Re: [PATCH v5 4/6] dir_iterator: add tests for dir_iterator API

From: Daniel Ferreira (theiostream) <hidden>
Date: 2017-03-30 18:27:09

On Thu, Mar 30, 2017 at 5:05 AM, Michael Haggerty [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help