[libcxx-commits] [libcxx] [libc++] Fix C++23 standard modules when using with `clang-cl` on Windows (PR #148992)

via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jul 19 23:24:39 PDT 2025


================
@@ -14,15 +14,17 @@ export {
 
   using ::timespec _LIBCPP_USING_IF_EXISTS;
   using ::tm _LIBCPP_USING_IF_EXISTS;
-
   using ::asctime _LIBCPP_USING_IF_EXISTS;
   using ::clock _LIBCPP_USING_IF_EXISTS;
+  using ::strftime _LIBCPP_USING_IF_EXISTS;
+
+#ifndef _LIBCPP_ABI_VCRUNTIME
----------------
siradam7th wrote:

> I guess we can try this:
> 
> `or ("_WIN32" in compilerMacros(cfg) and "__MINGW32__" in compilerMacros(cfg) and not _mingwSupportsModules(cfg)) `

This change did not work, no test files were generated for modules. 

https://github.com/llvm/llvm-project/pull/148992


More information about the libcxx-commits mailing list