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

Cannot multiply durations in perl bindings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.18
    • 0.21
    • Perl Client
    • None
    • RHEL6

    Description

      eg.

      my $message = $receiver->fetch($cqpid_perl::Duration::SECOND*2);

      results in the error

      No matching function for overloaded 'Receiver_fetch' at ./hello_world3.pl line 45.

      This might be because the operator* is not a member function, so SWIG has not wrapped it correctly.

      Attachments

        1. perl-duration-multiply.patch
          0.4 kB
          Jimmy Jones

        Activity

          People

            mcpierce Darryl Pierce
            jimmyjones2 Jimmy Jones
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: