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

Amir Shalem amir at boom.org.il
Sat Mar 18 19:52:09 UTC 2006


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.





More information about the uClibc mailing list