Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-709

Legacy C++ Driver Tests do not compile with VS 2015

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: legacy-1.0.6
    • Component/s: Build
    • Labels:
    • Sprint:
      Platform B (10/30/15)

      Description

      Error Message

      src\mongo\bson\util\builder_test.cpp(38): warning C4312: 'reinterpret_cast': conversion from 'unsigned int' to 'const void *' of greater size
      

      Code in question

       TEST(Builder, StringBuilderAddress) {
           const void* shortPtr = reinterpret_cast<const void*>(0xDEADBEEF);
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: