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


>From Geoff Keating <geoffk@geoffk.org>:
> /usr/include/linux/hpfs_fs_i.h:5: parse error before `ino_t'
>
> On my system, if you're building the linux kernel, it gets defined in
> <linux/types.h>.  Is it defined in your linux/types.h?

No, it is not, on linux 2.2.14.  I think this would get it,
from /usr/include/sys/types.h:
  /usr/include/bits/types.h:typedef __u_long __ino_t;

The code fragment was boiled down from a device driver, and
apparently various things are left undefined by the system headers
that the program includes.
The effect seems to be that the program works with old gcc's but not
with 2.95.3.


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