[SERVER-15939] stagedbg_cmd.cpp does not compile with clang in C++03 mode Created: 04/Nov/14 Updated: 19/Nov/14 Resolved: 04/Nov/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 2.8.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Kaloian Manassiev |
| Resolution: | Done | Votes: | 1 |
| Labels: | 28qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Steps To Reproduce: |
|
||||||||
| Participants: | |||||||||
| 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. |
| Comments |
| Comment by Andrew Morrow (Inactive) [ 04/Nov/14 ] | |||||||||||
|
The generated error:
|