J Smith via llvm-dev
2020-Dec-05 03:47 UTC
[llvm-dev] Can't include standard headers in C++ Modules (clang++ v12)
Hi All, I'm trying to include standard headers like <iostream> in a C++ module. The C++ Clang v12 compiler can't see these headers, but they are found in the old style translation units. Can someone explain how to include the standard headers in C++20 module translation units. Thanks in advance. --James -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201204/87174848/attachment.html>
David Blaikie via llvm-dev
2020-Dec-29 02:17 UTC
[llvm-dev] Can't include standard headers in C++ Modules (clang++ v12)
+Richard Smith who might have ideas I'm not sure exactly why they wouldn't be findable (perhaps it's obvious to Richard from your description). More specific details might help - clang -cc1 command lines, small/isolated files needed to reproduce, etc. On Fri, Dec 4, 2020 at 7:48 PM J Smith via llvm-dev <llvm-dev at lists.llvm.org> wrote:> Hi All, > > I'm trying to include standard headers like <iostream> in a C++ module. > The C++ Clang v12 compiler can't see these headers, but they are found in > the old style translation units. Can someone explain how to include the > standard headers in C++20 module translation units. > > Thanks in advance. > > > --James > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201228/7613420a/attachment.html>