From fb43ea9278fa5e1edfbd9cfd12769bd533ae34bb Mon Sep 17 00:00:00 2001 From: valord577 Date: Thu, 16 Apr 2026 14:31:55 +0800 Subject: [PATCH] Fix build warning/error using llvm-mingw error logs refs: https://github.com/valord577/nativepkgs/actions/runs/24490614774/job/71574726128 Signed-off-by: valord577 --- include/mbedtls/debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mbedtls/debug.h b/include/mbedtls/debug.h index b8273bc757..8cd101cbf4 100644 --- a/include/mbedtls/debug.h +++ b/include/mbedtls/debug.h @@ -59,7 +59,7 @@ */ #if defined(__has_attribute) #if __has_attribute(format) -#if defined(__MINGW32__) +#if defined(__MINGW32__) && !defined(__clang__) #define MBEDTLS_PRINTF_ATTRIBUTE(string_index, first_to_check) \ __attribute__((__format__(gnu_printf, string_index, first_to_check))) #else /* defined(__MINGW32__) */