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

Chris Rees utisoft at gmail.com
Mon May 30 18:36:03 UTC 2011


On 30 May 2011 18:44, Dieter BSD <dieterbsd at engineer.com> 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?).
>
> 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.

I find it comforting that they're just that: warnings.

How do they frighten you?

Chris


More information about the freebsd-toolchain mailing list