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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 2.3.0
    • Affects Version/s: 2.3.0
    • Component/s: Testing Infrastructure
    • None
    • ALL

      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.

            Assignee:
            aaron Aaron Staple
            Reporter:
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: