-
Notifications
You must be signed in to change notification settings - Fork 5
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
alloca.h is not standard #5
Comments
I'm aware it's nonstandard, but what compiler + version is this? |
Im using MSVC 2015 |
Ah, this must be due to the change I just pushed. Seems MSVC and GCC/Clang provide it in different headers. I'll add a guard to check compiler version there. At the moment alloca is used several places where I don't have good alternatives that fit within my API constraints, so it's necessary to keep around. |
in MSVC it is already included in malloc.h _alloca you can wrap the include with ifndef _MSC_VER |
This is done and committed. Thanks for the feedback! |
../code/twitter.c(5): fatal error C1083: Cannot open include file: 'alloca.h': No such file or directory
The text was updated successfully, but these errors were encountered: