HomeFreeBSD

Add -Wno-error=unused-but-set-variable when building with Clang 13+

Description

Add -Wno-error=unused-but-set-variable when building with Clang 13+

This warning triggers many times while building world. Downgrade it to a
warning until all occurrences have been fixed. Once the Clang warnings
have been fixed we should be able to turn it on for GCC as well. See
also f4fed768bba45a406f73ed1491d7e52fd1a8711d which did the same for the
kernel builds.

Reviewed by: arichardson, imp
Differential Revision: https://reviews.freebsd.org/D31927

(cherry picked from commit 45feade38ec3e8e30086dedc6ee81cbf816293e3)

Details

Provenance
dimAuthored on Aug 26 2021, 3:36 PM
Reviewer
arichardson
Differential Revision
D31927: Add -Wno-error=unused-but-set-variable when building with Clang 13+
Parents
rG304bf88ad91e: e1000: Revert Update intel shared code
Branches
Unknown
Tags
Unknown