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

compile failure: d_state.cpp on Linux RHEL 32-bit Build #1666

    • ALL

      Linux RHEL 32-bit Build #1666

      Greg, it looks like you touched this file re SERVER-8598

      http://buildbot.mongodb.org/builders/Linux%20RHEL%2032-bit/builds/1666/steps/compile/logs/stdio

      g++ -o build/linux2/cpppath__usr_include_boost141_/libpath__usr_lib_boost141_/mongo/s/d_state.o -c -Wnon-virtual-dtor -Woverloaded-virtual -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -Werror -pipe -O3 -Wno-unused-function -Wno-deprecated-declarations -fno-builtin-memcmp -DBOOST_ALL_NO_LIB -D_SCONS -DMONGO_EXPOSE_MACROS -DSUPPORT_UTF8 -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_EXECINFO_BACKTRACE -Ibuild/linux2/cpppath__usr_include_boost141_/libpath__usr_lib_boost141_/third_party/snappy -Isrc/third_party/snappy -Ibuild/linux2/cpppath__usr_include_boost141_/libpath__usr_lib_boost141_/third_party/libstemmer_c/include -Isrc/third_party/libstemmer_c/include -Ibuild/linux2/cpppath__usr_include_boost141_/libpath__usr_lib_boost141_/third_party/s2 -Isrc/third_party/s2 -Ibuild/linux2/cpppath__usr_include_boost141_/libpath__usr_lib_boost141_/third_party/boost -Isrc/third_party/boost -Ibuild/linux2/cpppath__usr_include_boost141_/libpath__usr_lib_boost141_/third_party/pcre-8.30 -Isrc/third_party/pcre-8.30 -Ibuild/linux2/cpppath__usr_include_boost141_/libpath__usr_lib_boost141_ -Isrc -Ibuild/linux2/cpppath__usr_include_boost141_/libpath__usr_lib_boost141_/mongo -Isrc/mongo -I/usr/include/boost141 -Ibuild/linux2/cpppath__usr_include_boost141_/libpath__usr_lib_boost141_/third_party/s2 -Isrc/third_party/s2 -Ibuild/linux2/cpppath__usr_include_boost141_/libpath__usr_lib_boost141_/third_party/snappy -Isrc/third_party/snappy -Ibuild/linux2/cpppath__usr_include_boost141_/libpath__usr_lib_boost141_/third_party/v8/include -Isrc/third_party/v8/include src/mongo/s/d_state.cpp
      src/mongo/s/d_state.cpp: In member function 'bool mongo::ShardingState::forgetPending(const std::string&, const mongo::BSONObj&, const mongo::BSONObj&, const mongo::OID&, std::string*)':
      src/mongo/s/d_state.cpp:239: error: redeclaration of 'std::_Rb_tree_const_iterator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<const mongo::CollectionMetadata> > > it'
      src/mongo/s/d_state.cpp:237: error: 'std::_Rb_tree_const_iterator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<const mongo::CollectionMetadata> > > it' previously declared here
      cc1plus: warnings being treated as errors
      src/third_party/boost/boost/system/error_code.hpp: At global scope:
      src/third_party/boost/boost/system/error_code.hpp:214: warning: 'boost::system::posix_category' defined but not used
      src/third_party/boost/boost/system/error_code.hpp:215: warning: 'boost::system::errno_ecat' defined but not used
      src/third_party/boost/boost/system/error_code.hpp:216: warning: 'boost::system::native_ecat' defined but not used
      scons: *** [build/linux2/cpppath__usr_include_boost141_/libpath__usr_lib_boost141_/mongo/s/d_state.o] Error 1
      

            Assignee:
            greg_10gen Greg Studer
            Reporter:
            matt.kangas Matt Kangas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: