【初心者歓迎】C/C++室 Ver.84【環境依存OK】
■ このスレッドは過去ログ倉庫に格納されています
0008デフォルトの名無しさん
2013/04/29(月) 14:10:33.57で
int
poll(struct pollfd *p, nfds_t nfds, int timout)
{
fd_set read, write, except;
struct timeval tv;
nfds_t i;
int highfd, rval;
...
と言うプログラムをコンパイルしたところ、
poll.c: In function `poll':
poll.c:41: warning: declaration of `read' shadows global declaration
poll.c:41: warning: declaration of `write' shadows global declaration
という警告が出たのですが、
これってどういうときに出るのでしょうか?
また、無視してよい物なのでしょうか?
■ このスレッドは過去ログ倉庫に格納されています