[cfe-dev] How do I try out C++ modules with clang?

Stephen Kelly steveire at gmail.com
Wed Oct 8 15:21:41 PDT 2014


Stephen Kelly wrote:

> Stephen Kelly wrote:
> 
>> Stephen Kelly wrote:
>> 
>>> It did not work:
>>> 
>>> $ ls $PWD/foo/module.modulemap
>>> /home/stephen/dev/src/playground/modules/modulestry/foo/map
>>> $ clang++-3.6 -E -fmodules -fmodule-map-file=$PWD/foo/map test.cpp
> 
> I created a module-map-file for some of QtCore, and I noticed that if I
> specify -fmodule-map-file multiple times, only the last one has any
> effect.

I filed a bug for this and other bugs for some other issues.
 
 http://llvm.org/bugs/show_bug.cgi?id=21214

Thanks,

Steve.





More information about the cfe-dev mailing list