Hi
May I know if you have run EDKII CI for this patch? 

> -----Original Message-----
> From: Tan, Dun <[email protected]>
> Sent: Wednesday, April 20, 2022 11:35 AM
> To: [email protected]
> Cc: Yao, Jiewen <[email protected]>; Wang, Jian J <[email protected]>;
> Lu, Xiaoyu1 <[email protected]>; Jiang, Guomin <[email protected]>
> Subject: [PATCH] CryptoPkg: Fix the build failure in CryptoPkg
> 
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3908
> 
> Fix the build failure in CryptoPkg caused by this commit:
> fab6285a73("CryptoPkg/CrtLibSupport: fix strcpy")
> Remove the 'restrict' keyword which starts in VS2019.
> 
> Signed-off-by: Dun Tan <[email protected]>
> Cc: Jiewen Yao <[email protected]>
> Cc: Jian J Wang <[email protected]>
> Cc: Xiaoyu Lu <[email protected]>
> Cc: Guomin Jiang <[email protected]>
> ---
>  CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c | 2 +-
>  CryptoPkg/Library/Include/CrtLibSupport.h           | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c
> b/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c
> index 6fcbe5885e..68e21e8fb6 100644
> --- a/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c
> +++ b/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c
> @@ -267,7 +267,7 @@ strcspn (
> 
>  char *
>  strcpy (
> -  char *restrict  strDest,
> +  char            *strDest,
>    const char      *strSource
>    )
>  {
> diff --git a/CryptoPkg/Library/Include/CrtLibSupport.h
> b/CryptoPkg/Library/Include/CrtLibSupport.h
> index bdc2654b6e..bce38eaa1a 100644
> --- a/CryptoPkg/Library/Include/CrtLibSupport.h
> +++ b/CryptoPkg/Library/Include/CrtLibSupport.h
> @@ -397,7 +397,7 @@ inet_pton   (
> 
>  char *
>  strcpy (
> -  char *restrict  strDest,
> +  char            *strDest,
>    const char      *strSource
>    );
> 
> --
> 2.31.1.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#89106): https://edk2.groups.io/g/devel/message/89106
Mute This Topic: https://groups.io/mt/90577777/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to