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

Minor 64-bit and NOMINMAX issues in C++ library

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9
    • 0.10.0
    • C++ - Library
    • None
    • 64-bit. Windows without NOMINMAX set.

    • Patch Available

    Description

      TNonblockingServer and THttpServer have size_t -> uint32_t truncations.

      TZlibTransport calls std::min without enclosing it in parens. This is a really minor issue, since we technically build with NOMINMAX in the environment (which fixes the problem), but I have a strange personal goal of being able to build without setting NOMINMAX.

      Attachments

        1. misc_minor.patch
          2 kB
          Ben Craig

        Activity

          People

            ben.craig Ben Craig
            ben.craig Ben Craig
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: