FD_SETSIZE

From: Ernest Yik <ERNEST@dont-contact.us>
Date: Mon, 25 Nov 1996 17:24:00 +0000 (HKT)

Hi Squid users,

I have patched my linux 2.0.23 kernel according to
www.linux.org.za/tweak.html, setting FD_SETSIZE to 2048. Now whenever I
compile squid, warnings about redefining FD_SETSIZE will appear. There is
no warning when FD_SETSIZE is changed to SQUID_MAXFD in squid1.1b21, but
starting from b22 it is changed back to FD_SETSIZE.

 ------
gcc -O -Wall -I. -I../include -I./../include -c store.c -o store.o
In file included from /usr/include/sys/time.h:6,
                 from /usr/include/time.h:27,
                 from squid.h:93,
                 from store.c:132:
/usr/include/linux/time.h:29: warning: `FD_SETSIZE' redefined
squid.h:46: warning: this is the location of the previous definition
gcc -O -Wall -I. -I../include -I./../include -c store_clean.c -o
store_clean.o
In file included from /usr/include/sys/time.h:6,
                 from /usr/include/time.h:27,
                 from squid.h:93,
                 from store_clean.c:32:
/usr/include/linux/time.h:29: warning: `FD_SETSIZE' redefined
squid.h:46: warning: this is the location of the previous definition
 ------

Should I just ignore these warnings, or I've done something wrong with my
kernel patching? Thanks for all information.

Regards,
Ernest
Received on Mon Nov 25 1996 - 01:22:16 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:33:37 MST