[libcxx] r249738 - Split <ctype.h> out of <cctype>.

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 16 17:47:32 PDT 2015


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

>
> On Oct 16, 2015, at 5:28 PM, Richard Smith <richard at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151016/9a0cd9f9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: module.modulemap
Type: application/octet-stream
Size: 18273 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151016/9a0cd9f9/attachment-0001.obj>


More information about the cfe-commits mailing list