-
-
Notifications
You must be signed in to change notification settings - Fork 925
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
Unable to resolve type uint32_t with FFI #3981
Comments
Oops. I believe @Lan5432 had been working on unifying the C ext FFI and JRuby's FFI but perhaps we never got to this point... |
FWIW we derive almost no functionality from the FFI gem. Most of JRuby's FFI support is built-in (because we need it at boot). |
This is odd...the configuration files for FFI types appear to be inconsistent. Some define
Given that uint32_t is a standard C type, I think it should be defined on all platforms. |
Ahh I see...our config differs in JRuby proper. I'll copy over the FFI ones and see what's different. |
Update platform config files from FFI gem. See #3981
Optimistically calling this one fixed. @djberg96 Care to add an FFI spec to spec/ffi for the use that failed for you? |
It seems there's no uint32_t or uint64_t for JRuby/FFI on OS X:
Environment
jruby 9.1.2.0 (2.3.0) 2016-05-26 7357c8f Java HotSpot(TM) 64-Bit Server VM 25.45-b02 on 1.8.0_45-b14 +jit [darwin-x86_64]
Darwin Daniels-MacBook-Pro.local 15.5.0 Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64
ffi (1.9.10 java)
When running against some dev sys-proctable code I get this warning and error:
The text was updated successfully, but these errors were encountered: