mirror of
https://git.proxmox.com/git/mirror_edk2
synced 2025-10-25 01:37:54 +00:00
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> |
||
|---|---|---|
| .. | ||
| oniguruma@abfc8ff81d | ||
| config.h | ||
| OnigurumaUefiPort.c | ||
| OnigurumaUefiPort.h | ||
| RegularExpressionDxe.c | ||
| RegularExpressionDxe.h | ||
| RegularExpressionDxe.inf | ||
| stdarg.h | ||
| stddef.h | ||
| stdio.h | ||
| stdlib.h | ||
| string.h | ||