From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 20538941920 for ; Sat, 20 Jan 2024 13:45:31 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=qU5bMCph/YfxU7s47YvZuem7L81pUaAVPoC+h4MrEyI=; 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:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1705758330; v=1; b=FfqDIYt4XtsDAh7To9zH2VUt928ifc5eyarysxijVW/8VGSYB9qfkH3bD/tBfNqzMAeXBgEt 01DkKVvNfb6uUovYSZtC+folT7XwKrOSaC2AV33NUtbRFDvWPgrGHyZHGsJgTD06TWFh0Au/az/ 4Hd7KiUR8SediNLy/si6TrlU= X-Received: by 127.0.0.2 with SMTP id PK5OYY7687511xHh2GVhcBZe; Sat, 20 Jan 2024 05:45:30 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) by mx.groups.io with SMTP id smtpd.web10.22518.1705758329691161289 for ; Sat, 20 Jan 2024 05:45:30 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10957"; a="8313752" X-IronPort-AV: E=Sophos;i="6.05,208,1701158400"; d="scan'208";a="8313752" X-Received: from orviesa005.jf.intel.com ([10.64.159.145]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jan 2024 05:45:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,208,1701158400"; d="scan'208";a="806675" X-Received: from shwdejointd777.ccr.corp.intel.com ([10.239.58.116]) by orviesa005.jf.intel.com with ESMTP; 20 Jan 2024 05:45:28 -0800 From: "Wenxing Hou" To: devel@edk2.groups.io Cc: Jiewen Yao , Yi Li , Guomin Jiang Subject: [edk2-devel] [PATCH] CryptoPkg: Add dummy inttypes header to fix clang build Date: Sat, 20 Jan 2024 21:45:24 +0800 Message-Id: <20240120134524.1669-1-wenxing.hou@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 Reply-To: devel@edk2.groups.io,wenxing.hou@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 2gVucTTWUgPJHkNoFfSMhUZbx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=FfqDIYt4; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D4642 When use Mbedtls, there is a clang build error. Add dummy inttypes header to fix clang build. Cc: Jiewen Yao Cc: Yi Li Cc: Guomin Jiang Signed-off-by: Wenxing Hou --- CryptoPkg/CryptoPkg.ci.yaml | 1 + CryptoPkg/Library/Include/inttypes.h | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 CryptoPkg/Library/Include/inttypes.h diff --git a/CryptoPkg/CryptoPkg.ci.yaml b/CryptoPkg/CryptoPkg.ci.yaml index f961d85927..b601bcf85c 100644 --- a/CryptoPkg/CryptoPkg.ci.yaml +++ b/CryptoPkg/CryptoPkg.ci.yaml @@ -44,6 +44,7 @@ # This has Mbedtls interfaces that aren't UEFI spec compliant= =0D "Library/Include/stdint.h",=0D "Library/Include/stubs-32.h",=0D + "Library/Include/inttypes.h",=0D # These directories contain auto-generated OpenSSL content=0D "Library/OpensslLib",=0D "Library/IntrinsicLib",=0D diff --git a/CryptoPkg/Library/Include/inttypes.h b/CryptoPkg/Library/Inclu= de/inttypes.h new file mode 100644 index 0000000000..3d44d8201d --- /dev/null +++ b/CryptoPkg/Library/Include/inttypes.h @@ -0,0 +1,9 @@ +/** @file=0D + Include file to support building the third-party cryptographic library.= =0D +=0D +Copyright (c) 2024, Intel Corporation. All rights reserved.
=0D +SPDX-License-Identifier: BSD-2-Clause-Patent=0D +=0D +**/=0D +=0D +#include =0D --=20 2.26.2.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#114115): https://edk2.groups.io/g/devel/message/114115 Mute This Topic: https://groups.io/mt/103849296/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-