As I suspected, we fix warnings on non-contrib code. These are only
used on contrib code.
-M
mmacy@anarchy [~/devel/upstream|9:46|26] find sys | xargs grep NO_WSELF_ASSIGN
sys/modules/ipfilter/Makefile:CWARNFLAGS.fil.c=
${NO_WSELF_ASSIGN} -Wno-unused
Oops I’ll add a separate define for that
On Sat, May 19, 2018 at 04:27 Ed Maste wrote:
> On 18 May 2018 at 20:04, Matt Macy wrote:
> > Author: mmacy
> > Date: Sat May 19 00:04:01 2018
> > New Revision: 333819
> > URL:
On 18 May 2018 at 20:04, Matt Macy wrote:
> Author: mmacy
> Date: Sat May 19 00:04:01 2018
> New Revision: 333819
> URL: https://svnweb.freebsd.org/changeset/base/333819
>
> Log:
> Silence non-actionable warnings in vendor code
...
> Modified: head/sys/conf/kern.mk
>
Author: mmacy
Date: Sat May 19 00:04:01 2018
New Revision: 333819
URL: https://svnweb.freebsd.org/changeset/base/333819
Log:
Silence non-actionable warnings in vendor code
We can't modify vendor code so there's no signal in warnings from it.
Similarly -Waddress-of-packed-member is not