Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2367

Build failure: stdlib and boost both define uint64_t

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.9.1
    • Fix Version/s: 0.9.2
    • Labels:
    • Environment:
    • Patch Info:
      Patch Available

      Description

      When Thrift is built for an 64 bits system,
      the uint64_t type may be already defined in stdint.h.

      "error: reference to 'uint64_t' is ambiguous"

      To avoid this error, you need to use explicitly the uint64_t typedef from Boost.

      So, I propose a quick patch that corrects this error.

      I reported this issue as Blocker since the build fails but there is no emergency

      Best regards,
      Romain Naour

        Attachments

          Activity

            People

            • Assignee:
              roger Roger Meier
              Reporter:
              kubu Naour Romain
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: