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

parsing errors for integer literals in selectors

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: qpid-cpp-0.34
    • Fix Version/s: qpid-cpp-1.35.0
    • Component/s: C++ Client
    • Labels:
      None

      Description

      There are a few integer literals that cause selector parsing to fail or the resulting evaluation to be incorrect:

      (a) hexadecimal literals don't seem to be recognised, e.g. 0xFF will result in a parse error
      (b) octal literals are evaluated as decimal e.g 077 is interpreted as decimal 77 rather than decimal 63
      (c) large numbers fail with a lexical cast error, e.g -9223372036854775808L or 9223372036854775807L

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                astitcher Andrew Stitcher
                Reporter:
                gsim Gordon Sim
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: