Re: [2.6 patch] add compiler-gcc4.h

From: Adrian Bunk
Date: Sun Jan 30 2005 - 09:18:30 EST


On Sun, Jan 30, 2005 at 03:11:19PM +0100, Andi Kleen wrote:
> Adrian Bunk <bunk@xxxxxxxxx> writes:
>
> > With the release of gcc 4.0 being only a few months away and people
> > already tring compiling with it, it's time for adding a compiler-gcc4.h .
> >
> > This patch contains the following changes:
> > - compiler-gcc+.h: add the missing noinline and __compiler_offsetof
> > - compiler-gcc4.h: new file based on the corrected compiler-gcc+.h
> > - compiler.h: include compiler-gcc4.h for gcc 4
> > - compiler-gcc3.h: remove __compiler_offsetof (there will never be a
> > gcc 3.5)
> > small indention corrections
>
> I don't think it makes much sense right now because it's basically
> identical to compiler-gcc3.h. I would only add it where there is a
> need for a real difference.

The currently used file for gcc 4 is compiler-gcc+.h, not
compiler-gcc3.h .

> -Andi

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/