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

Peter S. Mazinger ps.m at gmx.net
Mon Mar 20 09:44:20 UTC 2006


On Sun, 19 Mar 2006, Amir Shalem wrote:

> and now when attaching the patch file.

thx, applied (for other archs as well), the mathinline.h files are badly 
out of sync and not quite correct for uClibc though.

Peter
> 
> 
> 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
> 
> 
> 

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list