On Tuesday 24 February 2009 10:13:28 Denys Vlasenko wrote:
> On Tuesday 24 February 2009 01:27:34 am [email protected] wrote:
> > Author: landley
> > Date: 2009-02-24 00:27:33 +0000 (Tue, 24 Feb 2009)
> > New Revision: 25432
> >
> > Log:
> > Fix __attribute__ (( __attribute__ ((noreturn)))), which doesn't compile.
> >
> >
> > Modified:
> >    trunk/uClibc/include/unistd.h
> >
> >
> > Changeset:
> > Modified: trunk/uClibc/include/unistd.h
> > ===================================================================
> > --- trunk/uClibc/include/unistd.h   2009-02-23 17:28:08 UTC (rev 25431)
> > +++ trunk/uClibc/include/unistd.h   2009-02-24 00:27:33 UTC (rev 25432)
> > @@ -771,7 +771,7 @@
> >  #endif /* Use BSD. */
> >
> >  /* Special exit function which only terminates the current thread.  */
> > -extern void __exit_thread (int val) __attribute__ ((noreturn));
> > +extern void __exit_thread (int val) __attribute__ ((__noreturn__));
>
> This means that there is "#define noreturn __attribute__ ((__noreturn__))"
> somewhere which breaks "__attribute__ ((noreturn))".
>
> But I don't see it in the tree. Where is it?

There are some userspace packages that #define that, which used to work with 
both 0.9.30 and glibc, but broke when that checkin went in.

Rob
_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to