Qpid
  1. Qpid
  2. QPID-4466

Cannot multiply durations in perl bindings

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.18
    • Fix Version/s: 0.21
    • Component/s: None
    • 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.

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development