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

parsing errors for integer literals in selectors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • qpid-cpp-0.34
    • qpid-cpp-1.35.0
    • C++ Client
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: