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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 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

      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@mongodb.com Kaloian Manassiev
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: