On 18 May 2018 at 20:04, Matt Macy <mm...@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.
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to