From: Torsten Bögershausen Date: Sat, 03 Oct 2015 21:07:01 GMT Subject: Re: [PATCH v2 01/43] refs.c: create a public version of verify_refname_available Message-ID: <56104375.3030904@web.de> In-Reply-To: <1443891000.7753.4.camel@twopensource.com> On 03.10.15 18:50, David Turner wrote: > On Sat, 2015-10-03 at 07:02 +0200, Torsten Bögershausen wrote: >> On 29.09.15 00:01, David Turner wrote: >>> >> (Not sure if this is the right thread to report on) >> >> In file included from builtin/commit.c:20: >> ./refs.h:695:16: warning: redefinition of typedef 'ref_transaction_free_fn' is a C11 feature >> [-Wtypedef-redefinition] >> typedef void (*ref_transaction_free_fn)(struct ref_transaction *transaction); >> ^ > > > Fixed, thanks. > > What compiler flag did you turn on to see that warning? Mac OS X, 10.9: gcc --version Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn) Target: x86_64-apple-darwin13.4.0 Thread model: posix