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

Build failure: stdlib and boost both define uint64_t

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.9.1
    • 0.9.2
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: