[libcxx-commits] [PATCH] D91379: [libc++] Factor out common logic for calling aligned allocation

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Dec 2 14:37:42 PST 2020


mstorsjo added a comment.

In D91379#2429304 <https://reviews.llvm.org/D91379#2429304>, @ldionne wrote:

> Actually, is there any chance that mingw could implement `aligned_alloc` from C11? This would increase their level of conformance, and solve this issue at the same time by providing a canonical, standardized name to do aligned allocation.

Hmm, maybe... But it's hard for a public header to use it unless we drop support for older versions of the mingw headers. Which might of course be pretty doable (as it doesn't require any newer version of windows, just a newer toolchain).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D91379/new/

https://reviews.llvm.org/D91379



More information about the libcxx-commits mailing list