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

Stephen Kelly steveire at gmail.com
Sun Oct 5 14:23:03 PDT 2014


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

This worked when I changed the content of map after moving to list the 

 '../test.h'

header instead of just 

 'test.h'

Thanks,

Steve.





More information about the cfe-dev mailing list