Gilles Peskine 64ff7fc1dc Stop using MBEDTLS_PRINTF_SIZET
Since Mbed TLS 3.6.0, all officially supported versions of Visual Studio
a printf function family that is sufficiently compliant to C99 for our
purposes, in particular supporting `%zu` for `size_t`. The only platform
without `%zu` that we semi-officially support is older versions of MinGW,
still used in our CI. MinGW provides either a Windows legacy printf or a
standards-compliant printf depending on the value of
`__USE_MINGW_ANSI_STDIO` when compiling each C file. Force the use of the
compliant version. Don't rely on `MBEDTLS_PRINTF_SIZET`, which is defined in
`<mbedtls/debug.h>` and no longer considers the Windows legacy version in
Mbed TLS >= 4.1.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2026-02-26 19:56:23 +00:00
..
cmake_package Remove Deprecated Items From Sample Programs 2026-01-14 13:01:22 +00:00
cmake_package_install Remove Deprecated Items From Sample Programs 2026-01-14 13:01:22 +00:00
cmake_subproject Remove Deprecated Items From Sample Programs 2026-01-14 13:01:22 +00:00
CMakeLists.txt Allow metatest.c to use crypto internal headers 2025-09-06 18:39:39 +02:00
dlopen.c Remove Deprecated Items From Sample Programs 2026-01-14 13:01:22 +00:00
generate_cpp_dummy_build.sh programs: test: add C++ specific commands to cpp_dummy_build 2025-04-29 11:01:46 +02:00
selftest.c Stop using MBEDTLS_PRINTF_SIZET 2026-02-26 19:56:23 +00:00
udp_proxy_wrapper.sh update headers 2023-11-02 19:47:20 +00:00
udp_proxy.c Fix a build error with MSVC 2026-02-19 16:53:52 +01:00