Re: [PATCH] compat/mingw: brown paper bag fix for 50a6c8e
- From
Jeff King <peff@peff.net>
- Date
- Mar 1, 2016, 05:54 UTC
- Message-ID
- <20160301055457.GA1359@sigill.intra.peff.net>
- In-Reply-To
- <56D52D77.1030406@web.de>
On Tue, Mar 01, 2016 at 06:49:43AM +0100, Torsten Bögershausen wrote:
Show 8 quoted lines
> However, suspecting jk/epipe-in-async, I don't know if we can do > something against this warning: > > CC run-command.o > run-command.c: In function 'async_exit': > run-command.c:631:1: warning: 'noreturn' function does return > } > ^
The only thing that function does is call pthread_exit(), which should also be marked NORETURN. Looks like the one in compat/win32/pthread.h isn't?
-Peff