[llvm-dev] Can't include standard headers in C++ Modules (clang++ v12)

David Blaikie via llvm-dev llvm-dev at lists.llvm.org
Mon Dec 28 18:17:01 PST 2020


+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>


More information about the llvm-dev mailing list