Projects
Eulaceura:Factory
linux-sgx
_service:obs_scm:0006-fix-build-error.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0006-fix-build-error.patch of Package linux-sgx
From 101b2e8f1db12fc04070daea351247fc7c990683 Mon Sep 17 00:00:00 2001 From: zhoushuiqing <zhoushuiqing2@huawei.com> Date: Fri, 21 Jul 2023 20:40:27 +0800 Subject: [PATCH] fix-build-error Signed-off-by: zhoushuiqing <zhoushuiqing2@huawei.com> --- external/ippcp_internal/ipp-crypto/sources/ippcp/pcptool.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/external/ippcp_internal/ipp-crypto/sources/ippcp/pcptool.h b/external/ippcp_internal/ipp-crypto/sources/ippcp/pcptool.h index 01f15907..44ab7bac 100644 --- a/external/ippcp_internal/ipp-crypto/sources/ippcp/pcptool.h +++ b/external/ippcp_internal/ipp-crypto/sources/ippcp/pcptool.h @@ -38,7 +38,10 @@ __INLINE void CopyBlock(const void* pSrc, void* pDst, cpSize numBytes) Ipp8u* d = (Ipp8u*)pDst; cpSize k; for(k=0; k<numBytes; k++ ) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstringop-overflow" d[k] = s[k]; +#pragma GCC diagnostic pop } __INLINE void CopyBlock_safe(const void* pSrc, cpSize srcNumBytes, void* pDst, cpSize dstNumBytes) @@ -106,7 +109,10 @@ __INLINE void PadBlock(Ipp8u paddingByte, void* pDst, cpSize numBytes) Ipp8u* d = (Ipp8u*)pDst; cpSize k; for(k=0; k<numBytes; k++ ) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstringop-overflow" d[k] = paddingByte; +#pragma GCC diagnostic pop } #if !((_IPP>=_IPP_W7) || (_IPP32E>=_IPP32E_M7)) -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2