Re: [edk2-devel] [PATCH 1/1] BaseTools: Update CLANG{35,38}_WARNING_OVERRIDES to ignore unused vars

2022-02-04 Thread Michael D Kinney
h > Cc: Rebecca Cran > Subject: [edk2-devel] [PATCH 1/1] 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. > >

[edk2-devel] [PATCH 1/1] BaseTools: Update CLANG{35,38}_WARNING_OVERRIDES to ignore unused vars

2022-02-04 Thread Rebecca Cran
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