[PATCH] D32411: [libcxx] Provide #include_next alternative for MSVC

Ben Craig via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 4 19:18:57 PDT 2017


bcraig added a comment.

I'm still working on this.

Things I've learned: A clang install is bundled with re-implementations of several of these headers.  The default #include_next behavior ends up pulling in lots of those.

I have been able to get things working with a VC include path and a UCRT include path, but the default include paths set by the compiler driver cause the clang versions of stdarg.h and vadefs.h to get pulled in.  The combination of clang include path and ucrt include path also works.

I did end up running into the same errno problems that were mentioned earlier, and ended up coming to the same workaround.


https://reviews.llvm.org/D32411





More information about the cfe-commits mailing list