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
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
> 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()
>
* 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
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
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
* 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
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
8 matches
Mail list logo