Re: [edk2-devel] MdeModulePkg fails to build with latest clang 14

2022-02-22 Thread Ross Burton
On Tue, 22 Feb 2022 at 01:55, gaoliming wrote: > Do you use which tool chain? CLANG38 or CLANGPDB? I think the solution > should disable this warning in tool chain configuration. We use CLANG38. Cheers, Ross -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this grou

回复: [edk2-devel] MdeModulePkg fails to build with latest clang 14

2022-02-21 Thread gaoliming
l] MdeModulePkg fails to build with latest clang 14 > > When building edk2 202111 with clang 14 I get the following errors: > > edk2/MdeModulePkg/Include/Guid/ExtendedFirmwarePerformance.h:78:47: > error: field Guid within 'FPDT_GUID_EVENT_RECORD' is less aligned than >

[edk2-devel] MdeModulePkg fails to build with latest clang 14

2022-02-21 Thread Ross Burton
When building edk2 202111 with clang 14 I get the following errors: edk2/MdeModulePkg/Include/Guid/ExtendedFirmwarePerformance.h:78:47: error: field Guid within 'FPDT_GUID_EVENT_RECORD' is less aligned than 'EFI_GUID' (aka 'GUID') and is usually due to 'FPDT_GUID_EVENT_RECORD' being packed, whic