That is a missing EFIAPI. > On Sep 6, 2022, at 4:46 PM, Rebecca Cran <quic_rc...@quicinc.com> wrote: > > I noticed that MdeModulePkg/MdeModulePkg.dsc doesn't build with clang 11: I > get an error in CapsuleApp: > > > build -p MdeModulePkg/MdeModulePkg.dsc -a X64 -t CLANG38 -b DEBUG > > ... > > MdeModulePkg/Application/CapsuleApp/CapsuleDump.c:797:5: error: cast between > incompatible calling conventions 'cdecl' and 'ms_abi'; calls through this > pointer may abort at runtime [-Werror,-Wcast-calling-convention] > > (SORT_COMPARE)CompareFileNameInAlphabet > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > MdeModulePkg/Application/CapsuleApp/CapsuleDump.c:635:1: note: consider > defining 'CompareFileNameInAlphabet' with the 'ms_abi' calling convention > > CompareFileNameInAlphabet ( > > ^ > > EFIAPI > > 1 error generated. > > make: *** [GNUmakefile:361: > Build/MdeModule/DEBUG_CLANG38/X64/MdeModulePkg/Application/CapsuleApp/CapsuleApp/OUTPUT/CapsuleDump.obj] > Error 1 > > -- > > Rebecca Cran > > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#93312): https://edk2.groups.io/g/devel/message/93312 Mute This Topic: https://groups.io/mt/93514380/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-