Sources Bugzilla – Bug 2179
Current glibc CVS fails to compile with gcc 4.1 SVN
Last modified: 2006-01-19 17:29:18 UTC
gcc 4.1 got even stricter about declaration/implementation mismatches, causing
glibc CVS to fail with:
pselect.c:36: error: static declaration of '__pselect' follows non-static
../include/sys/select.h:8: error: previous declaration of '__pselect' was here
Created attachment 842 [details]
This fixes it
*** This bug has been marked as a duplicate of 333 ***
This is not a dup of 333, unless you consider using a recent devel version of
gcc a "broken setup".
There's even a patch to fix it, and it is quite obviously not 100% correct to
declare something "extern" in a header, then include the header elsewhere and
redeclare it "static".
This is fixed already.