2.95.3 destruction in Linux header
Stephen L Moshier
moshier@mediaone.net
Fri Mar 23 16:21:00 GMT 2001
>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.
More information about the Gcc-bugs
mailing list