diff options
| author | Darryl L. Pierce <mcpierce@apache.org> | 2014-02-07 13:44:03 +0000 |
|---|---|---|
| committer | Darryl L. Pierce <mcpierce@apache.org> | 2014-02-07 13:44:03 +0000 |
| commit | b969abd4bdb574e245fd050ff7a3889674e39a56 (patch) | |
| tree | d9f707c1fc8dcfa2f67e882d7a8f99d63379d132 /cpp/bindings/qmf2 | |
| parent | 04bec3152a1760aff3882a946978c57472399f93 (diff) | |
| download | qpid-python-b969abd4bdb574e245fd050ff7a3889674e39a56.tar.gz | |
QPID-5499: Fix Ruby/Perl bindings when built with -Werror=format-security
Changed the swig descriptors so that they use a constant format string.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1565651 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings/qmf2')
| -rw-r--r-- | cpp/bindings/qmf2/ruby/ruby.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/bindings/qmf2/ruby/ruby.i b/cpp/bindings/qmf2/ruby/ruby.i index 0254017555..65d0770224 100644 --- a/cpp/bindings/qmf2/ruby/ruby.i +++ b/cpp/bindings/qmf2/ruby/ruby.i @@ -30,7 +30,7 @@ } catch (qpid::types::Exception& mex) { static VALUE qmferror = rb_define_class("QmfError", rb_eStandardError); - rb_raise(qmferror, mex.what()); + rb_raise(qmferror, "%s", mex.what()); } } |
