Re: definition for _attribute() in remote.c

2016-04-25 Thread Jeff King
On Mon, Apr 25, 2016 at 10:34:27PM +0100, Philip Oakley wrote: > It's not the __attribute__ definition (a Gnu C ism), rather its the > __attribute variant, which has a definition in regex_internal.h, and is used > in the regex code. It's that one that's used in remote.c that I can't fathom > (i.e.

Re: definition for _attribute() in remote.c

2016-04-25 Thread Philip Oakley
From: "Jeff King" On Mon, Apr 25, 2016 at 10:02:38PM +0100, Philip Oakley wrote: I'm looking at getting Git for Windows to compile via Visual Studio (https://github.com/git-for-windows/git/pull/256). However the use of __attribute() in remote.c at L1662 (https://github.com/git-for-windows/git

Re: definition for _attribute() in remote.c

2016-04-25 Thread Jeff King
On Mon, Apr 25, 2016 at 10:02:38PM +0100, Philip Oakley wrote: > I'm looking at getting Git for Windows to compile via Visual Studio > (https://github.com/git-for-windows/git/pull/256). > > However the use of __attribute() in remote.c at L1662 > (https://github.com/git-for-windows/git/blob/master

definition for _attribute() in remote.c

2016-04-25 Thread Philip Oakley
Hi, I'm looking at getting Git for Windows to compile via Visual Studio (https://github.com/git-for-windows/git/pull/256). However the use of __attribute() in remote.c at L1662 (https://github.com/git-for-windows/git/blob/master/remote.c#L1662) has got me confused in that I can't see how the