boost compile stops with this error: regression/src/compiler_status.cpp: In function ‘std::string {anonymous}::revision(const boost::filesystem::path&)’: regression/src/compiler_status.cpp:131:15: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] regression/src/compiler_status.cpp:131:20: error: ‘itr’ does not name a type regression/src/compiler_status.cpp:131:41: error: expected ‘;’ before ‘itr’ regression/src/compiler_status.cpp:131:41: error: ‘itr’ was not declared in this scope regression/src/compiler_status.cpp: In function ‘int cpp_main(int, char**)’: regression/src/compiler_status.cpp:1017:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] In file included from ../boost/filesystem/path_traits.hpp:23:0, from ../boost/filesystem/path.hpp:25, from ../boost/filesystem/operations.hpp:25, from regression/src/compiler_status.cpp:29: ../boost/system/error_code.hpp: At global scope: ../boost/system/error_code.hpp:222:36: warning: ‘boost::system::posix_category’ defined but not used [-Wunused-variable] ../boost/system/error_code.hpp:223:36: warning: ‘boost::system::errno_ecat’ defined but not used [-Wunused-variable] ../boost/system/error_code.hpp:224:36: warning: ‘boost::system::native_ecat’ defined but not used [-Wunused-variable] ...skipped <pregression/build/bin/gcc-4.7/gentoorelease/link-static/pch-off/threading-multi>compiler_status for lack of <pregression/build/bin/gcc-4.7/gentoorelease/link-static/pch-off/threading-multi>compiler_status.o... common.mkdir ../bin.v2/tools/wave/build/gcc-4.7/gentoorelease/link-static mkdir -p "../bin.v2/tools/wave/build/gcc-4.7/gentoorelease/link-static" gcc.compile.c++ ../bin.v2/libs/program_options/build/gcc-4.7/release/link-static/pch-off/threading-multi/value_semantic.o Reproducible: Always
can be closed dup of #503468
*** This bug has been marked as a duplicate of bug 503468 ***