[
https://issues.apache.org/jira/browse/QPID-5499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13894529#comment-13894529
]
ASF subversion and git services commented on QPID-5499:
-------------------------------------------------------
Commit 1565651 from [~mcpierce] in branch 'qpid/trunk'
[ https://svn.apache.org/r1565651 ]
QPID-5499: Fix Ruby/Perl bindings when built with -Werror=format-security
Changed the swig descriptors so that they use a constant format string.
> Ruby/Perl 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: Perl Client, Ruby Client
> Affects Versions: 0.24
> Reporter: Darryl L. Pierce
> Assignee: Darryl L. Pierce
> Fix For: 0.27
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]