[U-Boot-Users] [PATCH 16/18] avr32: Fix two warnings in atmel_mci.c

Scott Wood scottwood at freescale.com
Fri May 23 21:04:32 CEST 2008


Ken.Fuchs at bench.com wrote:
> Haavard Skinnemoen wrote:
> 
>> The warnings are harmless but annoying. Let's fix them.
> 
> If the warnings are "harmless", why are you "fixing them"?

Warnings are never completely harmless -- they make it harder to notice 
other warnings that point out real problems.

> The compiler has switches to turn off warnings, if they
> annoy you too much.

I'd suggest doing the opposite, and enabling -Werror. :-)

-Scott




More information about the U-Boot mailing list