This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: FD_ZERO() on Linux with egcs-2.92.18
- To: Frank Pilhofer <fp at informatik dot uni-frankfurt dot de>
- Subject: Re: FD_ZERO() on Linux with egcs-2.92.18
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 04 Nov 1998 21:02:01 -0700
- cc: egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <19981104225909.03992@rose.fpx.de>you write:
>
> Hi,
>
> the FD_ZERO() macro does not compile on Linux 2.0.31 using the current
> egcs snapshot. Here's a test program:
>
> #include <sys/time.h>
>
> int main ()
> {
> fd_set set;
> FD_ZERO (&set);
> }
The definition of FD_ZERO in your include files is broken.
> I read about the new register allocation routines. Does that mean that
> Linux will need "fixincludes" until the Linux kernels are fixed?
I don't think we want fixincludes to try and find busted asms... It'd
be a sed nightmare.
Better to get the include files fixed at the source.
jeff