FD_SET, FD_CLR and FD_ISSET produce compiler warnings
Sebastian Huber
sebastian.huber@embedded-brains.de
Tue May 5 16:16:00 GMT 2009
Hi,
according to POSIX we have:
void FD_CLR(int fd, fd_set *fdset);
int FD_ISSET(int fd, fd_set *fdset);
void FD_SET(int fd, fd_set *fdset);
They are implemented in newlib/libc/include/sys/types.h using macros which
produce an integer conversion warning because NFDBITS has an unsigned integer type.
Have a nice day!
--
Sebastian Huber, Embedded Brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone : +49 89 18 90 80 79-6
Fax : +49 89 18 90 80 79-9
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the Newlib
mailing list