Skip to content


Subversion checkout URL

You can clone with
Download ZIP


compiling on freebsd results in error #2137

Gibheer opened this Issue · 0 comments

2 participants


When compiling rubinius with a recent llvm version on freebsd, I get the following error

vm/state.hpp:13:12: error: private field 'vm_jit_' is not used [-Werror,-Wunused-private-field]

I could not figure out, how to solve that, as removing that line breaks stuff further down the road.

It happens on freebsd 9.0 and 9.1 with llvm 3.2 installed.

@dbussink dbussink closed this issue from a commit
@dbussink dbussink Explicitly use vm_jit inside state
This pointer was setup because the JIT needs access to it, but recent
clang versions saw it wasn't used in any of the C++ parts. This change
makes sure that we explicitly use it in at least one place so clang
doesn't complain.

Fixes #2137
@dbussink dbussink closed this in cff54af
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.