diff options
author | Nickle Wang <nicklew@nvidia.com> | 2023-04-21 14:48:30 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-04-28 08:55:56 +0000 |
commit | ecbcff0f4935395f66ecc9e9ac76b804ecdec2e8 (patch) | |
tree | 527277aaaee0187cc40af2f3e35eac225e3d5a00 /ArmVirtPkg/Include/Guid | |
parent | d226811a6644c1746c0c92dbba3f85b7b4b6b476 (diff) | |
download | edk2-ecbcff0f4935395f66ecc9e9ac76b804ecdec2e8.tar.gz edk2-ecbcff0f4935395f66ecc9e9ac76b804ecdec2e8.tar.bz2 edk2-ecbcff0f4935395f66ecc9e9ac76b804ecdec2e8.zip |
MdeModulePkg/RegularExpressionDxe: Fix Arm build error
Arm CI build error:
- ArmPkg/Library/CompilerIntrinsicsLib/memset.c:39:1: warning: type of
‘memset’ does not match original declaration [-Wlto-type-mismatch]
MdeModulePkg/Universal/RegularExpressionDxe/OnigurumaUefiPort.c:123:1:
note: type ‘char’ should match type ‘int’
- multiple definition of `memcpy'; OnigurumaUefiPort.obj (symbol from
plugin):(.text+0x0): first defined here
Fix:
- Update memset() implementation to match memset() definition in
ArmPkg/Library/CompilerIntrinsicsLib.
- memcpy() is supported by ArmPkg/Library/CompilerIntrinsicsLib. Exclude
it in OnigurumaUefiPort.c.
Signed-off-by: Nickle Wang <nicklew@nvidia.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Nick Ramirez <nramirez@nvidia.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Diffstat (limited to 'ArmVirtPkg/Include/Guid')
0 files changed, 0 insertions, 0 deletions