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 C7740AC0A3B for ; Mon, 23 Oct 2023 04:27:41 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=xFNCzVa/X6foBMpqMljIxhZNafB+S8LeeMIybbVT/XQ=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:Message-ID:Date:User-Agent:Subject:To:Cc:References:From:In-Reply-To:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1698035260; v=1; b=SvLg3AQxVFZMy9q5ydrip4R10MuMK5L0835xt//5VqDwxJdY4NPQX7ylK2crEoyDMxwfl2nC tEnpZlQWnecGwgvC3FxrUl7Uolgm1KNtxqKHn4n26lE/jNp43DqarWZpdifSTv9cLb+hDCFKqQ7 ibEfAhVau38m04jTrOmFtwTg= X-Received: by 127.0.0.2 with SMTP id 1GtzYY7687511xVhXv1ByIx7; Sun, 22 Oct 2023 21:27:40 -0700 X-Received: from NAM10-DM6-obe.outbound.protection.outlook.com (NAM10-DM6-obe.outbound.protection.outlook.com [40.107.93.133]) by mx.groups.io with SMTP id smtpd.web11.114244.1698035259560792872 for ; Sun, 22 Oct 2023 21:27:39 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mVyHMbOu7PSmcYVOYBP0q7oqegqiqZzikYU8La9JDczlKDReMeURPivhlFEQs0Nnab0MJ8nEqulP/WJV4HkYFjJvpcN6+Y/Ih2O+OT+q3WHBMJKe+9fxUEwwMJ5Wz0VUIdPXIRrIfhLjSmOYzNnx2pqa32jhnnalyjCmtt1xn/T44wHz6yIuUFVB/2xpgnhJ1Ba7sIkcmoAwmadph+8AMvOJwXy2Nk/ERnB9FID+Cg0UkBEcJ1QnUAE47pBiozxo9Lo9hABzGvb4kz2Uhypljjk2tCdMCmFMPd1K0neYQWysI3DKURDEIXSuBPvBr7Cu0n/yD+Qnz5DYsds3ot+V6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=3+RHZ8w9iV91HeKa8AbbMhs4k9nivI8RBksOsn5L6ZE=; b=GInvlHMh6BPav4JFimhW9NJhlERQaEk6NW8wfyFo7kB0558A/S/JS5dtEec6TcW4ASQw3mRQ7sg/itKcZuI9UtNMQ3P5n7+5p+/xZ3VYLwy3H7TEVqySfog/b62PIO3wTC8Ia8s42EYDrq2e4k19n2Z0w6J+uvk3UW/iqw79lorlKD1pqBXqpMQMALXMw3pktJukaFQXUtDPZtDASheFZhPxyi2R5GoRj2tHQINC09ehkN+JrOyR4zYlqulO27tMu/bOvkVt46e15faIF29Sv5WTorYIpnoRL4Lx/GNZsZ4DVSaDNnnsnO9qgqFg7grKhplSOQFaiGta9ug9EmeH0A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none X-Received: from PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) by PH0PR01MB7236.prod.exchangelabs.com (2603:10b6:510:10c::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.33; Mon, 23 Oct 2023 04:27:37 +0000 X-Received: from PH0PR01MB7287.prod.exchangelabs.com ([fe80::b6b8:a922:8486:666a]) by PH0PR01MB7287.prod.exchangelabs.com ([fe80::b6b8:a922:8486:666a%6]) with mapi id 15.20.6907.032; Mon, 23 Oct 2023 04:27:36 +0000 Message-ID: Date: Mon, 23 Oct 2023 11:27:27 +0700 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] [PATCH] MdeModulePkg/RegularExpressinoDxe: Fix clang error To: devel@edk2.groups.io, jake@nvidia.com Cc: jian.j.wang@intel.com, gaoliming@byosoft.com.cn References: From: "Nhi Pham via groups.io" In-Reply-To: X-ClientProxiedBy: SG2PR04CA0194.apcprd04.prod.outlook.com (2603:1096:4:14::32) To PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR01MB7287:EE_|PH0PR01MB7236:EE_ X-MS-Office365-Filtering-Correlation-Id: f8096037-31d3-4c0b-939f-08dbd380623d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: p2m+7rbPQSfXW1r0EuLlqtHSS3T+idtilB363GWMEpo3Qpzr34eTWgT1YViSNarys0nnw4KOPa/mq/VRqtnOXKXukSbNGParzZkE5G7t7gU3/N5Ac8TXLmmt/wh4p3Z51Gv367OcSUEQo8CVHMNFb9WfOxSbLMGoSSGf83UPgY7u9r+NxZqCovLOsh9CyOcBi1ubYoXrB/ReUboEmZDM/gghB1bsNCKideSUAeAmls1dsNKdaFTXmouRk25UNuFmVskOvbg9TSvLro0E3rzzEJL0rfv3FjatOd9NL3zQQMUab7/bSwDG31IXh1jro6OQS3c2cPyZv25GmULtXRGk7IowPsMyNn1VJ7W6kl7vTeQx3bFkwpwUW2mmnJCB0cfuJKYRKu3QFREkSakgU6X2P1KZW45TN5vv/A+1rYBROWemhs8W0MMmSBHLHHYdlN4dIJbmNvxYq8rFQ6XTWaqRn6CAyWm00WMoNLtaNeWbQnrMlWemsEso2GQsbbuhU0ihHqfkOr+HdJjy7w/tHTB7Md6TvXKEZJlORik+ioIMzCgTxeF9tL2NQ3Cr6cJAcD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8?B?RW5JdlhjUHo2VVkvQW9iY2VTZUlDQmNTNGdIaWFDRUFLbExQS0diZjlhVzNk?= =?utf-8?B?NVdTMnNkT0hVT2c1WDUrQUdVNHg2blJzS3FUTWRFSU5tMVdYVU1xZm1EdDFP?= =?utf-8?B?REhYazBkeDQwaEhJSXlwSjZ6QTZzUEZOaERqQnhTdSs0OGNXYmY4VHNySVNZ?= =?utf-8?B?Y05EZnBkSWdpaE1wVzRUOWQxWkk1TXlOa1B4UWh3NVVxS04zcWttVEtaMXhx?= =?utf-8?B?ODhLMkRZbm9xZ2VvdTBITnFRdlpxbnA2Q2htSDdYTkFvZG5GMmU4MExGVDQ1?= =?utf-8?B?V3hiS0IyUkVibDVWTkNMaG91OHVPemppVmE5WStnaFhjeVY2UnJFNnNqNTBP?= =?utf-8?B?c3VKK1kwUjdoOFhmT3JVdHkxMXM0dGZqR2VFNHUyK1VldyttQnA3TnhMZHJQ?= =?utf-8?B?dkliZ1VTeE1hYWtaU2hNcWtpaHRaWElNWWt2dTlyRDJHMVZFeTNUS05LVmVW?= =?utf-8?B?c0E9PQ==?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: f8096037-31d3-4c0b-939f-08dbd380623d X-MS-Exchange-CrossTenant-AuthSource: PH0PR01MB7287.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Oct 2023 04:27:36.4893 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: abv/CSvkr2zisHGAgYr7xapHyOXu2/S0vOws2pqdCgBYIN5M7xRnTmjRRj00Bd9crzsZbT+z9yvZJ4E9Klr0Ms9TIxuqcD0I4ocXs1KL/1c= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR01MB7236 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,nhi@os.amperecomputing.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: yYkKolDjRR8SpULCnXfcGcCmx7686176AA= Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed 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=SvLg3AQx; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=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 This looks good to me. I also build-tested this patch. Reviewed-by: Nhi Pham Tested-by: Nhi Pham On 10/3/2023 10:04 PM, Jake Garver via groups.io wrote: > Ignore old style declaration warnings in oniguruma/src/st.c. This was > already ignored for MSFT, but newer versions of clang complain as well. >=20 > Signed-off-by: Jake Garver > --- > .../Universal/RegularExpressionDxe/RegularExpressionDxe.inf | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressio= nDxe.inf b/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe= .inf > index 84489c2942..0092531a67 100644 > --- a/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.in= f > +++ b/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.in= f > @@ -102,6 +102,7 @@ > =20 > # Oniguruma: old style declaration in st.c > MSFT:*_*_*_CC_FLAGS =3D /wd4131 > + GCC:*_*_*_CC_FLAGS =3D -Wno-deprecated-non-prototype > =20 > # Oniguruma: 'type cast' : truncation from 'OnigUChar *' to 'unsigned= int' > MSFT:*_*_*_CC_FLAGS =3D /wd4305 /wd4306 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#109886): https://edk2.groups.io/g/devel/message/109886 Mute This Topic: https://groups.io/mt/101735690/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-