public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
* Regarding FD_ZERO compilation warning
@ 2022-06-20  3:47 Reddy K
  2022-06-20  7:31 ` Florian Weimer
  0 siblings, 1 reply; 6+ messages in thread
From: Reddy K @ 2022-06-20  3:47 UTC (permalink / raw)
  To: libc-help

HI Team,

I have enabled all compilation flags and did "make" build. I got the
warning below and have tried to include required header files ( select.h,
time.h, types.h and unistd.h) but still it shows the warning. So can you
please help me to fix this.

ds_locator.c:930:2: warning: traditional C rejects string constant
concatenation [-Wtraditional]
FD_ZERO(&readfds);

I am pasting the code snippet below to understand how variable readfds
define.
-----------------------------
fd_set readfds;
FD_ZERO(&readfds);

----------------------------

Thanks & Regards
Haritha

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-06-20 11:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-20  3:47 Regarding FD_ZERO compilation warning Reddy K
2022-06-20  7:31 ` Florian Weimer
2022-06-20 11:04   ` Reddy K
2022-06-20 11:09     ` Florian Weimer
2022-06-20 11:23       ` Reddy K
2022-06-20 11:26         ` Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).