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

Cannot multiply durations in perl bindings

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.18
    • Fix Version/s: 0.21
    • Component/s: Perl Client
    • Labels:
      None
    • Environment:

      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

          Activity

            People

            • Assignee:
              mcpierce Darryl L. Pierce
              Reporter:
              jimmyjones2 Jimmy Jones
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: