[cfe-dev] [llvm-testresults] Red bots at night, buildczar's delight?

Chandler Carruth chandlerc at google.com
Thu Nov 18 16:00:53 PST 2010


On Thu, Nov 18, 2010 at 3:23 PM, dalej <dalej at apple.com> wrote:

> Given that we're hacking around this header file bug in the compiler, don't
> we have to allow the reverse ordering anyway?
> #include <stddef.h>
> extern void* malloc(size_t);
> #include <stdlib.h>
>

I think so, but I worry about further hacks. =[ Seems likely we have no
choice.


> As for the freestanding issue, the gcc version has #if __STDC_HOSTED in
> mmintrin.h, around the (only) include for mm_malloc.h.  It seems to me we
> might as well do that; the mm_malloc functions call malloc and free, so they
> won't work in a freestanding environment.
>

Ok, I'll work on both angles of this: STDC_HOSTED guards for mm_malloc.h
includes, and allowing a merge in both directions.

Thanks for the note, and let me know if I can help fix any more fallout from
it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20101118/b9a5d210/attachment.html>


More information about the cfe-dev mailing list