svn commit: trunk/uClibc/include

Denys Vlasenko vda.linux at googlemail.com
Tue Feb 24 16:13:28 UTC 2009


On Tuesday 24 February 2009 01:27:34 am landley at uclibc.org 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?
--
vda


More information about the uClibc mailing list