#1729 Support building/linking against clang/LLVM's libc++ 9+

Closed
opened 3 months ago by OlCe1 · 0 comments
OlCe1 commented 3 months ago

Including must never trigger inclusion of “mozalloc.h”, because the
first thing this one does is precisely to include .

It is now the case that, in libc++ 9 and beyond, includes <math.h>
which then tries to include <type_traits>, which the STL wrapper intercepts,
trying to load “mozalloc.h”. Same problem happens with .

Going to pull fix from: https://bugzilla.mozilla.org/show_bug.cgi?id=1594027.

Including <cstdlib> must never trigger inclusion of "mozalloc.h", because the first thing this one does is precisely to include <cstdlib>. It is now the case that, in libc++ 9 and beyond, <cstdlib> includes <math.h> which then tries to include <type_traits>, which the STL wrapper intercepts, trying to load "mozalloc.h". Same problem happens with <limits>. Going to pull fix from: https://bugzilla.mozilla.org/show_bug.cgi?id=1594027.
Moonchild closed this issue 3 months ago
Moonchild added the
OS: Other
label 3 months ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.