#3666 closed enhancement (fixed)

Add support for C++17 std::aligned_alloc

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 5.1
Component: lib Version: 5
Severity: normal Keywords:
Cc: Blocked By:


In C++17 there is a std::aligned_alloc():


Unfortunately, it doesn't work with RTEMS currently:


Provide aligned_alloc() and memalign() (as a strong alias to aligned_alloo()) by RTEMS.

Change History (2)

comment:1 Changed on Dec 21, 2018 at 6:56:55 AM by Sebastian Huber <sebastian.huber@…>

Resolution: fixed
Status: assignedclosed

In 2158621/rtems:

Add aligned_alloc() and memalign()

Ensure that the C++17 aligned new operator works.

Close #3666.

comment:2 Changed on Jan 10, 2019 at 10:35:55 AM by Sebastian Huber <sebastian.huber@…>

In 8eaf136d/rtems:

memalign: Add missing attributes to fix warning

Update #3666.

Note: See TracTickets for help on using tickets.