Re: problem compiling 2.0.34 PLEASE HELP

Horst von Brand (vonbrand@inf.utfsm.cl)
Wed, 24 Jun 1998 18:20:28 -0400


"Peter T. Breuer" <ptb@it.uc3m.es> said:
> "A month of sundays ago Trevor Johnson wrote:"
> > > /usr/src/linux-2.0.34/include/asm/string.h:443: warning: control
> > > reaches end of non-void function

> > To gcc, a warning is not the same as an error. It will normally continue
> > after warnings. They're just unusual conditions it's informing you about.
> > It will stop after errors, because it "doesn't know what to do".

> Correct. I got these errors from all 2.0.* kernels after switching to
> gcc 2.8.0. I got tired of the warning and added a return value in the
> two inlines. E.g:

gcc-2.8.0 is _badly_ broken. linux-2.0.x is _badly_ broken with respect to
compiling with gcc-2.8.1/egcs. Don't do that!

-- 
Dr. Horst H. von Brand                       mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu