-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.0.5
-
Component/s: Build
-
None
-
ALL
-
-
Platform 9 (09/18/15), Platform A (10/09/15)
Mongodb 3.0.5 uses keyword "auto" from this commit.
And this keyword change meaning in c++11 standard. So compilation fails with this error:
src/mongo/shell/bench.cpp: In member function 'void mongo::BenchRunWorker::generateLoadOnConnection(mongo::DBClientBase*)': src/mongo/shell/bench.cpp:379:17: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] auto& stats = shouldCollectStats() ? _stats : _statsBlackHole; ^
See attached build.log
- duplicates
-
SERVER-19755 scons should require c++11 on 3.0
- Closed
- is duplicated by
-
SERVER-20329 MongoDB 3.0.5 and newer not compiling on CentOS7/RHEL7 anymore
- Closed