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

Fails for LLVM 4+ #42

Open
thoughtafter opened this issue Nov 25, 2017 · 0 comments
Open

Fails for LLVM 4+ #42

thoughtafter opened this issue Nov 25, 2017 · 0 comments

Comments

@thoughtafter
Copy link

This project is probably dead but I believe it is still worth reporting that that it fails for LLVM 3.9, 4.0, and 5.0. LLVM-3.8 works. It fails with the following stack trace when processing Core.h:

SyntaxError: (eval):1: syntax error, unexpected tCONSTANT, expecting end-of-input
/var/lib/gems/2.3.0/gems/ffi_gen-1.2.0/lib/ffi_gen.rb:401:in `eval'
/var/lib/gems/2.3.0/gems/ffi_gen-1.2.0/lib/ffi_gen.rb:401:in `block in read_declaration'
/var/lib/gems/2.3.0/gems/ffi_gen-1.2.0/lib/ffi_gen.rb:372:in `each'
/var/lib/gems/2.3.0/gems/ffi_gen-1.2.0/lib/ffi_gen.rb:372:in `read_declaration'
/var/lib/gems/2.3.0/gems/ffi_gen-1.2.0/lib/ffi_gen.rb:346:in `block in declarations'
/var/lib/gems/2.3.0/gems/ffi_gen-1.2.0/lib/ffi_gen.rb:338:in `each'
/var/lib/gems/2.3.0/gems/ffi_gen-1.2.0/lib/ffi_gen.rb:338:in `each_with_index'
/var/lib/gems/2.3.0/gems/ffi_gen-1.2.0/lib/ffi_gen.rb:338:in `declarations'
/var/lib/gems/2.3.0/gems/ffi_gen-1.2.0/lib/ffi_gen/ruby_output.rb:10:in `block in generate_rb'
/var/lib/gems/2.3.0/gems/ffi_gen-1.2.0/lib/ffi_gen.rb:150:in `indent'
/var/lib/gems/2.3.0/gems/ffi_gen-1.2.0/lib/ffi_gen/ruby_output.rb:5:in `generate_rb'
/var/lib/gems/2.3.0/gems/ffi_gen-1.2.0/lib/ffi_gen.rb:280:in `generate'
/var/lib/gems/2.3.0/gems/ffi_gen-1.2.0/lib/ffi_gen.rb:745:in `generate'
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