On Fri, Oct 16, 2015 at 5:30 PM, Adrian Prantl via cfe-commits <
cfe-commits@lists.llvm.org> wrote:

>
> On Oct 16, 2015, at 5:28 PM, Richard Smith <rich...@metafoo.co.uk> wrote:
>
> <stddef-module-usable.diff>
>
>
> Getting there :-)
>
> In file included from <module-includes>:86:
> In file included from
> /Volumes/Data/llvm/_build.ninja.release/bin/../lib/clang/3.8.0/include/tgmath.h:29:
> */Volumes/Data/llvm/_build.ninja.release/bin/../include/c++/v1/math.h:309:10:
> **fatal error: *
> *      'type_traits' file not found*
> #include <type_traits>
> *         ^*
> In file included from test.cpp:2:
> In file included from
> /Volumes/Data/llvm/_build.ninja.release/bin/../include/c++/v1/cassert:21:
> */Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/assert.h:42:10:
> **fatal error: *
> *      could not build module 'Darwin'*
> #include <sys/cdefs.h>
> * ~~~~~~~~^*
> 2 errors generated.
>

Great, looks like progress. Next you need a correct module map for libc++
that actually covers all of its headers :) Try the attached one.

Attachment: module.modulemap
Description: Binary data

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

Reply via email to