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

Stephen Kelly steveire at gmail.com
Sun Oct 5 14:48:21 PDT 2014


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.

Thanks,

Steve.





More information about the cfe-dev mailing list