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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.8.0-rc0
    • Affects Version/s: None
    • Component/s: Internal Code
    • Fully Compatible
    • ALL
    • 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Kaloian Manassiev
              Reporter:
              Andrew Morrow (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: