FFI: "too many arguments for format string" warning when using Callbacks
------------------------------------------------------------------------
Key: JRUBY-3549
URL: http://jira.codehaus.org/browse/JRUBY-3549
Project: JRuby
Issue Type: Bug
Components: Extensions
Reporter: Mike Dalessio
Priority: Trivial
Attachments: foo.rb
When $VERBOSE is true, using FFI callbacks results in warning messages, which
tend to swamp the output when running tests.
Sample code is attached. I've managed to track it down to where the Hash object
tries to find a hash code for the CallbackInfo object.
Typical message is:
jruby/lib/ruby/1.8/ffi/types.rb:15 warning: too many arguments for format string
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email