[libc-commits] [libc] [libc] Support %lc in printf (PR #169983)
Alexey Samsonov via libc-commits
libc-commits at lists.llvm.org
Sun Dec 21 11:00:45 PST 2025
================
@@ -9,8 +9,14 @@
#include "src/__support/macros/config.h"
#include "src/stdio/sprintf.h"
+#ifndef LIBC_COPT_PRINTF_DISABLE_WIDE
+#include "hdr/types/wchar_t.h"
+#include "hdr/wchar_macros.h"
+#endif // LIBC_COPT_PRINTF_DISABLE_WIDE
+
#include "src/__support/FPUtil/FPBits.h"
#include "src/__support/libc_errno.h"
+#include "test/UnitTest/ErrnoCheckingTest.h"
----------------
vonosmas wrote:
The ErrnoCheckingTest harness is never actually used below, did you intend to use it?
https://github.com/llvm/llvm-project/pull/169983
More information about the libc-commits
mailing list