libstdc++: Use of non-standard memalign instead of C11 aligned_alloc #675
Labels
area: GCC
Issues related to GCC (GNU Compiler Collection)
area: libstdc++
Issues related to libstdc++ (GNU C++ Library)
bug
priority: medium
Medium impact/importance issue
libstdc++ seems to internally make use of the GNU
memalign
function instead of the ISO Caligned_alloc
function.Looking at the libstdc++ internals, it should be using the
aligned_alloc
instead ofmemalign
whenaligned_alloc
is detected as available:Find out why
_GLIBCXX_HAVE_ALIGNED_ALLOC
is not being defined and make sure it is defined and the non-standardmemalign
function is not used by libstdc++.The text was updated successfully, but these errors were encountered: