Re: [Request for Help] Reducing gcc 4.9 compilation warnings

From: Benjamin Kaduk <bjk_at_freebsd.org>
Date: Mon, 20 Apr 2015 12:46:29 -0400 (EDT)
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
Received on Mon Apr 20 2015 - 14:46:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:57 UTC