Re: Compiler warning under cygwin/mingw

2016-04-12 Thread Junio C Hamano
SZEDER Gábor writes: > Hi, > >> > And MINGW is not happy for other reasons: >> > >> > builtin/rev-parse.c: In function 'cmd_rev_parse': >> > builtin/rev-parse.c:775:12: warning: implicit declaration of function >> > 'realpath' [-Wimplicit-function-declaration] >> >if (!realpath(gitdir, ab

Re: Compiler warning under cygwin/mingw

2016-03-02 Thread Ramsay Jones
On 03/03/16 03:33, Ramsay Jones wrote: > > > On 29/02/16 12:32, Ramsay Jones wrote: >> >> >> On 29/02/16 10:40, Torsten Bögershausen wrote: >>> That compiles OK, thanks. >>> >>> >>> Sorry for high-jacking this thread, but while compiling under CYGWIN, >>> found one warning: >>> >>>LINK git-

Re: Compiler warning under cygwin/mingw

2016-03-02 Thread Ramsay Jones
On 29/02/16 12:32, Ramsay Jones wrote: > > > On 29/02/16 10:40, Torsten Bögershausen wrote: >> That compiles OK, thanks. >> >> >> Sorry for high-jacking this thread, but while compiling under CYGWIN, >> found one warning: >> >>LINK git-credential-store.exe >> CC daemon.o >> daemon.c: In

Re: Compiler warning under cygwin/mingw (was: fix for 50a6c8e)

2016-02-29 Thread SZEDER Gábor
Hi, > > And MINGW is not happy for other reasons: > > > > builtin/rev-parse.c: In function 'cmd_rev_parse': > > builtin/rev-parse.c:775:12: warning: implicit declaration of function > > 'realpath' [-Wimplicit-function-declaration] > >if (!realpath(gitdir, absolute_path)) > > ^

Re: Compiler warning under cygwin/mingw

2016-02-29 Thread Ramsay Jones
On 29/02/16 10:40, Torsten Bögershausen wrote: > That compiles OK, thanks. > > > Sorry for high-jacking this thread, but while compiling under CYGWIN, > found one warning: > >LINK git-credential-store.exe > CC daemon.o > daemon.c: In function ‘drop_privileges’: > daemon.c:1136:15: warn

Re: Compiler warning under cygwin/mingw (was: fix for 50a6c8e)

2016-02-29 Thread Jeff King
On Mon, Feb 29, 2016 at 11:40:59AM +0100, Torsten Bögershausen wrote: > That compiles OK, thanks. > > Sorry for high-jacking this thread, but while compiling under CYGWIN, > found one warning: > >LINK git-credential-store.exe > CC daemon.o > daemon.c: In function ‘drop_privileges’: > dae

Compiler warning under cygwin/mingw (was: fix for 50a6c8e)

2016-02-29 Thread Torsten Bögershausen
That compiles OK, thanks. Sorry for high-jacking this thread, but while compiling under CYGWIN, found one warning: LINK git-credential-store.exe CC daemon.o daemon.c: In function ‘drop_privileges’: daemon.c:1136:15: warning: implicit declaration of function ‘initgroups’ [-Wimplicit-func