Re: adding noreturn attribute to pthread_exit

2013-01-14 Thread Christopher Faylor
On Mon, Jan 14, 2013 at 09:55:38PM +0100, Antti Kantee wrote: >Hi, > >Calling pthread_exit() at the end of a routine marked noreturn produces >a compiler warning/error on cygwin: > >error: 'noreturn' function does return > >Is it possible to add the attribute to the cygwin pthread.h: > >--- pthrea

adding noreturn attribute to pthread_exit

2013-01-14 Thread Antti Kantee
Hi, Calling pthread_exit() at the end of a routine marked noreturn produces a compiler warning/error on cygwin: error: 'noreturn' function does return Is it possible to add the attribute to the cygwin pthread.h: --- pthread.h.orig 2012-10-19 14:40:13.0 +0200 +++ pthread.h 2013