compiler warnings (was: Re: [rfc] a few kern.mk and bsd.sys.mk related changes)

Alexander Best arundel at freebsd.org
Mon May 30 18:27:29 UTC 2011


On Mon May 30 11, Dieter BSD wrote:
> > maybe we find some nice -Wwarning options which are reasonable
> > to have
> 
> -Wmissing-declarations
> -Wimplicit
> 
> FreeBSD's gcc doesn't seem to have  -Wcoercion  ???
> Bugzilla indicates that it was added years ago (2006?).

-Wcoercion seems to have only been a SoC project in 2006 [1]. i checked gcc
trunk and it's not in the gcc(1) manual.

[1] http://gcc.gnu.org/wiki/Wcoercion

> 
> It would be really really nice if -static worked on (nearly) everything.
> 
> > and - most importantly - don't break tinderbox
> 
> That's a matter of fixing the bugs before adding the warning flags
> to tinderbox.
> 
> Ports need attention.  The warnings I get there are frightening.

-- 
a13x


More information about the freebsd-toolchain mailing list