-
Notifications
You must be signed in to change notification settings - Fork 15.4k
Open
Labels
clang:PCHPrecompiled headersPrecompiled headersclang:modulesC++20 modules and Clang Header ModulesC++20 modules and Clang Header Moduleslibc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
Description
I'm trying to build a project that uses C++20 modules and precompiled headers at the same time. When I use the LLVM libc++ library in such a scenario, I get a build error.
If I use GCC libstdc++ instead of LLVM libc++, the build goes correctly.
The build also passes correctly if I don't use precompiled headers (write #include inside source files).
Build log is attached as an attachment.
Also, here's a repo that cannot build with libc++.
Metadata
Metadata
Assignees
Labels
clang:PCHPrecompiled headersPrecompiled headersclang:modulesC++20 modules and Clang Header ModulesC++20 modules and Clang Header Moduleslibc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.