[BUG] compliation error in bits/socket.h with -D__USE_EXTERN_INLINES

Amir Shalem amir at boom.org.il
Sun Mar 19 05:04:56 UTC 2006


and now when attaching the patch file.


Amir Shalem wrote:

> hey
>
>
> since http://www.uclibc.org/cgi-bin/viewcvs.cgi?rev=12407&view=rev
>
> which enabled __THROW and friends were enabled
>
>
> when compiling using -D__USE_EXTERN_INLINES
>
> there's a compilation error in <bits/socket.h>, <bits/mathinline.h>
>
>
> because using __THROW at the end of a defintion of function is an 
> error in C:
>
>
> int
>
> function(void) __THROW
>
> {
>
> }
>
>
> the correct usage is
>
>
> int
>
> __NTH (function (void))
>
> {
>
> }
>
>
> the patch syncs (created manually) bits/socket.h and i386 
> bits/mathinline.h from glibc
>
>
> thanks,
>
> amir.
>
>
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix-throw-usage.diff
Url: http://lists.busybox.net/pipermail/uclibc/attachments/20060319/1660c11d/attachment.diff 


More information about the uClibc mailing list