Skip to content

libstdc++-v3: Add aligned_alloc to list of funcs in newlib targets #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: zephyr-gcc-12.2.0
Choose a base branch
from

Conversation

keith-packard
Copy link
Collaborator

Newlib supports the aligned_alloc function (as well as memalign), define HAVE_ALIGNED_ALLOC so that libstdc++ will prefer the C standard function over the obsolete and non-standard memalign function.

Newlib supports the aligned_alloc function (as well as memalign),
define HAVE_ALIGNED_ALLOC so that libstdc++ will prefer the C standard
function over the obsolete and non-standard memalign function.

Signed-off-by: Keith Packard <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants