> On Oct 16, 2015, at 5:47 PM, Richard Smith <rich...@metafoo.co.uk> wrote:
> 
> Great, looks like progress. Next you need a correct module map for libc++ 
> that actually covers all of its headers :) Try the attached one. 
> 
Sorry for the delay.
With the updated module map I get

/Volumes/Data/llvm/_build.ninja.release/bin/../include/c++/v1/module.modulemap:64:14:
 error: 
      header 'locale.h' not found
      header "locale.h"
             ^
/Volumes/Data/llvm/_build.ninja.release/bin/../include/c++/v1/cassert:20:10: 
note: 
      submodule of top-level module 'std' implicitly imported here
#include <__config>
         ^
and after commenting out the locale module I get the rather puzzling (shouldn’t 
this have been avoided by the clang changes?):

While building module 'std' imported from 
/Volumes/Data/llvm/_build.ninja.release/bin/../include/c++/v1/cassert:20:
In file included from <module-includes>:2:
In file included from 
/Volumes/Data/llvm/_build.ninja.release/bin/../include/c++/v1/complex.h:29:
In file included from 
/Volumes/Data/llvm/_build.ninja.release/bin/../include/c++/v1/ccomplex:21:
In file included from 
/Volumes/Data/llvm/_build.ninja.release/bin/../include/c++/v1/complex:244:
/Volumes/Data/llvm/_build.ninja.release/bin/../include/c++/v1/type_traits:219:1:
 error: 
      templates must have C++ linkage
template <class>
^~~~~~~~~~~~~~~~
/Volumes/Data/llvm/_build.ninja.release/bin/../include/c++/v1/type_traits:222:1:
 error: 
      templates must have C++ linkage
template <class _Tp>
^~~~~~~~~~~~~~~~~~~~
/Volumes/Data/llvm/_build.ninja.release/bin/../include/c++/v1/type_traits:225:1:
 error: 
      templates must have C++ linkage
template <class _Tp, bool>
^~~~~~~~~~~~~~~~~~~~~~~~~~

—adrian
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to