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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • legacy-1.0.6
    • Affects Version/s: None
    • Component/s: Build

      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);
      

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: