<div dir="ltr"><a href="http://clang.llvm.org/docs/Modules.html">http://clang.llvm.org/docs/Modules.html</a> should have all the answers, and if it doesn't please complain so that we can fix it :)<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 3, 2014 at 9:23 PM, Stephen Kelly <span dir="ltr"><<a href="mailto:steveire@gmail.com" target="_blank">steveire@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hello,<br>
<br>
SVN revision 218614 documented that C++ modules works in clang.<br>
<br>
Using the llvm apt repo on Ubuntu 14.04, I get this result:<br>
<br>
$ clang++-3.6 --version<br>
Ubuntu clang version 3.6.0-svn218873-1~exp1 (trunk) (based on LLVM 3.6.0)<br>
Target: x86_64-pc-linux-gnu<br>
Thread model: posix<br>
<br>
$ cat modules.cpp<br>
<br>
@import std;<br>
<br>
$ clang++-3.6 -std=c++1z -fmodules modules.cpp<br>
modules.cpp:2:1: error: expected unqualified-id<br>
@import std;<br>
^<br>
1 error generated.<br>
<br>
<br>
<br>
How do I try out clang modules support?<br>
<br>
Thanks,<br>
<br>
Steve.<br>
<br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div>