From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 0221AD80A14 for ; Sat, 20 Jul 2024 15:52:06 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=P8qmpW8qGWbtxds2jQcQP/uDH9ejQuhyRvRHzZg6YQA=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1721490726; v=1; b=jYbcZ0SxNX5FHFQ2rWTBnJACv2vy5p1K6qObv6bbK6urxP9X6kVDxQtsefhXnUq4F09p8IbJ +3Iv72p0pEj1GTeZ6/ump4TuXtHhdbVt4KLJq1iyz1wjZsVQLiFkknXKNup6aVP0EiANT2Qi9mD VpsDeiE4FAOS3Opyz4LRsNWIJinLSvoIkclxfd9pQqIMnqR/two9RyAFEmRsWF+BOs7vKf2MuA0 kWktmvdKwnI7vpxyTp554wehDCPubZfYkzFAjIZ9YB6TNeqLWO6VctBsqA+7/Uv0sUORtJhxwlh aDofBzzMl4gBRuyh894RJ+h9iW+rLKifDNjP5w0JuKbEg== X-Received: by 127.0.0.2 with SMTP id 6eDvYY7687511xKoxw7ZCokJ; Sat, 20 Jul 2024 08:52:05 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) by mx.groups.io with SMTP id smtpd.web11.8581.1721490724669694975 for ; Sat, 20 Jul 2024 08:52:04 -0700 X-CSE-ConnectionGUID: ZiXy46N4R2ibFai3i5AH/A== X-CSE-MsgGUID: RcuEUEaORwKrmSRZ+YKIxg== X-IronPort-AV: E=McAfee;i="6700,10204,11139"; a="30256087" X-IronPort-AV: E=Sophos;i="6.09,224,1716274800"; d="scan'208";a="30256087" X-Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2024 08:52:05 -0700 X-CSE-ConnectionGUID: Yf9sKTTdT56nVC7xThZD4g== X-CSE-MsgGUID: 3PKhQo+5SJS0kh6hXmP2Cg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,224,1716274800"; d="scan'208";a="82039613" X-Received: from njayapra-mobl.gar.corp.intel.com ([10.246.147.177]) by orviesa002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2024 08:52:03 -0700 From: "Jayaprakash, N" To: devel@edk2.groups.io Cc: Jayaprakash N Subject: [edk2-devel] [edk2-libc Patch v2 0/1] Support for compiling Python UEFI interpreter with VS2022 Date: Sat, 20 Jul 2024 21:18:23 +0530 Message-ID: <20240720155148.973-1-n.jayaprakash@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Sat, 20 Jul 2024 08:52:04 -0700 Resent-From: n.jayaprakash@intel.com Reply-To: devel@edk2.groups.io,n.jayaprakash@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: X4GgxVQn3G5QBQ3gGWxL7IPBx7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=jYbcZ0Sx; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none) This patch fixes the compilation errors seen in edk2-libc components while compiling Python UEFI. Below is summary of fixes done through this patch request. 1.AppPkg\Applications\Enquire\Enquire.c Warning C4459: Declaration of 'bugs' hides global declaration. Warning C4456: Multiple declarations of 'char_max' hide previous local declarations. Warning C4456: Declaration of 'char_min' hides previous local declaration. 2.AppPkg\Applications\OrderedCollectionTest\OrderedCollectionTest.c Warning C4476: Unknown type field character '$' in format specifier. Warning C4474: Too many arguments passed for format string. 3.StdLib\BsdSocketLib\getnetbyht.c Warning C4459: Declaration of 'net' hides global declaration. 4.StdLib\EfiSocketLib\Socket.c Warning C4459: Multiple declarations of 'errno' hide global declaration. 5.AppPkg\Applications\Sockets\DataSource\DataSource.c Warning C4459: Declaration of 'BytesSent' hides global declaration. 6.AppPkg\Applications\Sockets\OobRx\OobRx.c Warning C4475: Length modifier 'L' cannot be used with type field character 'd' in format specifier. 7.AppPkg\Applications\Sockets\RawIp4Rx\RawIp4Rx.c Warning C4475: Length modifier 'L' cannot be used with type field character 'd' in format specifier. 8.StdLib\BsdSocketLib\ns_print.c Warning C4456: Multiple declarations of 't' hide previous local declarations. Warning C4457: Declaration of 'type' hides function parameter. Jayaprakash N (1): edk2-libc: Support for compiling Python UEFI interpreter with VS2022 AppPkg/Applications/Enquire/Enquire.c | 48 +++++------ .../OrderedCollectionTest.c | 10 +-- .../Sockets/DataSource/DataSource.c | 10 +-- AppPkg/Applications/Sockets/OobRx/OobRx.c | 6 +- .../Applications/Sockets/RawIp4Rx/RawIp4Rx.c | 4 +- StdLib/BsdSocketLib/getnetbyht.c | 9 ++- StdLib/BsdSocketLib/ns_print.c | 57 +++++++------ StdLib/EfiSocketLib/Socket.c | 80 +++++++++---------- 8 files changed, 117 insertions(+), 107 deletions(-) -- 2.45.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119987): https://edk2.groups.io/g/devel/message/119987 Mute This Topic: https://groups.io/mt/107454080/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-