gcc-4.4 -Wconversion produces warnings in sysdeps/i386/bits/select.h and sysdeps/x86_64/bits/select.h header files. For example, on i386: $ printf '%s\n%s\n' '#include ' 'int f(fd_set *s, int d) {return FD_ISSET(d, s);}' |gcc -Wconversion -c -xc - : In function ‘f’: :2: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result :2: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result $ printf '%s\n%s\n' '#include ' 'int f(fd_set *s, unsigned int d) {return FD_ISSET(d, s);}' |gcc -Wconversion -c -xc - : In function ‘f’: :2: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result That is, FD_ISSET() produces warnings regardless of integer type. -- Summary: sysdeps/{i386,x86_64}/bits/select.h -Wconversion warnings Product: glibc Version: unspecified Status: NEW Severity: normal Priority: P2 Component: libc AssignedTo: drepper at redhat dot com ReportedBy: ldv at altlinux dot org CC: glibc-bugs at sources dot redhat dot com http://sourceware.org/bugzilla/show_bug.cgi?id=10229 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.