svn commit: r333819 - in head/sys: conf modules/blake2 modules/crypto modules/drm2/i915kms modules/ipfilter

Matthew Macy mmacy at freebsd.org
Sat May 19 12:30:20 UTC 2018


Oops I’ll add a separate define for that

On Sat, May 19, 2018 at 04:27 Ed Maste <emaste at freebsd.org> wrote:

> On 18 May 2018 at 20:04, Matt Macy <mmacy at freebsd.org> 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
> >
> ==============================================================================
> > --- head/sys/conf/kern.mk       Fri May 18 23:42:08 2018
> (r333818)
> > +++ head/sys/conf/kern.mk       Sat May 19 00:04:01 2018
> (r333819)
> > @@ -18,12 +18,13 @@ CWARNFLAGS?=        -Wall -Wredundant-decls
> -Wnested-externs
> >  # a false positive.
> >  .if ${COMPILER_TYPE} == "clang"
> >  NO_WCONSTANT_CONVERSION=       -Wno-error-constant-conversion
> > -NO_WSHIFT_COUNT_NEGATIVE=      -Wno-error-shift-count-negative
> > -NO_WSHIFT_COUNT_OVERFLOW=      -Wno-error-shift-count-overflow
> > -NO_WSELF_ASSIGN=               -Wno-error-self-assign
> > +NO_WSHIFT_COUNT_NEGATIVE=      -Wno-shift-count-negative
> > +NO_WSHIFT_COUNT_OVERFLOW=      -Wno-shift-count-overflow
> > +NO_WSELF_ASSIGN=               -Wno-self-assign
>
> This silences the warning across the tree, not just vendor code.
>


More information about the svn-src-head mailing list