Skip to content
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

aligned_alloc uses posix_memalign on MinGW #10

Closed
Lastique opened this issue Feb 25, 2020 · 2 comments
Closed

aligned_alloc uses posix_memalign on MinGW #10

Lastique opened this issue Feb 25, 2020 · 2 comments

Comments

@Lastique
Copy link
Member

Legacy MinGW targets native Windows and does not provide posix_memalign.

Discovered by Boost.Atomic test failures.

@glenfe
Copy link
Member

glenfe commented Feb 25, 2020

Thanks, I'll take care of this.

Lastique added a commit to boostorg/atomic that referenced this issue Feb 27, 2020
This works around MinGW compilation issues[1] and removes the otherwise
unnecessary dependency. Aligned storage is allocated manually on the stack.

[1]: boostorg/align#10
@glenfe
Copy link
Member

glenfe commented Feb 29, 2020

Should be resolved in b8e81e1.

@glenfe glenfe closed this as completed Feb 29, 2020
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

No branches or pull requests

2 participants