Re: pthread_exit proto

2001-03-04 Thread Brooks Davis
On Sun, Mar 04, 2001 at 11:58:11AM -0800, Alfred Perlstein wrote: > using send-pr: > http://www.freebsd.org/support.html#gnats > > Is '__dead2' a GNU C thing? or is in any sort of standard? > > Generally there's some resistance to putting GNU C specific > code into the base system, is there a p

Re: pthread_exit proto

2001-03-04 Thread John Baldwin
On 04-Mar-01 Alfred Perlstein wrote: > * Farooq Mela <[EMAIL PROTECTED]> [010304 11:18] wrote: >> >> Hi, >> >> Could someone with CVS write access make the following change in >> pthread.h >> >> void pthread_exit __P((void *)); >> >> to >> >> void pthread_exit __P((void *)) __dead2; >> >> a

Re: pthread_exit proto

2001-03-04 Thread E.B. Dreger
> Date: Sun, 04 Mar 2001 12:15:36 -0800 > From: Farooq Mela <[EMAIL PROTECTED]> > > It's not actually gcc-specific code, its more of a hint to the compiler > to not warn about something like, main() "falling off the end" when > there is actually an exit(0); at the end of it. If GCC knows exit() >

Re: pthread_exit proto

2001-03-04 Thread Alfred Perlstein
* Farooq Mela <[EMAIL PROTECTED]> [010304 12:14] wrote: > Alfred Perlstein wrote: > > > Is '__dead2' a GNU C thing? or is in any sort of standard? > > See /usr/include/sys/cdefs.h > > __dead2 is defined to __attribute__((__noreturn__)) if a suitable > version of GCC is being used. > > > Gene

Re: pthread_exit proto

2001-03-04 Thread Farooq Mela
Alfred Perlstein wrote: > Is '__dead2' a GNU C thing? or is in any sort of standard? See /usr/include/sys/cdefs.h __dead2 is defined to __attribute__((__noreturn__)) if a suitable version of GCC is being used. > Generally there's some resistance to putting GNU C specific > code into the base

Re: pthread_exit proto

2001-03-04 Thread Farooq Mela
Alfred Perlstein wrote: > > * Farooq Mela <[EMAIL PROTECTED]> [010304 11:18] wrote: > > > > Hi, > > > > Could someone with CVS write access make the following change in > > pthread.h > > > > void pthread_exit __P((void *)); > > > > to > > > > void pthread_exit __P((void *)) __dead2; > > > > as th

Re: pthread_exit proto

2001-03-04 Thread Alfred Perlstein
* Farooq Mela <[EMAIL PROTECTED]> [010304 11:18] wrote: > > Hi, > > Could someone with CVS write access make the following change in > pthread.h > > void pthread_exit __P((void *)); > > to > > void pthread_exit __P((void *)) __dead2; > > as this function doesnt return and gcc is giving me so

pthread_exit proto

2001-03-04 Thread Farooq Mela
Hi, Could someone with CVS write access make the following change in pthread.h void pthread_exit __P((void *)); to void pthread_exit __P((void *)) __dead2; as this function doesnt return and gcc is giving me some annoying warnings ;-) BTW, what is the standard mechanism for submitting a pa