Re: [git patches] IDE fixes

From: Linus Torvalds
Date: Wed May 23 2007 - 22:17:03 EST




On Wed, 23 May 2007, Linus Torvalds wrote:
>
> So please, please, please, realize that the compiler is _stupid_, and
> fixing warnings without understanding the code is bad.

Btw, this is fundamental. If you don't need to understand the code, then
the compiler could have just fixed it for you, and there was no need to
warn.

So compiler warnings have two cases:

- the compiler is being a complete a**hole, and the warning should exist.
It happens.
- it can be fixed, but only by understanding what the code wants to do.

In no case is it ok to just "shut up the warning".

Linus
-
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/