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: Fri, 23 Mar 2001 19:21:21 -0500 (EST)
- cc: gcc-bugs at gcc dot gnu dot org
- Reply-To: moshier at moshier dot ne dot mediaone dot net
>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.