Qpid
  1. Qpid
  2. QPID-3926

Fixes how unsigned 16 bit ints are assigned in the UUID test.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.16
    • Fix Version/s: 0.17
    • Component/s: C++ Client
    • Labels:
      None

      Description

      On Fedora 17, or any compiler that uses the C++11 standard, the existing test fails to compile with errors like:

      /home/mcpierce/Programming/Qpid/qpid/cpp/src/tests/Uuid.cpp:51:165: error: narrowing conversion of ''\37777777672'' from 'char' to 'unsigned char' inside { } is ill-formed in C++11 [-Werror=narrowing]

        Activity

        Hide
        Ted Ross added a comment -

        Small nitpick... The integers being initialized in this code are not 16-bit ints. They are 8-bit ints.

        Show
        Ted Ross added a comment - Small nitpick... The integers being initialized in this code are not 16-bit ints. They are 8-bit ints.

          People

          • Assignee:
            Ted Ross
            Reporter:
            Darryl L. Pierce
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development