<div dir="ltr">Check out the recent thread "[cfe-dev] How do I try out C++ modules with clang?"<div><br></div><div><a href="http://thread.gmane.org/gmane.comp.compilers.clang.devel/39209/">http://thread.gmane.org/gmane.comp.compilers.clang.devel/39209/</a><br></div><div><br></div><div>In particular this post which contains a "minimal example" in the attachment: <a href="http://article.gmane.org/gmane.comp.compilers.clang.devel/39224">http://article.gmane.org/gmane.comp.compilers.clang.devel/39224</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 15, 2014 at 12:25 PM, Tinco Andringa <span dir="ltr"><<a href="mailto:mail@tinco.nl" target="_blank">mail@tinco.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I'm really interested in how modules work, and I've read the document here:</div><div><br></div><div><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3347.pdf" target="_blank">http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3347.pdf</a><br></div><div><br></div><div>And the talk by Doug Gregor.</div><div><br></div><div>I understand that a lot of this is already functional in Clang, but I can't get it to work. I've looked at the examples in test/Modules but I think they require objective-c or something.</div><div><br></div><div>Perhaps someone can give me pointers on getting it to work in either C or C++?</div><div><br></div><div>I have a small test setup here, any feedback would be welcome:</div><div><br></div><div><a href="https://github.com/d-snp/clang-module-example" target="_blank">https://github.com/d-snp/clang-module-example</a><br></div><div><br></div><div>Kind regards,</div><div>Tinco</div></div>
<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>
<br></blockquote></div><br></div>