[Request for Help] Reducing gcc 4.9 compilation warnings
Benjamin Kaduk
bjk at freebsd.org
Mon Apr 20 16:46:42 UTC 2015
On Sun, 19 Apr 2015, Adrian Chadd wrote:
> I just got a booting mips32 kernel using gcc-4.9.2, and boy are there
> a lot of warnings. I'm going to start fixing the ones I find - cleaner
> code is better code. Mostly.
>
> (I'd be happy with -Wall -Werror.)
I thought that -Wall was a fixed set of warnings nowhere close to all of
them (to avoid breaking peoples' builds as new warnings are introduced),
and a larger set would be better. (Things like -Wmaybe-uninitialized have
too many false positives to be a desirable -Werror target, though.)
-Ben
More information about the freebsd-toolchain
mailing list