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 75E06D80D0C for ; Wed, 28 Feb 2024 00:29:53 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=GMea9jnuq7VMo4hOfImrIr9T+LPXviMVQM3WkuYhVgE=; c=relaxed/simple; d=groups.io; h=Feedback-ID:Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc:References:From:In-Reply-To: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=1709080192; v=1; b=giHR00XM+HWiMoK+uO86xJSHj4GZaorTqyiDM/7z9QPm/Wtzck1x5q0yC0UNFHsGGJxLzEg/ 9KkLjdhmrh87jiPElGFszbhMJJL/90LqgvsYCx7pfdvwN6P4UQ3yGzQMxgAbRX2exfSK5vqt1dx OOJZ/ipPIvJSlSOGfUVh0Hho= X-Received: by 127.0.0.2 with SMTP id uR4pYY7687511x5o2qqocA5C; Tue, 27 Feb 2024 16:29:52 -0800 X-Received: from wfhigh8-smtp.messagingengine.com (wfhigh8-smtp.messagingengine.com [64.147.123.159]) by mx.groups.io with SMTP id smtpd.web11.2071.1709080191314666522 for ; Tue, 27 Feb 2024 16:29:51 -0800 X-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfhigh.west.internal (Postfix) with ESMTP id CA94D18000A6; Tue, 27 Feb 2024 19:29:49 -0500 (EST) X-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 27 Feb 2024 19:29:50 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrgeeigddvvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomheptfgvsggv tggtrgcuvehrrghnuceorhgvsggvtggtrgessghsughiohdrtghomheqnecuggftrfgrth htvghrnheptddtleefheduueehhfekieejgfeitdetteffgefgiefgtdetleelffffledt vddvnecuffhomhgrihhnpehtihgrnhhotghorhgvrdhorhhgnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhgvsggvtggtrgessghsughiohdr tghomh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 27 Feb 2024 19:29:46 -0500 (EST) Message-ID: <46e65068-9004-47ff-a452-a9be271ee484@bsdio.com> Date: Tue, 27 Feb 2024 17:29:39 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] [edk2 Patch 1/1] BaseTools: Syntax warning invalid escape sequence \C To: Jayaprakash N , devel@edk2.groups.io Cc: Michael D Kinney , Laszlo Ersek , Liming Gao , Bob Feng , Yuwei Chen References: <20240206070234.31-1-n.jayaprakash@intel.com> <20240206070234.31-2-n.jayaprakash@intel.com> From: "Rebecca Cran" In-Reply-To: <20240206070234.31-2-n.jayaprakash@intel.com> 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,rebecca@bsdio.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: BE8XpbYJS5lLq65VXE7bcA2Wx7686176AA= 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=giHR00XM; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=none Merged as 3e91e421365027ee3e655feab33c67a4f544c777. --=20 Rebecca Cran On 2/6/24 00:02, Jayaprakash N wrote: > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4666 > > This commit fixes the issue reported through BZ4666. > The Syntax warning related to invalid escape sequence > for \C is seen on Windows OS based builds of edk2 sources. > On Windows the path seperator needs to prefixed with \ > so essentially we need to use \\ as path seperator. > > Cc: Rebecca Cran > Cc: Michael D Kinney > Cc: Laszlo Ersek > Cc: Liming Gao > Cc: Bob Feng > Cc: Yuwei Chen > Cc: Jayaprakash N > Signed-off-by: Jayaprakash N > --- > BaseTools/Source/Python/Workspace/DscBuildData.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/BaseTools/Source/Python/Workspace/DscBuildData.py b/BaseTool= s/Source/Python/Workspace/DscBuildData.py > index 4768099343..b69d406249 100644 > --- a/BaseTools/Source/Python/Workspace/DscBuildData.py > +++ b/BaseTools/Source/Python/Workspace/DscBuildData.py > @@ -2949,7 +2949,7 @@ class DscBuildData(PlatformBuildClassObject): > for include_file in IncFileList: > MakeApp +=3D "$(OBJECTS) : %s\n" % include_file > if sys.platform =3D=3D "win32": > - PcdValueCommonPath =3D os.path.normpath(mws.join(GlobalData.= gGlobalDefines["EDK_TOOLS_PATH"], "Source\C\Common\PcdValueCommon.c")) > + PcdValueCommonPath =3D os.path.normpath(mws.join(GlobalData.= gGlobalDefines["EDK_TOOLS_PATH"], "Source\\C\\Common\\PcdValueCommon.c")) > MakeApp =3D MakeApp + '%s\\PcdValueCommon.c : %s\n' % (self= .OutputPath, PcdValueCommonPath) > MakeApp =3D MakeApp + '\tcopy /y %s $@\n' % (PcdValueCommon= Path) > else: -=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 (#116066): https://edk2.groups.io/g/devel/message/116066 Mute This Topic: https://groups.io/mt/104193926/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-