This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 2.95.3 destruction in Linux header



> #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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]