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

Missing header inclusion for usage of alloca via clang packaged in Visual Studio 2022 #946

Open
msprotz opened this issue May 1, 2024 · 0 comments

Comments

@msprotz
Copy link
Contributor

msprotz commented May 1, 2024

FYI, on the exact combination of: Visual Studio 2022, clang for Windows packaged with Visual Studio, x64, bringing alloca into scope requires including malloc.h (although the error message from clang is incorrect and claims we need to include stdlib.h, not true!).

We already do this for MSVC, so probably need to put an ifdef there too=.

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

1 participant