FD_ZERO Warnings [AGAIN]

Christian Jullien c.jullien@m6net.fr
Tue Nov 14 00:37:00 GMT 2000


I agree with the size_t definition of i but not to the name 'i'.

in the following code:

void
foo()
{
	int	i;
	FD_ZERO( &myfds );
}

gcc warns using: gcc -Wshadow

I hate warnings but I add more and more options in my code to try to get new
one.

I think that ISO/IEC 9899 reserve all symbols starting with '_' (i.e. _i is
not allowed for user -> me).

the FD_ZERO definition shoud be with _i or __i (like __tmp in the
definition) but not with i.

Regards.


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list