Date: Sat, 26 May 2012 06:39:25 -0500 From: Richard Pennington <rich@...nware.com> To: musl@...ts.openwall.com Subject: Re: A little more progress today with clang/LLVM On Saturday, May 26, 2012 06:30:15 AM Richard Pennington wrote: > On Friday, May 25, 2012 07:09:38 PM Rich Felker wrote: > > On Fri, May 25, 2012 at 01:56:56PM -0500, Richard Pennington wrote: > > > I've done a little hacking on alltypes.h.sh which I'm in the process of > > > > > > testing. I have two goals: > > > 1. Make it work with clang's headers. > > > > Can you explain what the issue is? Are you talking about issues > > building clang itself, or building programs against musl using clang? > > In the latter case, musl does not use or support using > > compiler-provided headers. All of the standard headers are provided > > fully by musl. > > This is good to know. I'll stop using the compiler supplied headers. > [snip] Which reminds me why I went down the supplied header path in the first place. My tgmath.h test cases fail, for example (f is a float, d is a double): ../../../../../src/libs/math/001tgmath.c:15:7: error: assigning to 'float' from incompatible type 'typeof (*(0 ? (typeof (0 ? (double *)0 : (void *)!!((1 ? 1 : ((f))) / 2)))0 : (typeof (0 ? (typeof ((f)) *)0 : (void *)!!!((1 ? 1 : ((f))) / 2)))0))' (aka 'void') f = acos(f); ^ ~~~~~~~ ../../../../../src/libs/math/001tgmath.c:16:7: error: assigning to 'double' from incompatible type 'typeof (*(0 ? (typeof (0 ? (double *)0 : (void *)!!((1 ? 1 : ((d))) / 2)))0 : (typeof (0 ? (typeof ((d)) *)0 : (void *)!!!((1 ? 1 : ((d))) / 2)))0))' (aka 'void') d = acos(d); ^ ~~~~~~~ -Rich
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.