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 | 6279d04292000261edb77be40678bd3cf5489481 (patch) | |
| tree | 7e1f75f3fa549914a4151cefcc186c6dc105ecd2 /qpid/cpp/bindings/qmf2/ruby/ruby.i | |
| parent | ff10451274634cdd25765ba68cc4dd975a2b6015 (diff) | |
| download | qpid-python-6279d04292000261edb77be40678bd3cf5489481.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@1565651 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/bindings/qmf2/ruby/ruby.i')
| -rw-r--r-- | qpid/cpp/bindings/qmf2/ruby/ruby.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/bindings/qmf2/ruby/ruby.i b/qpid/cpp/bindings/qmf2/ruby/ruby.i index 0254017555..65d0770224 100644 --- a/qpid/cpp/bindings/qmf2/ruby/ruby.i +++ b/qpid/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()); } } |
