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

alloc_size attribute removed from clang #38

Closed
kikofernandez opened this issue Oct 7, 2014 · 5 comments
Closed

alloc_size attribute removed from clang #38

kikofernandez opened this issue Oct 7, 2014 · 5 comments
Assignees

Comments

@kikofernandez
Copy link
Contributor

After installing the dependencies (doxygen, clang, ghc and premake4), running make throws an error.

The reason is that clang-600.0.51 (based on LLVM 3.5) does not support alloc_size anymore.
More info:
http://reviews.llvm.org/rL197866
neovim/neovim#429

Should we fix this issue and allow developers to go with the latest clang version? Otherwise, they are restricted to clang-503.0.40

@TobiasWrigstad
Copy link
Contributor

I recently saw this as well. I have locally commented out
these attributes, but I don't know whether it makes sense
to solve it in any other way (like go with an earlier
clang).

Does anyone have a strong suggestion?

@EliasC
Copy link
Contributor

EliasC commented Oct 7, 2014

Could we ask Sylwan if he considers it important? Reading @kikofernandez links seems to suggest that it does not do anything anyway.

@EliasC
Copy link
Contributor

EliasC commented Oct 7, 2014

...ah, but of course it might actually have an effect if you use gcc.

@TobiasWrigstad
Copy link
Contributor

@kikofernandez Can you fix up a macro solution for this so that clang compilers don't get to see any warnings, but that gcc compilers do get to use the feature and close this issue?

@kikofernandez
Copy link
Contributor Author

no problem

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

3 participants