Re: kernel and egcs

Pavel Machek (pavel@elf.ucw.cz)
Mon, 26 Jan 1998 20:12:03 +0100


> > The patch to skip all these stupid warnings in string.h is equally simple:
> > + return to;
> > + return s;
> Please include a comment before these returns, something like
>
> /* Shut up a stupid gcc warning */
>
> in order to show that these returns are intentionnal, and that this piece
> of code has been checked.

Maybe returns should not be put there? I'm afraid that gcc will
generate some code there, and that return will make it only generate
more unneeded code, thus bloating the kernel. I do not like idea of
code being bigger just because some stupid warnings.
Pavel

-- 
I'm really pavel@atrey.karlin.mff.cuni.cz. 	   Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).