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

stagedbg_cmd.cpp does not compile with clang in C++03 mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0-rc0
    • Component/s: Internal Code
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      scons --cc=/usr/bin/clang --cxx=/usr/bin/clang++ --cache build/cached/mongo/db/exec/stagedebug_cmd.o --c++11=off

      Show
      scons --cc=/usr/bin/clang --cxx=/usr/bin/clang++ --cache build/cached/mongo/db/exec/stagedebug_cmd.o --c++11=off

      Description

      If you build with clang but C++11 mode is not enabled (either because you are using too old a C++ standard library, or because you have suppressed C++11 with --c++11=off), then src/mongo/db/exec/stagedebug_cmd.cpp fails to compile due to a warning escalated to an error.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: