public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Laszlo Ersek" <lersek@redhat.com>
To: rebecca@nuviainc.com
Cc: devel@edk2.groups.io,
	Michael D Kinney <michael.d.kinney@intel.com>,
	sergei@posteo.net
Subject: Re: [edk2-devel] Build fails with VS2012
Date: Mon, 10 May 2021 13:59:17 +0200	[thread overview]
Message-ID: <9d6d9681-a2a0-0fe0-d2cf-8677ccb28c0b@redhat.com> (raw)
In-Reply-To: <759cb9b3-136d-806e-92f5-4cf397891aac@nuviainc.com>

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


  reply	other threads:[~2021-05-10 11:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <167D2F1936103629.17661@groups.io>
2021-05-09 17:42 ` [edk2-devel] Build fails with VS2012 Rebecca Cran
2021-05-10 11:59   ` Laszlo Ersek [this message]
2021-05-08 19:47 Rebecca Cran
2021-05-10 11:56 ` [edk2-devel] " Laszlo Ersek
2021-05-10 13:20   ` Rebecca Cran
2021-05-10 23:31     ` Michael D Kinney
2021-05-11  0:14       ` Rebecca Cran
2021-05-11 14:41         ` Laszlo Ersek
2021-05-12  0:04           ` Andrew Fish

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9d6d9681-a2a0-0fe0-d2cf-8677ccb28c0b@redhat.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox