Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-7273

documenttests.cpp:808 warning about int64->double truncation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.0
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Operating System:
      ALL

      Description

      The MSVC compiler emits a warning about precision loss when converting int64_t(0x8fffffffffffffffLL) to a double. We'd like our compiles to be warning-free. The correct solution here is probably to suppress the warning on Windows, since we're intentionally trying to lose precision for this test.

        Attachments

          Activity

            People

            Assignee:
            aaron Aaron Staple
            Reporter:
            schwerin Andy Schwerin
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: