[edk2-devel] Build fails with VS2012

Laszlo Ersek lersek at redhat.com
Mon May 10 11:59:17 UTC 2021


On 05/09/21 19:42, Rebecca Cran wrote:
> Similarly the build is also failing with GCC49, using gcc 4.9.2:
> 
> /edk2/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.c: In
> function 'ShellSortFileList':
> Building ...
> /edk2/OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf [X64]
> /edk2/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.c:2202:19: error:
> 'Dupes' may be used uninitialized in this function
> [-Werror=maybe-uninitialized]
>        *Duplicates = Dupes;
>                    ^
> 
> 

This was reported earlier in:

  https://bugzilla.tianocore.org/show_bug.cgi?id=3228

and Sergei proposed a patch for nulling "Dupes" (among other things) in
an attachment on that BZ.

See my feedback in <https://bugzilla.tianocore.org/show_bug.cgi?id=3228#c6>.

Thanks
Laszlo



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#74876): https://edk2.groups.io/g/devel/message/74876
Mute This Topic: https://groups.io/mt/82685248/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list