]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Conf/tools_def.template
BaseTools: Update CLANG{35,38}_WARNING_OVERRIDES to ignore unused vars
authorRebecca Cran <quic_rcran@quicinc.com>
Fri, 4 Feb 2022 19:50:41 +0000 (03:50 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 10 Feb 2022 02:03:57 +0000 (02:03 +0000)
commitc9b7c6e0cc7da76b74bcdd8c90cef956d5ae971c
tree20026053d4c71cd574c09aa2b29868c3cb4f1b43
parentb360b0b589697da267f5d3a553e65635b91ebae2
BaseTools: Update CLANG{35,38}_WARNING_OVERRIDES to ignore unused vars

Building with the CLANG35 and CLANG38 toolset fails because of variables
which are set but not otherwise used in the RELEASE build.

GCC added -Wno-unused-but-set-variable back in 2016, and later added
-Wno-unused-const-variable. Add those to CLANG35_WARNING_OVERRIDES and
CLANG38_WARNING_OVERRIDES.

Signed-off-by: Rebecca Cran <quic_rcran@quicinc.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
BaseTools/Conf/tools_def.template