Danny - FWIW, xfs compiles for me with no warnings, using gcc version
2.96 20000731 (Red Hat Linux 7.3 2.96-110) on today's CVS tree.
-Eric
On Mon, 2002-08-19 at 13:52, Danny Cox wrote:
> Christoph,
>
> On Mon, 2002-08-19 at 14:47, Christoph Hellwig wrote:
> > > while the .c file sez its:
> > >
> > > kmem_zone_t *<grump>;
> > >
> > > While I know it's the same thing, the compiler (2.96 from RH) apparently
> >
> > I don't think that's valid. And at least gcc 3.2 doesn't complain..
>
> Yes, but 2.96 does. I'd think that several folks use 2.96, since
> that's the standard gcc from RH 7.2.
>
> > In this case not, as the kmem_zone_t is an object opaque to it's user.
> > Compare it to kmem_cache_t in þhe core Linux code.
>
> Okay, point taken. Nevertheless, the types between the .c and .h files
> should be consistent, whatever is chosen, no?
>
> --
> kernel, n.: A part of an operating system that preserves the
> medieval traditions of sorcery and black art.
>
> Danny
>
--
Eric Sandeen XFS for Linux http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx SGI, Inc. 651-683-3102
|