Comments (7)
Any updates on this one?
I would like to use
https://github.com/Sellegit/j2objc/tree/master/runtime
which itself uses
https://github.com/robovm/robovm-bro-gen
which uses this project .
I'm trying to execute a script from the top project
./gen_binding.sh
Invalid/unsupported clang version string.
My current environment:
/usr/bin/clang --version
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin15.3.0
Thread model: posix
Same output for
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang --version
from ffi-clang.
Can you please submit a PR and I will merge and release.
from ffi-clang.
Okay I've merged a PR to add support for this, and released 0.3.0 but the specs are still failing because the string doesn't match the spec expectation.. I guess that is an easy fix.
Do you think there is any way to get the version numbers rather than having to parse the string?
from ffi-clang.
Thank you for merging.
Regarding the version numbers I found this after some researching:
[(http://lists.llvm.org/pipermail/llvm-dev/2015-September/090560.html)]
At the moment I don't have any idea how to deal with that.
from ffi-clang.
I was actually thinking perhaps we should just remove the version check. It was more important when 3.2 and 3.3. and 3.4 all had different functionality which we had to be careful about. What do you think?
from ffi-clang.
Maybe yes. It's probably better to check the availability of features instead the version string.
But I have to admit my knowledge about the whole topic is ending at this point. I am no clang expert and I don't have any real idea about ruby and ffi.
from ffi-clang.
I think using the version to check for features is a bad idea ultimately. Especially we have a case where it doesn't work. I think I'll rip out all the version detection code and related decisions. we won't support any old versions of libclang (< 3.5). Who cares about those versions now anyway? It would be nice to do a 1.0 release too, with solid support for a specific minimum version.
from ffi-clang.
Related Issues (17)
- AST failure because wrong clang compiler is used in test HOT 2
- What do I have to require? HOT 1
- uninitialized constant FFI::Clang::Lib::TranslationUnitFlags HOT 3
- visit_children SIGABRT HOT 14
- sometimes exceptions don't raise from visit_children HOT 2
- visit_children with :recurse doesn't visit every child HOT 10
- Strange Error HOT 5
- I was having problems with llvm 10.0 on my linux desktop, I don't know if this addresses those issues.
- Better examples HOT 1
- Won't load as-is on cygwin; very hacky fix included
- Releases to rubygems.org? HOT 7
- [BUG] Using angle brackets in comments adds extra newlines `\n` characters
- move repository to some organization HOT 15
- C++ AST Introspection HOT 1
- Why does Lib.bitmask_from take a Hash? HOT 1
- libclang version HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffi-clang.