在 2023-01-23 21:25, Biswapriyo Nath 写道:
From 549d9e2f2ac3349b474127b8165a689ec7134e39 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath<[email protected]> Date: Mon, 23 Jan 2023 18:52:01 +0530 Subject: [PATCH] crt: Fix builtin declaration mismatch warning with ssp functionsThis fixes the following warnings with gcc warning: mismatch in argument 2 type of built-in function '__memmove_chk'; expected 'const void *' [-Wbuiltin-declaration-mismatch] warning: mismatch in argument 2 type of built-in function '__memcpy_chk'; expected 'const void *' [-Wbuiltin-declaration-mismatch] warning: mismatch in argument 2 type of built-in function '__mempcpy_chk'; expected 'const void *' [-Wbuiltin-declaration-mismatch] Signed-off-by: Biswapriyo Nath<[email protected]> --- mingw-w64-crt/ssp/memcpy_chk.c | 4 ++-- mingw-w64-crt/ssp/memmove_chk.c | 4 ++-- mingw-w64-crt/ssp/mempcpy_chk.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-)
Thanks for catching this. Pushed now, too. -- Best regards, LIU Hao
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
