Re: [PATCH 3/3] Basetools: turn off gcc12 warning
Rebecca Cran
This breaks building BaseTools with clang 13.1.6 on macOS:
toggle quoted message
Show quoted text
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C DevicePath gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/AArch64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2 -Wno-error=stringop-overflow DevicePath.c -o DevicePath.o error: unknown warning option '-Werror=stringop-overflow'; did you mean '-Werror=shift-overflow'? [-Werror,-Wunknown-warning-option] -- Rebecca Cran On 3/24/22 6:04 AM, Gerd Hoffmann wrote:
In function ‘SetDevicePathEndNode’, |
|