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
[ffigen] Clang/Xcode visionOS issues #1075
Comments
No, I haven't seen it before. Probably because I haven't updated xcode since visionos was released. Guess: could be a mismatch between your header version and your clang version? |
I just ran into this. I think the issue is that we're using clang installed from brew, which lags behind the version we get in xcode. Then when we parse headers that come from xcode, they contain this attribute that doesn't exist in the brew version yet. I fixed it by just doing liama-macbookpro:ffigen liama$ which clang
/usr/local/opt/llvm/bin/clang
liama-macbookpro:ffigen liama$ brew uninstall llvm
Uninstalling /usr/local/Cellar/llvm/16.0.6... (6,764 files, 1.6GB)
liama-macbookpro:ffigen liama$ which clang
/usr/bin/clang I think the clang in So I think we just need to remove that |
Thanks @liamappelbe! Works for me!
Okay, my machine is probably in the same state as yours. |
The origin:
https://www.mail-archive.com/cfe-commits@lists.llvm.org/msg414442.html
I'm not entirely sure why we are seeing this though.
@liamappelbe have you seen this before?
The text was updated successfully, but these errors were encountered: