This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: 2.95.3 destruction in Linux header
- To: Geoff Keating <geoffk at geoffk dot org>
- Subject: Re: 2.95.3 destruction in Linux header
- From: Stephen L Moshier <moshier at mediaone dot net>
- Date: Sat, 24 Mar 2001 09:25:33 -0500 (EST)
- cc: gcc-bugs at gcc dot gnu dot org
- Reply-To: moshier at moshier dot ne dot mediaone dot net
> #include <linux/fs.h>
I'm not satisfied that this error is explained.
Upon copying a line found in the linux makefile, I see that
gcc -D__KERNEL__ -I/usr/src/linux/include -c tst.c
works, but
gcc -D__KERNEL__ -c tst.c
fails with gcc-2.95.3.
Why would it be necessary or desirable to say
-I/usr/src/linux/include
when <linux/fs.h> already seems to resolve properly?
Is this just papering over a gcc bug?