g++ -o build/linux2/ssl/use-system-boost/use-system-pcre/use-system-snappy/use-system-tcmalloc/mongo/shell/linenoise_utf8.o -c -Wnon-virtual-dtor -Woverloaded-virtual -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O3 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -fno-builtin-memcmp -D_SCONS -DMONGO_EXPOSE_MACROS -DSUPPORT_UTF8 -DMONGO_OPTIMIZED_BUILD -D_FILE_OFFSET_BITS=64 -DMONGO_SSL -DMONGO_HAVE___THREAD -DBOOST_THREAD_VERSION=2 -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_EXECINFO_BACKTRACE -Ibuild/linux2/ssl/use-system-boost/use-system-pcre/use-system-snappy/use-system-tcmalloc/third_party/libstemmer_c/include -Isrc/third_party/libstemmer_c/include -Ibuild/linux2/ssl/use-system-boost/use-system-pcre/use-system-snappy/use-system-tcmalloc/third_party/s2 -Isrc/third_party/s2 -Ibuild/linux2/ssl/use-system-boost/use-system-pcre/use-system-snappy/use-system-tcmalloc -Isrc -Ibuild/linux2/ssl/use-system-boost/use-system-pcre/use-system-snappy/use-system-tcmalloc/mongo -Isrc/mongo -Ibuild/linux2/ssl/use-system-boost/use-system-pcre/use-system-snappy/use-system-tcmalloc/third_party/s2 -Isrc/third_party/s2 -Ibuild/linux2/ssl/use-system-boost/use-system-pcre/use-system-snappy/use-system-tcmalloc/third_party/v8/include -Isrc/third_party/v8/include -Ibuild/linux2/ssl/use-system-boost/use-system-pcre/use-system-snappy/use-system-tcmalloc/third_party/yaml-cpp-0.5.1/include -Isrc/third_party/yaml-cpp-0.5.1/include src/mongo/shell/linenoise_utf8.cpp
|
In file included from src/mongo/shell/linenoise.cpp:116:0:
|
src/mongo/shell/linenoise_utf8.h: In member function 'void linenoise_utf8::UtfStringMixin<char_type>::swap(linenoise_utf8::UtfStringMixin<char_type>&)':
|
src/mongo/shell/linenoise_utf8.h:145:9: error: 'swap' is not a member of 'std'
|
std::swap( _len, other._len );
|
^
|
src/mongo/shell/linenoise_utf8.h:145:9: note: suggested alternative:
|
In file included from src/mongo/shell/linenoise_utf8.h:18:0,
|
from src/mongo/shell/linenoise.cpp:116:
|
/usr/include/boost/smart_ptr/scoped_array.hpp:125:31: note: 'boost::swap'
|
template<class T> inline void swap(scoped_array<T> & a, scoped_array<T> & b) BOOST_NOEXCEPT
|
^
|
In file included from src/mongo/shell/linenoise.cpp:116:0:
|
src/mongo/shell/linenoise_utf8.h:146:9: error: 'swap' is not a member of 'std'
|
std::swap( _cap, other._cap );
|
^
|
src/mongo/shell/linenoise_utf8.h:146:9: note: suggested alternative:
|
In file included from src/mongo/shell/linenoise_utf8.h:18:0,
|
from src/mongo/shell/linenoise.cpp:116:
|
/usr/include/boost/smart_ptr/scoped_array.hpp:125:31: note: 'boost::swap'
|
template<class T> inline void swap(scoped_array<T> & a, scoped_array<T> & b) BOOST_NOEXCEPT
|
^
|
In file included from src/mongo/shell/linenoise.cpp:116:0:
|
src/mongo/shell/linenoise_utf8.h:147:9: error: 'swap' is not a member of 'std'
|
std::swap( _chars, other._chars );
|
^
|
src/mongo/shell/linenoise_utf8.h:147:9: note: suggested alternative:
|
In file included from src/mongo/shell/linenoise_utf8.h:18:0,
|
from src/mongo/shell/linenoise.cpp:116:
|
/usr/include/boost/smart_ptr/scoped_array.hpp:125:31: note: 'boost::swap'
|
template<class T> inline void swap(scoped_array<T> & a, scoped_array<T> & b) BOOST_NOEXCEPT
|
^
|
In file included from src/mongo/shell/linenoise_utf8.cpp:18:0:
|
src/mongo/shell/linenoise_utf8.h: In member function 'void linenoise_utf8::UtfStringMixin<char_type>::swap(linenoise_utf8::UtfStringMixin<char_type>&)':
|
src/mongo/shell/linenoise_utf8.h:145:9: error: 'swap' is not a member of 'std'
|
std::swap( _len, other._len );
|
^
|
src/mongo/shell/linenoise_utf8.h:145:9: note: suggested alternative:
|
In file included from src/mongo/shell/linenoise_utf8.h:18:0,
|
from src/mongo/shell/linenoise_utf8.cpp:18:
|
/usr/include/boost/smart_ptr/scoped_array.hpp:125:31: note: 'boost::swap'
|
template<class T> inline void swap(scoped_array<T> & a, scoped_array<T> & b) BOOST_NOEXCEPT
|
^
|
In file included from src/mongo/shell/linenoise_utf8.cpp:18:0:
|
src/mongo/shell/linenoise_utf8.h:146:9: error: 'swap' is not a member of 'std'
|
std::swap( _cap, other._cap );
|
^
|
src/mongo/shell/linenoise_utf8.h:146:9: note: suggested alternative:
|
In file included from src/mongo/shell/linenoise_utf8.h:18:0,
|
from src/mongo/shell/linenoise_utf8.cpp:18:
|
/usr/include/boost/smart_ptr/scoped_array.hpp:125:31: note: 'boost::swap'
|
template<class T> inline void swap(scoped_array<T> & a, scoped_array<T> & b) BOOST_NOEXCEPT
|
^
|
In file included from src/mongo/shell/linenoise_utf8.cpp:18:0:
|
src/mongo/shell/linenoise_utf8.h:147:9: error: 'swap' is not a member of 'std'
|
std::swap( _chars, other._chars );
|
^
|
src/mongo/shell/linenoise_utf8.h:147:9: note: suggested alternative:
|
In file included from src/mongo/shell/linenoise_utf8.h:18:0,
|
from src/mongo/shell/linenoise_utf8.cpp:18:
|
/usr/include/boost/smart_ptr/scoped_array.hpp:125:31: note: 'boost::swap'
|
template<class T> inline void swap(scoped_array<T> & a, scoped_array<T> & b) BOOST_NOEXCEPT
|
^
|
scons: *** [build/linux2/ssl/use-system-boost/use-system-pcre/use-system-snappy/use-system-tcmalloc/mongo/shell/linenoise_utf8.o] Error 1
|
scons: *** [build/linux2/ssl/use-system-boost/use-system-pcre/use-system-snappy/use-system-tcmalloc/mongo/shell/linenoise.o] Error 1
|
scons: building terminated because of errors.
|