#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: qualification
Cc: Blocked By:
Blocking:

Description

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

https://en.cppreference.com/w/cpp/memory/c/aligned_alloc

Unfortunately, it doesn't work with RTEMS currently:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85904

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

Change History (3)

comment:1 Changed on 12/21/18 at 06:56:55 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 01/10/19 at 10:35:55 by Sebastian Huber <sebastian.huber@…>

In 8eaf136d/rtems:

memalign: Add missing attributes to fix warning

Update #3666.

comment:3 Changed on 06/23/21 at 07:16:03 by Sebastian Huber

Keywords: qualification added
Note: See TracTickets for help on using tickets.