Giter Site home page Giter Site logo

Comments (7)

dholzenburg avatar dholzenburg commented on July 21, 2024

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.

ioquatix avatar ioquatix commented on July 21, 2024

Can you please submit a PR and I will merge and release.

from ffi-clang.

ioquatix avatar ioquatix commented on July 21, 2024

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.

dholzenburg avatar dholzenburg commented on July 21, 2024

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.

ioquatix avatar ioquatix commented on July 21, 2024

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.

dholzenburg avatar dholzenburg commented on July 21, 2024

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.

ioquatix avatar ioquatix commented on July 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.