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

XMLWordPrintableJSON

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

      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 Staple (Inactive)
            Reporter:
            Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: