Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-5499

Ruby/Perl bindings fail to compile with -Werror=format-security

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.24
    • Fix Version/s: 0.27
    • Component/s: Perl Client, Ruby Client
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mcpierce Darryl Pierce
                Reporter:
                mcpierce Darryl Pierce
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: