You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Darryl L. Pierce (JIRA)" <ji...@apache.org> on 2014/01/21 19:51:20 UTC

[jira] [Created] (QPID-5499) Ruby bindings fail to compile with -Werror=format-security

Darryl L. Pierce created QPID-5499:
--------------------------------------

             Summary: Ruby bindings fail to compile with -Werror=format-security
                 Key: QPID-5499
                 URL: https://issues.apache.org/jira/browse/QPID-5499
             Project: Qpid
          Issue Type: Bug
          Components: Ruby Client
    Affects Versions: 0.24
            Reporter: Darryl L. Pierce
            Assignee: Darryl L. Pierce


With Fedora 21 the option -Werror=format-security has been enabled. As a result, the code generated by Swig for the Ruby bindings fail to compile. The culprit code is in ruby.i:

rb_raise(merror, mex.what());

Which is using a method from the printf family but is not using a static format string.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org