From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web12.30854.1620647965147033400 for ; Mon, 10 May 2021 04:59:25 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PPmM4tmM; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620647964; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iPK/qtLIuWP56b1yJrjA89WIb5ptvBwpFOsiOwy5cG0=; b=PPmM4tmMp+88Bz9WZmjQA3xqyC6tqZpjFIgnl3JzR4wY/ZWvHEYbkgyHqdC1kxBgU+oDtu YckcFB43ULgokToz/43VlG+G7xTA2bMvrUo5FJVTvE4/yrKnTrompk2iIU+TKv3S3yXxFx ITEgzne6K0LCmSer74jBzALKAIAkvzM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-506-spCIIdR0O3u2lNbDTnpC9w-1; Mon, 10 May 2021 07:59:20 -0400 X-MC-Unique: spCIIdR0O3u2lNbDTnpC9w-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 44A2910CE791; Mon, 10 May 2021 11:59:19 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-114-216.ams2.redhat.com [10.36.114.216]) by smtp.corp.redhat.com (Postfix) with ESMTP id 361635D9CA; Mon, 10 May 2021 11:59:18 +0000 (UTC) Subject: Re: [edk2-devel] Build fails with VS2012 To: rebecca@nuviainc.com References: <167D2F1936103629.17661@groups.io> <759cb9b3-136d-806e-92f5-4cf397891aac@nuviainc.com> Cc: devel@edk2.groups.io, Michael D Kinney , sergei@posteo.net From: "Laszlo Ersek" Message-ID: <9d6d9681-a2a0-0fe0-d2cf-8677ccb28c0b@redhat.com> Date: Mon, 10 May 2021 13:59:17 +0200 MIME-Version: 1.0 In-Reply-To: <759cb9b3-136d-806e-92f5-4cf397891aac@nuviainc.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=lersek@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit 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 . Thanks Laszlo