Re: [PATCH 3/3] Basetools: turn off gcc12 warning
Bob Feng
Hi Gerd,
toggle quoted message
Show quoted text
Could you provide a patch to fix this issue or revert the original commit? Thanks, Bob -----Original Message-----
From: Rebecca Cran <rebecca@...> Sent: Tuesday, March 29, 2022 5:30 AM To: devel@edk2.groups.io; kraxel@... Cc: Pawel Polawski <ppolawsk@...>; Gao, Liming <gaoliming@...>; Chen, Christine <yuwei.chen@...>; Oliver Steffen <osteffen@...>; Feng, Bob C <bob.c.feng@...> Subject: Re: [edk2-devel] [PATCH 3/3] Basetools: turn off gcc12 warning This breaks building BaseTools with clang 13.1.6 on macOS: /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’, |
|