can/should we use gcc 3.1 to compile kernels

Tom Rini trini at kernel.crashing.org
Sat Jun 8 06:19:06 EST 2002


On Fri, Jun 07, 2002 at 03:44:56PM -0400, Kevin B. Hendricks wrote:

> Not too bad warnings-wize excpet for the controlfb.c where it constanly
> gave a funny warning about "pasting ->".

Sounds right.  I think there was a few other things too..

> It did this for every occurence of the macro CNTRL_REG which I must admit
> has two ## which I think gcc was misinterpreting somehow.

Well, isn't:
#define x(foo) a_## foo ##_b
A semi-common thing, like we do in indirect_pci.c ?  Or was it something
different?

> Other than that just the occaissioanal wanring about unused variables and
> things like that.

Lots of the USB stuff uses __FUNCTION__ which gcc-3.1 isn't happy
about.

> I should have saved the build.log

S'alright.

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list