-
Notifications
You must be signed in to change notification settings - Fork 664
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
Use Windows' _aligned_malloc
paired with _aligned_free
for MinGW
#310
Comments
On MinGW you should configure with the flag |
But I guess we could try to automatically use |
Looking at an answer on StackOverflow, it seems like MinGW has provided |
Or we could check for |
Currently cross-compiling with MinGW (in my case from Linux to Windows) generates an error due to line 131 in
kernel/kalloc.c
. I am no expert in MinGW, but I suppose one would actually utilize the same case as for MSVC at line 106.This works for my setup at least. Perhaps there are cases where this won't work?
The text was updated successfully, but these errors were encountered: