=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for mongodb-3.4.24nb23 => Replacing database paths. => Changing /var to /var. cd /tmp/pkgbuild/databases/mongodb3/work/mongodb-src-r3.4.24 && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\ DL_LDFLAGS=\ -pthread DL_LIBS= PYTHON=/usr/pkg/bin/python2.7 CC=gcc CFLAGS=-O2\ -I/usr/include\ -I/usr/pkg/include CPPFLAGS=-fno-jump-tables\ -I/usr/include\ -I/usr/pkg/include CXX=c++ CXXFLAGS=-O2\ -I/usr/include\ -I/usr/pkg/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-R/usr/pkg/lib\ -L/usr/pkg/lib\ -Wl,-zrelro\ -lexecinfo\ -L/usr/lib\ -Wl,-R/usr/lib LINKER_RPATH_FLAG=-R PATH=/tmp/pkgbuild/databases/mongodb3/work/.cwrapper/bin:/tmp/pkgbuild/databases/mongodb3/work/.buildlink/bin:/tmp/pkgbuild/databases/mongodb3/work/.distcc/bin:/tmp/pkgbuild/databases/mongodb3/work/.gcc/bin:/tmp/pkgbuild/databases/mongodb3/work/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/tmp/pkgbuild/databases/mongodb3/work/.home CWRAPPERS_CONFIG_DIR=/tmp/pkgbuild/databases/mongodb3/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/tmp/pkgbuild/databases/mongodb3/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/tmp/pkgbuild/databases/mongodb3/work/.tools/bin/itstool GDBUS_CODEGEN=/tmp/pkgbuild/databases/mongodb3/work/.tools/bin/gdbus-codegen PKG_CONFIG=/tmp/pkgbuild/databases/mongodb3/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/pkgbuild/databases/mongodb3/work/.buildlink/lib/pkgconfig:/tmp/pkgbuild/databases/mongodb3/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/pkgbuild/databases/mongodb3/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/tmp/pkgbuild/databases/mongodb3/work/.cwrapper/config /usr/pkg/bin/scons -j3 --dbg=off --disable-warnings-as-errors --release --runtime-hardening=off --use-system-pcre --use-system-snappy --use-system-tcmalloc --use-system-yaml --use-system-zlib --wiredtiger=off CC=gcc CXX=c++ CFLAGS=-O2\ \ -I/usr/include\ -I/usr/pkg/include CXXFLAGS=-O2\ -I/usr/include\ -I/usr/pkg/include LINKFLAGS=\ -Wl,-R/usr/pkg/lib\ -L/usr/pkg/lib\ -Wl,-zrelro\ -lexecinfo\ -L/usr/lib\ -Wl,-R/usr/lib CPPPATH= VERBOSE=1 core scons: Reading SConscript files ... Mkdir("build/scons") scons version: 3.1.2 python version: 2 7 18 'final' 0 Checking whether the C compiler works... yes Checking whether the C++ compiler works... yes Checking that the C++ compiler can link a C++ program... yes Checking if C++ compiler "c++" is GCC... yes Checking if C compiler "gcc" is GCC... yes Detected a aarch64eb processor Checking if target OS netbsd is supported by the toolchain yes Checking if C compiler is GCC 5.3.0 or newer...yes Checking if C++ compiler is GCC 5.3.0 or newer...yes Checking if C compiler supports -Wno-unused-local-typedefs... yes Checking if C compiler supports -Wno-unused-function... yes Checking if C compiler supports -Wno-unused-private-field... no Checking if C compiler supports -Wno-deprecated-declarations... yes Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... no Checking if C compiler supports -Wno-unused-const-variable... yes Checking if C compiler supports -Wno-unused-but-set-variable... yes Checking if C compiler supports -Wno-missing-braces... yes Checking if C compiler supports -Wno-inconsistent-missing-override... no Checking if C compiler supports -Wno-potentially-evaluated-expression... no Checking if C++ compiler supports -Wpessimizing-move... yes Checking if C++ compiler supports -Wredundant-move... yes Checking if C++ compiler supports -Wno-maybe-uninitialized... yes Checking if C++ compiler supports -Wno-undefined-var-template... no Checking -Wnon-virtual-dtor for false positives... no Checking if we are using libstdc++... yes Checking if C++ compiler supports -std=c++11... yes Checking if C compiler supports -std=c11... yes WARNING: System versions of C++ libraries must be compiled with C++11/14 support Checking for C++11... yes Checking for memset_s... no Checking for C function strnlen()... yes Checking for libstdc++ 5.3.0 or better... yes Checking if we are on a POSIX system... yes Checking if the POSIX monotonic clock is supported... yes Checking off_t is 8 bytes... yes Checking if C compiler supports -fno-builtin-memcmp... yes Checking for storage class thread_local yes Checking for storage class __thread yes Checking for storage class __declspec(thread) no Checking for C++11 is_trivially_copyable support... yes Checking for C++14 std::enable_if_t support...no Checking for C++14 std::make_unique support... no Checking for C++11 std::align support... yes Checking if pthread_setname_np is supported... no Checking for C library pcre... yes Checking for C library pcrecpp... yes Checking for C library snappy... yes Checking for C library z... yes Checking for C library yaml-cpp... yes Checking for C library rt... yes Checking for C library dl... no Checking for C++ header file execinfo.h... yes Checking whether backtrace is declared... yes Checking whether backtrace_symbols is declared... yes Checking whether backtrace_symbols_fd is declared... yes Checking for C library pcap... yes Checking for C library execinfo... yes Checking if std::atomic works... yes Checking if std::atomic works... yes Checking if std::atomic works... yes Checking if std::atomic works... yes scons: done reading SConscript files. scons: Building targets ... /usr/pkg/bin/python2.7 src/mongo/base/generate_error_codes.py cpp src/mongo/base/error_codes.err --cpp-header=build/opt/mongo/base/error_codes.h --cpp-source=build/opt/mongo/base/error_codes.cpp Creating 'build/opt/mongo/config.h' /usr/pkg/bin/python2.7 src/mongo/db/auth/generate_action_types.py src/mongo/db/auth/action_types.txt build/opt/mongo/db/auth/action_type.h build/opt/mongo/db/auth/action_type.cpp c++ -o build/opt/mongo/client/query.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/query.cpp c++ -o build/opt/mongo/client/connpool.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/connpool.cpp c++ -o build/opt/mongo/client/connection_string_connect.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/connection_string_connect.cpp In file included from src/mongo/client/query.h:33, from src/mongo/client/query.cpp:30: In member function 'void mongo::Message::setData(int, const char*, size_t)', inlined from 'void mongo::assembleQueryRequest(const std::string&, BSONObj, int, int, const BSONObj*, int, Message&)' at src/mongo/client/query.cpp:186:19: src/mongo/util/net/message.h:433:19: warning: 'void* memcpy(void*, const void*, size_t)' offset 0 is out of the bounds [0, 0] [-Warray-bounds] Generating placeholder library build/opt/mongo/client/libclient_query.a Skipping ranlib for build/opt/mongo/client/libclient_query.a c++ -o build/opt/mongo/client/mongo_uri_connect.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/mongo_uri_connect.cpp c++ -o build/opt/mongo/bson/mutable/document.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/bson/mutable/document.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/client/replica_set_monitor_manager.h:37, from src/mongo/client/global_conn_pool.h:32, from src/mongo/client/connpool.cpp:42: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::weak_ptr, mongo::StringMapTraits>': src/mongo/client/replica_set_monitor_manager.h:106:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' c++ -o build/opt/mongo/client/authenticate.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/authenticate.cpp c++ -o build/opt/mongo/bson/util/bson_extract.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/bson/util/bson_extract.cpp In file included from src/third_party/boost-1.60.0/boost/mpl/aux_/na_assert.hpp:23, from src/third_party/boost-1.60.0/boost/mpl/arg.hpp:25, from src/third_party/boost-1.60.0/boost/mpl/placeholders.hpp:24, from src/third_party/boost-1.60.0/boost/iterator/iterator_categories.hpp:17, from src/third_party/boost-1.60.0/boost/iterator/iterator_adaptor.hpp:14, from src/third_party/boost-1.60.0/boost/iterator/transform_iterator.hpp:12, from src/third_party/boost-1.60.0/boost/algorithm/string/case_conv.hpp:17, from src/mongo/client/mongo_uri_connect.cpp:42: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: note: remove parentheses src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: note: remove parentheses In file included from src/third_party/boost-1.60.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.60.0/boost/concept_check.hpp:20, from src/third_party/boost-1.60.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.60.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.60.0/boost/range/size.hpp:21, from src/third_party/boost-1.60.0/boost/range/functions.hpp:20, from src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:38, from src/third_party/boost-1.60.0/boost/range/iterator_range.hpp:13, from src/third_party/boost-1.60.0/boost/range/as_literal.hpp:22, from src/third_party/boost-1.60.0/boost/algorithm/string/case_conv.hpp:19: src/third_party/boost-1.60.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::constraint::failed() [with Model = boost::algorithm::FinderConcept >, __gnu_cxx::__normal_iterator > >]': src/third_party/boost-1.60.0/boost/algorithm/string/iter_find.hpp:77:61: required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; FinderT = detail::token_finderF >]' src/third_party/boost-1.60.0/boost/algorithm/string/split.hpp:146:50: required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; PredicateT = detail::is_any_ofF]' src/mongo/client/mongo_uri_connect.cpp:67:28: required from here src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:47:52: warning: 'this' pointer is null [-Wnonnull] In file included from src/third_party/boost-1.60.0/boost/algorithm/string/iter_find.hpp:26, from src/third_party/boost-1.60.0/boost/algorithm/string/split.hpp:16, from src/mongo/client/mongo_uri_connect.cpp:45: src/third_party/boost-1.60.0/boost/algorithm/string/concept.hpp:40:18: note: in a call to non-static member function 'void boost::algorithm::FinderConcept::constraints() [with FinderT = boost::algorithm::detail::token_finderF >; IteratorT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > >]': src/third_party/boost-1.60.0/boost/concept_check.hpp:167:53: required from 'struct boost::CopyConstructible<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/range/concepts.hpp:123:16: required from 'struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/range/concepts.hpp:145:16: required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied > > >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: [ skipping 16 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' /usr/include/g++/bits/stl_vector.h:1671:21: required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]' /usr/include/g++/bits/stl_vector.h:711:23: required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]' src/third_party/boost-1.60.0/boost/algorithm/string/iter_find.hpp:178:31: required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; FinderT = detail::token_finderF >]' src/third_party/boost-1.60.0/boost/algorithm/string/split.hpp:146:50: required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; PredicateT = detail::is_any_ofF]' src/mongo/client/mongo_uri_connect.cpp:67:28: required from here src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] In file included from src/third_party/boost-1.60.0/boost/concept_check.hpp:31: src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::CopyConstructible<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]': src/third_party/boost-1.60.0/boost/concept_check.hpp:208:53: required from 'struct boost::Convertible' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::Convertible]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: required from 'struct boost::mpl::if_ >, boost::concepts::constraint >, boost::concepts::requirement::************> >' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:51:8: [ skipping 21 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' /usr/include/g++/bits/stl_vector.h:1671:21: required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]' /usr/include/g++/bits/stl_vector.h:711:23: required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]' src/third_party/boost-1.60.0/boost/algorithm/string/iter_find.hpp:178:31: required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; FinderT = detail::token_finderF >]' src/third_party/boost-1.60.0/boost/algorithm/string/split.hpp:146:50: required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; PredicateT = detail::is_any_ofF]' src/mongo/client/mongo_uri_connect.cpp:67:28: required from here src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Convertible]' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::Convertible]': src/third_party/boost-1.60.0/boost/iterator/iterator_concepts.hpp:116:55: required from 'struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/range/concepts.hpp:145:16: required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied > > >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied > > >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' /usr/include/g++/bits/stl_vector.h:1671:21: required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]' /usr/include/g++/bits/stl_vector.h:711:23: required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]' src/third_party/boost-1.60.0/boost/algorithm/string/iter_find.hpp:178:31: required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; FinderT = detail::token_finderF >]' src/third_party/boost-1.60.0/boost/algorithm/string/split.hpp:146:50: required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; PredicateT = detail::is_any_ofF]' src/mongo/client/mongo_uri_connect.cpp:67:28: required from here src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/concept_check.hpp:208:206: note: in a call to non-static member function 'boost::Convertible::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::incrementable_traversal_tag]' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > >]': src/third_party/boost-1.60.0/boost/range/concepts.hpp:134:61: required from 'struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/range/concepts.hpp:145:16: required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied > > >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied > > >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' /usr/include/g++/bits/stl_vector.h:1671:21: required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]' /usr/include/g++/bits/stl_vector.h:711:23: required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]' src/third_party/boost-1.60.0/boost/algorithm/string/iter_find.hpp:178:31: required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; FinderT = detail::token_finderF >]' src/third_party/boost-1.60.0/boost/algorithm/string/split.hpp:146:50: required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; PredicateT = detail::is_any_ofF]' src/mongo/client/mongo_uri_connect.cpp:67:28: required from here src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > >]': src/third_party/boost-1.60.0/boost/concept_check.hpp:233:53: required from 'struct boost::EqualityComparable<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/range/concepts.hpp:145:16: required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied > > >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied > > >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' /usr/include/g++/bits/stl_vector.h:1671:21: required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]' /usr/include/g++/bits/stl_vector.h:711:23: required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]' src/third_party/boost-1.60.0/boost/algorithm/string/iter_find.hpp:178:31: required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; FinderT = detail::token_finderF >]' src/third_party/boost-1.60.0/boost/algorithm/string/split.hpp:146:50: required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; PredicateT = detail::is_any_ofF]' src/mongo/client/mongo_uri_connect.cpp:67:28: required from here src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::EqualityComparable<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]': src/third_party/boost-1.60.0/boost/concept_check.hpp:208:53: required from 'struct boost::Convertible' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::Convertible]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: required from 'struct boost::mpl::if_ >, boost::concepts::constraint >, boost::concepts::requirement::************> >' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:51:8: [ skipping 20 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' /usr/include/g++/bits/stl_vector.h:1671:21: required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]' /usr/include/g++/bits/stl_vector.h:711:23: required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]' src/third_party/boost-1.60.0/boost/algorithm/string/iter_find.hpp:178:31: required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; FinderT = detail::token_finderF >]' src/third_party/boost-1.60.0/boost/algorithm/string/split.hpp:146:50: required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; PredicateT = detail::is_any_ofF]' src/mongo/client/mongo_uri_connect.cpp:67:28: required from here src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Convertible]' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::Convertible]': src/third_party/boost-1.60.0/boost/range/concepts.hpp:150:61: required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied > > >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied > > >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: required from 'struct boost::mpl::if_ > > >, boost::concepts::constraint > > >, boost::concepts::requirement > >::************> >' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:51:8: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' /usr/include/g++/bits/stl_vector.h:1671:21: required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]' /usr/include/g++/bits/stl_vector.h:711:23: required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]' src/third_party/boost-1.60.0/boost/algorithm/string/iter_find.hpp:178:31: required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; FinderT = detail::token_finderF >]' src/third_party/boost-1.60.0/boost/algorithm/string/split.hpp:146:50: required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; PredicateT = detail::is_any_ofF]' src/mongo/client/mongo_uri_connect.cpp:67:28: required from here src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/concept_check.hpp:208:206: note: in a call to non-static member function 'boost::Convertible::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::single_pass_traversal_tag]' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > >]': src/third_party/boost-1.60.0/boost/range/concepts.hpp:156:61: required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied > > >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied > > >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: required from 'struct boost::mpl::if_ > > >, boost::concepts::constraint > > >, boost::concepts::requirement > >::************> >' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:51:8: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' /usr/include/g++/bits/stl_vector.h:1671:21: required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]' /usr/include/g++/bits/stl_vector.h:711:23: required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]' src/third_party/boost-1.60.0/boost/algorithm/string/iter_find.hpp:178:31: required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; FinderT = detail::token_finderF >]' src/third_party/boost-1.60.0/boost/algorithm/string/split.hpp:146:50: required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; PredicateT = detail::is_any_ofF]' src/mongo/client/mongo_uri_connect.cpp:67:28: required from here src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]': src/third_party/boost-1.60.0/boost/range/concepts.hpp:276:57: required from 'struct boost::SinglePassRangeConcept > > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::SinglePassRangeConcept > > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied > > > >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied > > > >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: required from 'struct boost::mpl::if_ > > > >, boost::concepts::constraint > > > >, boost::concepts::requirement > > >::************> >' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:51:8: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' /usr/include/g++/bits/stl_vector.h:1671:21: required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]' /usr/include/g++/bits/stl_vector.h:711:23: required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]' src/third_party/boost-1.60.0/boost/algorithm/string/iter_find.hpp:178:31: required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; FinderT = detail::token_finderF >]' src/third_party/boost-1.60.0/boost/algorithm/string/split.hpp:146:50: required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; PredicateT = detail::is_any_ofF]' src/mongo/client/mongo_uri_connect.cpp:67:28: required from here src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/range/concepts.hpp:156:228: note: in a call to non-static member function 'boost::range_detail::SinglePassIteratorConcept::~SinglePassIteratorConcept() [with Iterator = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > > >]': src/third_party/boost-1.60.0/boost/range/concepts.hpp:282:57: required from 'struct boost::SinglePassRangeConcept > > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::SinglePassRangeConcept > > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied > > > >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied > > > >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: required from 'struct boost::mpl::if_ > > > >, boost::concepts::constraint > > > >, boost::concepts::requirement > > >::************> >' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:51:8: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' /usr/include/g++/bits/stl_vector.h:1671:21: required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]' /usr/include/g++/bits/stl_vector.h:711:23: required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]' src/third_party/boost-1.60.0/boost/algorithm/string/iter_find.hpp:178:31: required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; FinderT = detail::token_finderF >]' src/third_party/boost-1.60.0/boost/algorithm/string/split.hpp:146:50: required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; PredicateT = detail::is_any_ofF]' src/mongo/client/mongo_uri_connect.cpp:67:28: required from here src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::SinglePassRangeConcept > > >]' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::SinglePassRangeConcept > > >]': src/third_party/boost-1.60.0/boost/range/algorithm/equal.hpp:174:61: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range<__gnu_cxx::__normal_iterator > >; SinglePassRange2 = boost::iterator_range<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:645:32: required from 'bool boost::operator==(const iterator_range&, const iterator_range&) [with Iterator1T = __gnu_cxx::__normal_iterator >; Iterator2T = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:567:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; Facade2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:899:658: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator==(const iterator_facade&, const iterator_facade&) [with Derived1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC1 = forward_traversal_tag; Reference1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC2 = forward_traversal_tag; Reference2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/third_party/boost-1.60.0/boost/iterator/iterator_adaptor.hpp:307:29: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' /usr/include/g++/bits/stl_vector.h:1671:21: required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]' /usr/include/g++/bits/stl_vector.h:711:23: required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]' src/third_party/boost-1.60.0/boost/algorithm/string/iter_find.hpp:178:31: required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; FinderT = detail::token_finderF >]' src/third_party/boost-1.60.0/boost/algorithm/string/split.hpp:146:50: required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; PredicateT = detail::is_any_ofF]' src/mongo/client/mongo_uri_connect.cpp:67:28: required from here src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/range/concepts.hpp:282:221: note: in a call to non-static member function 'boost::SinglePassRangeConcept::~SinglePassRangeConcept() [with T = const boost::iterator_range<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::CopyConstructible<__gnu_cxx::__normal_iterator > >]': src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > >]' src/third_party/boost-1.60.0/boost/concept_check.hpp:167:53: required from 'struct boost::CopyConstructible<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/range/concepts.hpp:123:16: required from 'struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/range/concepts.hpp:145:16: required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: [ skipping 17 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' /usr/include/g++/bits/stl_vector.h:1671:21: required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]' /usr/include/g++/bits/stl_vector.h:711:23: required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]' src/third_party/boost-1.60.0/boost/algorithm/string/iter_find.hpp:178:31: required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; FinderT = detail::token_finderF >]' src/third_party/boost-1.60.0/boost/algorithm/string/split.hpp:146:50: required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; PredicateT = detail::is_any_ofF]' src/mongo/client/mongo_uri_connect.cpp:67:28: required from here src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/concept_check.hpp:167:212: note: in a call to non-static member function 'boost::CopyConstructible::~CopyConstructible() [with TT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Convertible]': src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]' src/third_party/boost-1.60.0/boost/concept_check.hpp:208:53: required from 'struct boost::Convertible' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::Convertible]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: [ skipping 22 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' /usr/include/g++/bits/stl_vector.h:1671:21: required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]' /usr/include/g++/bits/stl_vector.h:711:23: required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]' src/third_party/boost-1.60.0/boost/algorithm/string/iter_find.hpp:178:31: required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; FinderT = detail::token_finderF >]' src/third_party/boost-1.60.0/boost/algorithm/string/split.hpp:146:50: required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; PredicateT = detail::is_any_ofF]' src/mongo/client/mongo_uri_connect.cpp:67:28: required from here src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/concept_check.hpp:208:206: note: in a call to non-static member function 'boost::Convertible::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::incrementable_traversal_tag]' src/third_party/boost-1.60.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator > >]': src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > >]' src/third_party/boost-1.60.0/boost/range/concepts.hpp:134:61: required from 'struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/range/concepts.hpp:145:16: required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied > > >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: [ skipping 16 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' /usr/include/g++/bits/stl_vector.h:1671:21: required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]' /usr/include/g++/bits/stl_vector.h:711:23: required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]' src/third_party/boost-1.60.0/boost/algorithm/string/iter_find.hpp:178:31: required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; FinderT = detail::token_finderF >]' src/third_party/boost-1.60.0/boost/algorithm/string/split.hpp:146:50: required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; PredicateT = detail::is_any_ofF]' src/mongo/client/mongo_uri_connect.cpp:67:28: required from here src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/range/concepts.hpp:134:231: note: in a call to non-static member function 'boost::range_detail::IncrementableIteratorConcept::~IncrementableIteratorConcept() [with Iterator = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::EqualityComparable<__gnu_cxx::__normal_iterator > >]': src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > >]' src/third_party/boost-1.60.0/boost/concept_check.hpp:233:53: required from 'struct boost::EqualityComparable<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/range/concepts.hpp:145:16: required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied > > >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: [ skipping 16 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' /usr/include/g++/bits/stl_vector.h:1671:21: required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]' /usr/include/g++/bits/stl_vector.h:711:23: required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]' src/third_party/boost-1.60.0/boost/algorithm/string/iter_find.hpp:178:31: required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; FinderT = detail::token_finderF >]' src/third_party/boost-1.60.0/boost/algorithm/string/split.hpp:146:50: required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; PredicateT = detail::is_any_ofF]' src/mongo/client/mongo_uri_connect.cpp:67:28: required from here src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/concept_check.hpp:233:213: note: in a call to non-static member function 'boost::EqualityComparable::~EqualityComparable() [with TT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Convertible]': src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]' src/third_party/boost-1.60.0/boost/concept_check.hpp:208:53: required from 'struct boost::Convertible' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::Convertible]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: [ skipping 21 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' /usr/include/g++/bits/stl_vector.h:1671:21: required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]' /usr/include/g++/bits/stl_vector.h:711:23: required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]' src/third_party/boost-1.60.0/boost/algorithm/string/iter_find.hpp:178:31: required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; FinderT = detail::token_finderF >]' src/third_party/boost-1.60.0/boost/algorithm/string/split.hpp:146:50: required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; PredicateT = detail::is_any_ofF]' src/mongo/client/mongo_uri_connect.cpp:67:28: required from here src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/concept_check.hpp:208:206: note: in a call to non-static member function 'boost::Convertible::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::single_pass_traversal_tag]' src/third_party/boost-1.60.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]': src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > >]' src/third_party/boost-1.60.0/boost/range/concepts.hpp:156:61: required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied > > >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied > > >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' /usr/include/g++/bits/stl_vector.h:1671:21: required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]' /usr/include/g++/bits/stl_vector.h:711:23: required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]' src/third_party/boost-1.60.0/boost/algorithm/string/iter_find.hpp:178:31: required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; FinderT = detail::token_finderF >]' src/third_party/boost-1.60.0/boost/algorithm/string/split.hpp:146:50: required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; PredicateT = detail::is_any_ofF]' src/mongo/client/mongo_uri_connect.cpp:67:28: required from here src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/range/concepts.hpp:156:228: note: in a call to non-static member function 'boost::range_detail::SinglePassIteratorConcept::~SinglePassIteratorConcept() [with Iterator = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::SinglePassRangeConcept > > >]': src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > > >]' src/third_party/boost-1.60.0/boost/range/concepts.hpp:282:57: required from 'struct boost::SinglePassRangeConcept > > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::SinglePassRangeConcept > > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied > > > >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied > > > >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V1 = std::__cxx11::basic_string; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string; Difference1 = long int; Derived2 = transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, use_default, use_default>; V2 = std::__cxx11::basic_string; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' /usr/include/g++/bits/stl_vector.h:1671:21: required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >]' /usr/include/g++/bits/stl_vector.h:711:23: required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator, __gnu_cxx::__normal_iterator > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >, boost::iterators::use_default, boost::iterators::use_default>; = void; _Tp = std::__cxx11::basic_string; _Alloc = std::allocator >; allocator_type = std::allocator >]' src/third_party/boost-1.60.0/boost/algorithm/string/iter_find.hpp:178:31: required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; FinderT = detail::token_finderF >]' src/third_party/boost-1.60.0/boost/algorithm/string/split.hpp:146:50: required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector >; RangeT = const std::__cxx11::basic_string; PredicateT = detail::is_any_ofF]' src/mongo/client/mongo_uri_connect.cpp:67:28: required from here src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/range/concepts.hpp:282:221: note: in a call to non-static member function 'boost::SinglePassRangeConcept::~SinglePassRangeConcept() [with T = const boost::iterator_range<__gnu_cxx::__normal_iterator > >]' In file included from build/opt/mongo/base/error_codes.h:32, from src/mongo/base/status.h:34, from src/mongo/base/status_with.h:38, from src/mongo/client/mongo_uri.h:36, from src/mongo/client/mongo_uri_connect.cpp:33: In member function 'void mongo::StringData::copyTo(char*, bool) const', inlined from 'void mongo::StringBuilderImpl::append(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:444:19, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:418:15, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(const char*) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:415:22, inlined from 'const mongo::BSONElement& mongo::BSONElement::chk(int) const' at src/mongo/bson/bsonelement.h:693:61: src/mongo/base/string_data.h:266:15: warning: 'void* memcpy(void*, const void*, size_t)' offset [0, 490] is out of the bounds [0, 0] [-Warray-bounds] c++ -o build/opt/mongo/shell/dbshell.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/shell/dbshell.cpp src/mongo/client/authenticate.cpp: In function 'mongo::StatusWith > mongo::auth::{anonymous}::extractDBField(const mongo::BSONObj&)': src/mongo/client/authenticate.cpp:82:21: warning: redundant move in return statement [-Wredundant-move] src/mongo/client/authenticate.cpp:82:21: note: remove 'std::move' call src/mongo/client/authenticate.cpp: In function 'mongo::auth::AuthRequest mongo::auth::{anonymous}::createMongoCRGetNonceCmd(const mongo::BSONObj&)': src/mongo/client/authenticate.cpp:98:21: warning: redundant move in return statement [-Wredundant-move] src/mongo/client/authenticate.cpp:98:21: note: remove 'std::move' call src/mongo/client/authenticate.cpp: In function 'mongo::auth::AuthRequest mongo::auth::{anonymous}::createMongoCRAuthenticateCmd(const mongo::BSONObj&, mongo::StringData)': src/mongo/client/authenticate.cpp:144:21: warning: redundant move in return statement [-Wredundant-move] src/mongo/client/authenticate.cpp:144:21: note: remove 'std::move' call src/mongo/client/authenticate.cpp: In function 'mongo::auth::AuthRequest mongo::auth::{anonymous}::createX509AuthCmd(const mongo::BSONObj&, mongo::StringData)': src/mongo/client/authenticate.cpp:213:21: warning: redundant move in return statement [-Wredundant-move] src/mongo/client/authenticate.cpp:213:21: note: remove 'std::move' call Generating placeholder library build/opt/mongo/client/libauthentication.a Skipping ranlib for build/opt/mongo/client/libauthentication.a c++ -o build/opt/mongo/bson/mutable/element.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/bson/mutable/element.cpp In file included from build/opt/mongo/base/error_codes.h:32, from src/mongo/base/status.h:34, from src/mongo/bson/util/bson_extract.h:33, from src/mongo/bson/util/bson_extract.cpp:28: In member function 'void mongo::StringData::copyTo(char*, bool) const', inlined from 'void mongo::StringBuilderImpl::append(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:444:19, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:418:15, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(const char*) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:415:22, inlined from 'const mongo::BSONElement& mongo::BSONElement::chk(int) const' at src/mongo/bson/bsonelement.h:693:61: src/mongo/base/string_data.h:266:15: warning: 'void* memcpy(void*, const void*, size_t)' offset [0, 490] is out of the bounds [0, 0] [-Warray-bounds] Generating placeholder library build/opt/mongo/bson/util/libbson_extract.a Skipping ranlib for build/opt/mongo/bson/util/libbson_extract.a c++ -o build/opt/mongo/base/secure_allocator.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/base/secure_allocator.cpp Generating placeholder library build/opt/mongo/bson/mutable/libmutable_bson.a Skipping ranlib for build/opt/mongo/bson/mutable/libmutable_bson.a c++ -o build/opt/mongo/base/system_error.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/base/system_error.cpp Generating placeholder library build/opt/mongo/base/libsystem_error.a Skipping ranlib for build/opt/mongo/base/libsystem_error.a c++ -o build/opt/mongo/client/dbclient.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/dbclient.cpp Generating placeholder library build/opt/mongo/base/libsecure_allocator.a Skipping ranlib for build/opt/mongo/base/libsecure_allocator.a c++ -o build/opt/mongo/client/dbclient_rs.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/dbclient_rs.cpp In file included from src/third_party/boost-1.60.0/boost/mpl/aux_/na_assert.hpp:23, from src/third_party/boost-1.60.0/boost/mpl/arg.hpp:25, from src/third_party/boost-1.60.0/boost/mpl/placeholders.hpp:24, from src/third_party/boost-1.60.0/boost/iterator/iterator_categories.hpp:17, from src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:14, from src/third_party/boost-1.60.0/boost/filesystem/path.hpp:28, from src/third_party/boost-1.60.0/boost/filesystem/operations.hpp:25, from src/mongo/shell/dbshell.cpp:34: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: note: remove parentheses src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: note: remove parentheses In file included from build/opt/mongo/base/error_codes.h:32, from src/mongo/base/status.h:34, from src/mongo/base/initializer_function.h:30, from src/mongo/base/global_initializer_registerer.h:34, from src/mongo/base/init.h:44, from src/mongo/shell/dbshell.cpp:42: In member function 'void mongo::StringData::copyTo(char*, bool) const', inlined from 'void mongo::StringBuilderImpl::append(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:444:19, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:418:15, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(const char*) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:415:22, inlined from 'const mongo::BSONElement& mongo::BSONElement::chk(int) const' at src/mongo/bson/bsonelement.h:693:61, inlined from 'std::string mongo::BSONElement::String() const' at src/mongo/bson/bsonelement.h:96:19, inlined from 'void generateCompletions(const std::string&, std::vector >&)' at src/mongo/shell/dbshell.cpp:125:35: src/mongo/base/string_data.h:266:15: warning: 'void* memcpy(void*, const void*, size_t)' offset [0, 490] is out of the bounds [0, 0] [-Warray-bounds] c++ -o build/opt/mongo/client/dbclientcursor.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/dbclientcursor.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/client/replica_set_monitor_manager.h:37, from src/mongo/client/global_conn_pool.h:32, from src/mongo/client/dbclient_rs.cpp:40: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::weak_ptr, mongo::StringMapTraits>': src/mongo/client/replica_set_monitor_manager.h:106:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' c++ -o build/opt/mongo/client/index_spec.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/index_spec.cpp In file included from src/mongo/client/dbclientinterface.h:33, from src/mongo/client/dbclientcursor.h:35, from src/mongo/client/dbclientcursor.cpp:34: In member function 'void mongo::StringData::copyTo(char*, bool) const', inlined from 'void mongo::StringBuilderImpl::append(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:444:19, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:418:15, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(const char*) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:415:22, inlined from 'const mongo::BSONElement& mongo::BSONElement::chk(int) const' at src/mongo/bson/bsonelement.h:693:61: src/mongo/base/string_data.h:266:15: warning: 'void* memcpy(void*, const void*, size_t)' offset [0, 490] is out of the bounds [0, 0] [-Warray-bounds] In file included from src/mongo/client/query.h:33, from src/mongo/client/dbclientinterface.h:37: In member function 'void mongo::Message::setData(int, const char*, size_t)', inlined from 'void mongo::DBClientCursor::_assembleInit(mongo::Message&)' at src/mongo/client/dbclientcursor.cpp:138:19: src/mongo/util/net/message.h:433:19: warning: 'void* memcpy(void*, const void*, size_t)' offset 0 is out of the bounds [0, 0] [-Warray-bounds] In member function 'void mongo::Message::setData(int, const char*, size_t)', inlined from 'void mongo::DBClientCursor::requestMore()' at src/mongo/client/dbclientcursor.cpp:202:19: src/mongo/util/net/message.h:433:19: warning: 'void* memcpy(void*, const void*, size_t)' offset 0 is out of the bounds [0, 0] [-Warray-bounds] c++ -o build/opt/mongo/client/global_conn_pool.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/global_conn_pool.cpp In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:42, from src/mongo/client/dbclient.cpp:48: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/db/query/plan_cache_indexability.h:35, from src/mongo/db/query/plan_cache.h:38, from src/mongo/db/query/query_solution.h:38, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/query/explain.h:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/g++/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' In file included from src/mongo/executor/remote_command_response.h:38, from src/mongo/client/authenticate.h:35, from src/mongo/client/dbclient.cpp:40: In member function 'void mongo::Message::setData(int, const char*, size_t)', inlined from 'virtual void mongo::DBClientBase::insert(const std::string&, const std::vector >&, int)' at src/mongo/client/dbclient.cpp:1152:19: src/mongo/util/net/message.h:433:19: warning: 'void* memcpy(void*, const void*, size_t)' offset 0 is out of the bounds [0, 0] [-Warray-bounds] In member function 'void mongo::Message::setData(int, const char*, size_t)', inlined from 'virtual void mongo::DBClientBase::insert(const std::string&, mongo::BSONObj, int)' at src/mongo/client/dbclient.cpp:1133:19: src/mongo/util/net/message.h:433:19: warning: 'void* memcpy(void*, const void*, size_t)' offset 0 is out of the bounds [0, 0] [-Warray-bounds] In member function 'void mongo::Message::setData(int, const char*, size_t)', inlined from 'virtual void mongo::DBClientBase::remove(const std::string&, mongo::Query, int)' at src/mongo/client/dbclient.cpp:1168:19: src/mongo/util/net/message.h:433:19: warning: 'void* memcpy(void*, const void*, size_t)' offset 0 is out of the bounds [0, 0] [-Warray-bounds] In member function 'void mongo::Message::setData(int, const char*, size_t)', inlined from 'virtual void mongo::DBClientBase::update(const std::string&, mongo::Query, mongo::BSONObj, int)' at src/mongo/client/dbclient.cpp:1194:19: src/mongo/util/net/message.h:433:19: warning: 'void* memcpy(void*, const void*, size_t)' offset 0 is out of the bounds [0, 0] [-Warray-bounds] In member function 'void mongo::Message::setData(int, const char*, size_t)', inlined from 'virtual void mongo::DBClientBase::killCursor(long long int)' at src/mongo/client/dbclient.cpp:1206:14: src/mongo/util/net/message.h:433:19: warning: array subscript 0 is outside array bounds of 'char [0]' [-Warray-bounds] c++ -o build/opt/mongo/client/replica_set_monitor.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/replica_set_monitor.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/client/replica_set_monitor_manager.h:37, from src/mongo/client/global_conn_pool.h:32, from src/mongo/client/global_conn_pool.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::weak_ptr, mongo::StringMapTraits>': src/mongo/client/replica_set_monitor_manager.h:106:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' c++ -o build/opt/mongo/client/replica_set_monitor_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/replica_set_monitor_manager.cpp c++ -o build/opt/mongo/client/connection_string.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/connection_string.cpp c++ -o build/opt/mongo/client/mongo_uri.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/mongo_uri.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/client/replica_set_monitor_manager.h:37, from src/mongo/client/replica_set_monitor_manager.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::weak_ptr, mongo::StringMapTraits>': src/mongo/client/replica_set_monitor_manager.h:106:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' c++ -o build/opt/mongo/client/read_preference.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/read_preference.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/client/replica_set_monitor_manager.h:37, from src/mongo/client/global_conn_pool.h:32, from src/mongo/client/replica_set_monitor.cpp:39: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::weak_ptr, mongo::StringMapTraits>': src/mongo/client/replica_set_monitor_manager.h:106:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::weak_ptr; Traits = mongo::StringMapTraits]' Generating placeholder library build/opt/mongo/client/libclientdriver.a Skipping ranlib for build/opt/mongo/client/libclientdriver.a c++ -o build/opt/mongo/client/native_sasl_client_session.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/native_sasl_client_session.cpp Generating placeholder library build/opt/mongo/client/libread_preference.a Skipping ranlib for build/opt/mongo/client/libread_preference.a c++ -o build/opt/mongo/client/sasl_client_authenticate.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/sasl_client_authenticate.cpp In file included from src/third_party/boost-1.60.0/boost/mpl/aux_/na_assert.hpp:23, from src/third_party/boost-1.60.0/boost/mpl/arg.hpp:25, from src/third_party/boost-1.60.0/boost/mpl/placeholders.hpp:24, from src/third_party/boost-1.60.0/boost/iterator/iterator_categories.hpp:17, from src/third_party/boost-1.60.0/boost/iterator/iterator_adaptor.hpp:14, from src/third_party/boost-1.60.0/boost/iterator/transform_iterator.hpp:12, from src/third_party/boost-1.60.0/boost/algorithm/string/case_conv.hpp:17, from src/mongo/client/mongo_uri.cpp:45: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: note: remove parentheses src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: note: remove parentheses In file included from src/third_party/boost-1.60.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.60.0/boost/concept_check.hpp:20, from src/third_party/boost-1.60.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.60.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.60.0/boost/range/size.hpp:21, from src/third_party/boost-1.60.0/boost/range/functions.hpp:20, from src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:38, from src/third_party/boost-1.60.0/boost/range/iterator_range.hpp:13, from src/third_party/boost-1.60.0/boost/range/as_literal.hpp:22, from src/third_party/boost-1.60.0/boost/algorithm/string/case_conv.hpp:19: src/third_party/boost-1.60.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > >]': src/third_party/boost-1.60.0/boost/concept_check.hpp:167:53: required from 'struct boost::CopyConstructible<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/range/concepts.hpp:123:16: required from 'struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/range/concepts.hpp:145:16: required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied > > >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/range/algorithm/equal.hpp:174:61: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range<__gnu_cxx::__normal_iterator > >; SinglePassRange2 = boost::iterator_range<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:645:32: required from 'bool boost::operator==(const iterator_range&, const iterator_range&) [with Iterator1T = __gnu_cxx::__normal_iterator >; Iterator2T = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:567:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; Facade2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC1 = forward_traversal_tag; Reference1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC2 = forward_traversal_tag; Reference2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/client/mongo_uri.cpp:140:58: required from here src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] In file included from src/third_party/boost-1.60.0/boost/concept_check.hpp:31: src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::CopyConstructible<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]': src/third_party/boost-1.60.0/boost/concept_check.hpp:208:53: required from 'struct boost::Convertible' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::Convertible]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: required from 'struct boost::mpl::if_ >, boost::concepts::constraint >, boost::concepts::requirement::************> >' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:51:8: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/range/algorithm/equal.hpp:174:61: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range<__gnu_cxx::__normal_iterator > >; SinglePassRange2 = boost::iterator_range<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:645:32: required from 'bool boost::operator==(const iterator_range&, const iterator_range&) [with Iterator1T = __gnu_cxx::__normal_iterator >; Iterator2T = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:567:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; Facade2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC1 = forward_traversal_tag; Reference1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC2 = forward_traversal_tag; Reference2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/client/mongo_uri.cpp:140:58: required from here src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Convertible]' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::Convertible]': src/third_party/boost-1.60.0/boost/iterator/iterator_concepts.hpp:116:55: required from 'struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/range/concepts.hpp:145:16: required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied > > >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied > > >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/range/algorithm/equal.hpp:174:61: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range<__gnu_cxx::__normal_iterator > >; SinglePassRange2 = boost::iterator_range<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:645:32: required from 'bool boost::operator==(const iterator_range&, const iterator_range&) [with Iterator1T = __gnu_cxx::__normal_iterator >; Iterator2T = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:567:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; Facade2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC1 = forward_traversal_tag; Reference1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC2 = forward_traversal_tag; Reference2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/client/mongo_uri.cpp:140:58: required from here src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/concept_check.hpp:208:206: note: in a call to non-static member function 'boost::Convertible::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::incrementable_traversal_tag]' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > >]': src/third_party/boost-1.60.0/boost/range/concepts.hpp:134:61: required from 'struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/range/concepts.hpp:145:16: required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied > > >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied > > >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/range/algorithm/equal.hpp:174:61: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range<__gnu_cxx::__normal_iterator > >; SinglePassRange2 = boost::iterator_range<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:645:32: required from 'bool boost::operator==(const iterator_range&, const iterator_range&) [with Iterator1T = __gnu_cxx::__normal_iterator >; Iterator2T = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:567:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; Facade2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC1 = forward_traversal_tag; Reference1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC2 = forward_traversal_tag; Reference2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/client/mongo_uri.cpp:140:58: required from here src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > >]': src/third_party/boost-1.60.0/boost/concept_check.hpp:233:53: required from 'struct boost::EqualityComparable<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/range/concepts.hpp:145:16: required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied > > >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied > > >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/range/algorithm/equal.hpp:174:61: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range<__gnu_cxx::__normal_iterator > >; SinglePassRange2 = boost::iterator_range<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:645:32: required from 'bool boost::operator==(const iterator_range&, const iterator_range&) [with Iterator1T = __gnu_cxx::__normal_iterator >; Iterator2T = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:567:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; Facade2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC1 = forward_traversal_tag; Reference1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC2 = forward_traversal_tag; Reference2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/client/mongo_uri.cpp:140:58: required from here src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::EqualityComparable<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]': src/third_party/boost-1.60.0/boost/concept_check.hpp:208:53: required from 'struct boost::Convertible' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::Convertible]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: required from 'struct boost::mpl::if_ >, boost::concepts::constraint >, boost::concepts::requirement::************> >' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:51:8: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/range/algorithm/equal.hpp:174:61: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range<__gnu_cxx::__normal_iterator > >; SinglePassRange2 = boost::iterator_range<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:645:32: required from 'bool boost::operator==(const iterator_range&, const iterator_range&) [with Iterator1T = __gnu_cxx::__normal_iterator >; Iterator2T = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:567:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; Facade2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC1 = forward_traversal_tag; Reference1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC2 = forward_traversal_tag; Reference2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/client/mongo_uri.cpp:140:58: required from here src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Convertible]' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::Convertible]': src/third_party/boost-1.60.0/boost/range/concepts.hpp:150:61: required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied > > >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied > > >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: required from 'struct boost::mpl::if_ > > >, boost::concepts::constraint > > >, boost::concepts::requirement > >::************> >' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:51:8: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/range/algorithm/equal.hpp:174:61: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range<__gnu_cxx::__normal_iterator > >; SinglePassRange2 = boost::iterator_range<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:645:32: required from 'bool boost::operator==(const iterator_range&, const iterator_range&) [with Iterator1T = __gnu_cxx::__normal_iterator >; Iterator2T = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:567:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; Facade2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC1 = forward_traversal_tag; Reference1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC2 = forward_traversal_tag; Reference2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/client/mongo_uri.cpp:140:58: required from here src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/concept_check.hpp:208:206: note: in a call to non-static member function 'boost::Convertible::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::single_pass_traversal_tag]' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > >]': src/third_party/boost-1.60.0/boost/range/concepts.hpp:156:61: required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied > > >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied > > >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: required from 'struct boost::mpl::if_ > > >, boost::concepts::constraint > > >, boost::concepts::requirement > >::************> >' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:51:8: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/range/algorithm/equal.hpp:174:61: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range<__gnu_cxx::__normal_iterator > >; SinglePassRange2 = boost::iterator_range<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:645:32: required from 'bool boost::operator==(const iterator_range&, const iterator_range&) [with Iterator1T = __gnu_cxx::__normal_iterator >; Iterator2T = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:567:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; Facade2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC1 = forward_traversal_tag; Reference1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC2 = forward_traversal_tag; Reference2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/client/mongo_uri.cpp:140:58: required from here src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]': src/third_party/boost-1.60.0/boost/range/concepts.hpp:276:57: required from 'struct boost::SinglePassRangeConcept > > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::SinglePassRangeConcept > > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied > > > >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied > > > >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/range/algorithm/equal.hpp:174:61: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range<__gnu_cxx::__normal_iterator > >; SinglePassRange2 = boost::iterator_range<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:645:32: required from 'bool boost::operator==(const iterator_range&, const iterator_range&) [with Iterator1T = __gnu_cxx::__normal_iterator >; Iterator2T = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:567:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; Facade2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC1 = forward_traversal_tag; Reference1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC2 = forward_traversal_tag; Reference2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/client/mongo_uri.cpp:140:58: required from here src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/range/concepts.hpp:156:228: note: in a call to non-static member function 'boost::range_detail::SinglePassIteratorConcept::~SinglePassIteratorConcept() [with Iterator = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > > >]': src/third_party/boost-1.60.0/boost/range/concepts.hpp:282:57: required from 'struct boost::SinglePassRangeConcept > > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::SinglePassRangeConcept > > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied > > > >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied > > > >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/range/algorithm/equal.hpp:174:61: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range<__gnu_cxx::__normal_iterator > >; SinglePassRange2 = boost::iterator_range<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:645:32: required from 'bool boost::operator==(const iterator_range&, const iterator_range&) [with Iterator1T = __gnu_cxx::__normal_iterator >; Iterator2T = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:567:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; Facade2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC1 = forward_traversal_tag; Reference1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC2 = forward_traversal_tag; Reference2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/client/mongo_uri.cpp:140:58: required from here src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::SinglePassRangeConcept > > >]' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement::failed() [with Model = boost::SinglePassRangeConcept > > >]': src/third_party/boost-1.60.0/boost/range/algorithm/equal.hpp:174:61: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range<__gnu_cxx::__normal_iterator > >; SinglePassRange2 = boost::iterator_range<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:645:32: required from 'bool boost::operator==(const iterator_range&, const iterator_range&) [with Iterator1T = __gnu_cxx::__normal_iterator >; Iterator2T = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:567:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; Facade2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC1 = forward_traversal_tag; Reference1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC2 = forward_traversal_tag; Reference2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/client/mongo_uri.cpp:140:58: required from here src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/range/concepts.hpp:282:221: note: in a call to non-static member function 'boost::SinglePassRangeConcept::~SinglePassRangeConcept() [with T = const boost::iterator_range<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::CopyConstructible<__gnu_cxx::__normal_iterator > >]': src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > >]' src/third_party/boost-1.60.0/boost/concept_check.hpp:167:53: required from 'struct boost::CopyConstructible<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/range/concepts.hpp:123:16: required from 'struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/range/concepts.hpp:145:16: required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/range/algorithm/equal.hpp:174:61: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range<__gnu_cxx::__normal_iterator > >; SinglePassRange2 = boost::iterator_range<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:645:32: required from 'bool boost::operator==(const iterator_range&, const iterator_range&) [with Iterator1T = __gnu_cxx::__normal_iterator >; Iterator2T = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:567:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; Facade2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC1 = forward_traversal_tag; Reference1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC2 = forward_traversal_tag; Reference2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/client/mongo_uri.cpp:140:58: required from here src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/concept_check.hpp:167:212: note: in a call to non-static member function 'boost::CopyConstructible::~CopyConstructible() [with TT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Convertible]': src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]' src/third_party/boost-1.60.0/boost/concept_check.hpp:208:53: required from 'struct boost::Convertible' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::Convertible]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/range/algorithm/equal.hpp:174:61: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range<__gnu_cxx::__normal_iterator > >; SinglePassRange2 = boost::iterator_range<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:645:32: required from 'bool boost::operator==(const iterator_range&, const iterator_range&) [with Iterator1T = __gnu_cxx::__normal_iterator >; Iterator2T = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:567:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; Facade2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC1 = forward_traversal_tag; Reference1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC2 = forward_traversal_tag; Reference2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/client/mongo_uri.cpp:140:58: required from here src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/concept_check.hpp:208:206: note: in a call to non-static member function 'boost::Convertible::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::incrementable_traversal_tag]' src/third_party/boost-1.60.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator > >]': src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > >]' src/third_party/boost-1.60.0/boost/range/concepts.hpp:134:61: required from 'struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/range/concepts.hpp:145:16: required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied > > >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/range/algorithm/equal.hpp:174:61: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range<__gnu_cxx::__normal_iterator > >; SinglePassRange2 = boost::iterator_range<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:645:32: required from 'bool boost::operator==(const iterator_range&, const iterator_range&) [with Iterator1T = __gnu_cxx::__normal_iterator >; Iterator2T = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:567:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; Facade2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC1 = forward_traversal_tag; Reference1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC2 = forward_traversal_tag; Reference2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/client/mongo_uri.cpp:140:58: required from here src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/range/concepts.hpp:134:231: note: in a call to non-static member function 'boost::range_detail::IncrementableIteratorConcept::~IncrementableIteratorConcept() [with Iterator = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::EqualityComparable<__gnu_cxx::__normal_iterator > >]': src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > >]' src/third_party/boost-1.60.0/boost/concept_check.hpp:233:53: required from 'struct boost::EqualityComparable<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/range/concepts.hpp:145:16: required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied > > >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/range/algorithm/equal.hpp:174:61: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range<__gnu_cxx::__normal_iterator > >; SinglePassRange2 = boost::iterator_range<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:645:32: required from 'bool boost::operator==(const iterator_range&, const iterator_range&) [with Iterator1T = __gnu_cxx::__normal_iterator >; Iterator2T = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:567:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; Facade2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC1 = forward_traversal_tag; Reference1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC2 = forward_traversal_tag; Reference2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/client/mongo_uri.cpp:140:58: required from here src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/concept_check.hpp:233:213: note: in a call to non-static member function 'boost::EqualityComparable::~EqualityComparable() [with TT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::Convertible]': src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements >]' src/third_party/boost-1.60.0/boost/concept_check.hpp:208:53: required from 'struct boost::Convertible' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::Convertible]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/range/algorithm/equal.hpp:174:61: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range<__gnu_cxx::__normal_iterator > >; SinglePassRange2 = boost::iterator_range<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:645:32: required from 'bool boost::operator==(const iterator_range&, const iterator_range&) [with Iterator1T = __gnu_cxx::__normal_iterator >; Iterator2T = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:567:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; Facade2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC1 = forward_traversal_tag; Reference1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC2 = forward_traversal_tag; Reference2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/client/mongo_uri.cpp:140:58: required from here src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/concept_check.hpp:208:206: note: in a call to non-static member function 'boost::Convertible::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::single_pass_traversal_tag]' src/third_party/boost-1.60.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]': src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > >]' src/third_party/boost-1.60.0/boost/range/concepts.hpp:156:61: required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied > > >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied > > >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/range/algorithm/equal.hpp:174:61: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range<__gnu_cxx::__normal_iterator > >; SinglePassRange2 = boost::iterator_range<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:645:32: required from 'bool boost::operator==(const iterator_range&, const iterator_range&) [with Iterator1T = __gnu_cxx::__normal_iterator >; Iterator2T = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:567:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; Facade2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC1 = forward_traversal_tag; Reference1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC2 = forward_traversal_tag; Reference2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/client/mongo_uri.cpp:140:58: required from here src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/range/concepts.hpp:156:228: note: in a call to non-static member function 'boost::range_detail::SinglePassIteratorConcept::~SinglePassIteratorConcept() [with Iterator = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements::~usage_requirements() [with Model = boost::SinglePassRangeConcept > > >]': src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:39:47: required from 'static void boost::concepts::requirement::failed() [with Model = boost::concepts::usage_requirements > > > >]' src/third_party/boost-1.60.0/boost/range/concepts.hpp:282:57: required from 'struct boost::SinglePassRangeConcept > > >' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of 'template boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints*) [with Model = boost::SinglePassRangeConcept > > >]' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:42:49: required from 'const bool boost::concepts::not_satisfied > > > >::value' src/third_party/boost-1.60.0/boost/concept/detail/has_constraints.hpp:45:31: required from 'struct boost::concepts::not_satisfied > > > >' src/third_party/boost-1.60.0/boost/mpl/if.hpp:63:33: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] src/third_party/boost-1.60.0/boost/range/algorithm/equal.hpp:174:61: required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range<__gnu_cxx::__normal_iterator > >; SinglePassRange2 = boost::iterator_range<__gnu_cxx::__normal_iterator > >]' src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:645:32: required from 'bool boost::operator==(const iterator_range&, const iterator_range&) [with Iterator1T = __gnu_cxx::__normal_iterator >; Iterator2T = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:333:32: required from 'bool boost::algorithm::split_iterator::equal(const boost::algorithm::split_iterator&) const [with IteratorT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:567:26: required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; Facade2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:660: required from 'typename boost::iterators::detail::enable_if_interoperable::type>::type boost::iterators::operator!=(const iterator_facade&, const iterator_facade&) [with Derived1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC1 = forward_traversal_tag; Reference1 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator > >; V2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >; TC2 = forward_traversal_tag; Reference2 = const boost::iterator_range<__gnu_cxx::__normal_iterator > >&; Difference2 = long int; typename detail::enable_if_interoperable::type>::type = bool; typename boost::mpl::apply2::type = bool]' src/mongo/client/mongo_uri.cpp:140:58: required from here src/third_party/boost-1.60.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/range/concepts.hpp:282:221: note: in a call to non-static member function 'boost::SinglePassRangeConcept::~SinglePassRangeConcept() [with T = const boost::iterator_range<__gnu_cxx::__normal_iterator > >]' Generating placeholder library build/opt/mongo/client/libconnection_string.a Skipping ranlib for build/opt/mongo/client/libconnection_string.a c++ -o build/opt/mongo/client/sasl_client_authenticate_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/sasl_client_authenticate_impl.cpp c++ -o build/opt/mongo/client/sasl_client_conversation.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/sasl_client_conversation.cpp c++ -o build/opt/mongo/client/sasl_client_session.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/sasl_client_session.cpp c++ -o build/opt/mongo/client/sasl_plain_client_conversation.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/sasl_plain_client_conversation.cpp c++ -o build/opt/mongo/client/sasl_scramsha1_client_conversation.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/sasl_scramsha1_client_conversation.cpp c++ -o build/opt/mongo/client/scram_sha1_client_cache.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/scram_sha1_client_cache.cpp c++ -o build/opt/mongo/crypto/mechanism_scram.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/crypto/mechanism_scram.cpp Generating placeholder library build/opt/mongo/crypto/libscramauth.a Skipping ranlib for build/opt/mongo/crypto/libscramauth.a c++ -o build/opt/mongo/crypto/sha1_block.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/crypto/sha1_block.cpp c++ -o build/opt/mongo/crypto/sha1_block_tom.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/crypto/sha1_block_tom.cpp In file included from src/third_party/boost-1.60.0/boost/mpl/aux_/na_assert.hpp:23, from src/third_party/boost-1.60.0/boost/mpl/arg.hpp:25, from src/third_party/boost-1.60.0/boost/mpl/placeholders.hpp:24, from src/third_party/boost-1.60.0/boost/iterator/iterator_categories.hpp:17, from src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:14, from src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:27, from src/third_party/boost-1.60.0/boost/algorithm/string/replace.hpp:16, from src/mongo/client/sasl_scramsha1_client_conversation.cpp:33: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: note: remove parentheses src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: note: remove parentheses In file included from src/third_party/boost-1.60.0/boost/concept/assert.hpp:35, from src/third_party/boost-1.60.0/boost/concept_check.hpp:20, from src/third_party/boost-1.60.0/boost/range/concepts.hpp:19, from src/third_party/boost-1.60.0/boost/range/size_type.hpp:20, from src/third_party/boost-1.60.0/boost/range/size.hpp:21, from src/third_party/boost-1.60.0/boost/range/functions.hpp:20, from src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:38: src/third_party/boost-1.60.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::constraint::failed() [with Model = boost::algorithm::FinderConcept, __gnu_cxx::__normal_iterator > >]': src/third_party/boost-1.60.0/boost/algorithm/string/find_format.hpp:99:61: required from 'void boost::algorithm::find_format_all(SequenceT&, FinderT, FormatterT) [with SequenceT = std::__cxx11::basic_string; FinderT = detail::first_finderF; FormatterT = detail::const_formatF >]' src/third_party/boost-1.60.0/boost/algorithm/string/replace.hpp:654:48: required from 'void boost::algorithm::replace_all(SequenceT&, const Range1T&, const Range2T&) [with SequenceT = std::__cxx11::basic_string; Range1T = char [2]; Range2T = char [4]]' src/mongo/client/sasl_scramsha1_client_conversation.cpp:83:23: required from here src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:47:52: warning: 'this' pointer is null [-Wnonnull] In file included from src/third_party/boost-1.60.0/boost/algorithm/string/find_format.hpp:22, from src/third_party/boost-1.60.0/boost/algorithm/string/replace.hpp:22: src/third_party/boost-1.60.0/boost/algorithm/string/concept.hpp:40:18: note: in a call to non-static member function 'void boost::algorithm::FinderConcept::constraints() [with FinderT = boost::algorithm::detail::first_finderF; IteratorT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::constraint::failed() [with Model = boost::algorithm::FormatterConcept >, boost::algorithm::detail::first_finderF, __gnu_cxx::__normal_iterator > >]': src/third_party/boost-1.60.0/boost/algorithm/string/find_format.hpp:104:61: required from 'void boost::algorithm::find_format_all(SequenceT&, FinderT, FormatterT) [with SequenceT = std::__cxx11::basic_string; FinderT = detail::first_finderF; FormatterT = detail::const_formatF >]' src/third_party/boost-1.60.0/boost/algorithm/string/replace.hpp:654:48: required from 'void boost::algorithm::replace_all(SequenceT&, const Range1T&, const Range2T&) [with SequenceT = std::__cxx11::basic_string; Range1T = char [2]; Range2T = char [4]]' src/mongo/client/sasl_scramsha1_client_conversation.cpp:83:23: required from here src/third_party/boost-1.60.0/boost/concept/detail/general.hpp:47:52: warning: 'this' pointer is null [-Wnonnull] src/third_party/boost-1.60.0/boost/algorithm/string/concept.hpp:65:18: note: in a call to non-static member function 'void boost::algorithm::FormatterConcept::constraints() [with FormatterT = boost::algorithm::detail::const_formatF >; FinderT = boost::algorithm::detail::first_finderF; IteratorT = __gnu_cxx::__normal_iterator >]' Generating placeholder library build/opt/mongo/client/libsasl_client.a Skipping ranlib for build/opt/mongo/client/libsasl_client.a gcc -o build/opt/mongo/crypto/tom/crypt_argchk.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/crypto/tom/crypt_argchk.c Generating placeholder library build/opt/mongo/crypto/libsha1_block_tom.a Skipping ranlib for build/opt/mongo/crypto/libsha1_block_tom.a gcc -o build/opt/mongo/crypto/tom/crypt_find_hash.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/crypto/tom/crypt_find_hash.c gcc -o build/opt/mongo/crypto/tom/crypt_hash_descriptor.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/crypto/tom/crypt_hash_descriptor.c gcc -o build/opt/mongo/crypto/tom/crypt_hash_is_valid.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/crypto/tom/crypt_hash_is_valid.c gcc -o build/opt/mongo/crypto/tom/crypt_register_hash.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/crypto/tom/crypt_register_hash.c gcc -o build/opt/mongo/crypto/tom/hash_memory.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/crypto/tom/hash_memory.c gcc -o build/opt/mongo/crypto/tom/hmac_done.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/crypto/tom/hmac_done.c gcc -o build/opt/mongo/crypto/tom/hmac_init.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/crypto/tom/hmac_init.c Generating placeholder library build/opt/mongo/crypto/libsha1_block.a Skipping ranlib for build/opt/mongo/crypto/libsha1_block.a gcc -o build/opt/mongo/crypto/tom/hmac_memory.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/crypto/tom/hmac_memory.c gcc -o build/opt/mongo/crypto/tom/hmac_process.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/crypto/tom/hmac_process.c gcc -o build/opt/mongo/crypto/tom/sha1.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/crypto/tom/sha1.c gcc -o build/opt/mongo/crypto/tom/zeromem.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/crypto/tom/zeromem.c c++ -o build/opt/mongo/db/auth/role_name.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/auth/role_name.cpp c++ -o build/opt/mongo/db/auth/internal_user_auth.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/auth/internal_user_auth.cpp Generating placeholder library build/opt/mongo/crypto/tom/libtomcrypt.a Skipping ranlib for build/opt/mongo/crypto/tom/libtomcrypt.a c++ -o build/opt/mongo/db/bson/dotted_path_support.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/bson/dotted_path_support.cpp Generating placeholder library build/opt/mongo/db/auth/libauth_rolename.a Skipping ranlib for build/opt/mongo/db/auth/libauth_rolename.a c++ -o build/opt/mongo/db/catalog/index_key_validate.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/catalog/index_key_validate.cpp Generating placeholder library build/opt/mongo/db/auth/libauthcommon.a Skipping ranlib for build/opt/mongo/db/auth/libauthcommon.a c++ -o build/opt/mongo/db/commands/test_commands_enabled.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/commands/test_commands_enabled.cpp Generating placeholder library build/opt/mongo/db/bson/libdotted_path_support.a Skipping ranlib for build/opt/mongo/db/bson/libdotted_path_support.a c++ -o build/opt/mongo/db/fts/fts_index_format.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/fts/fts_index_format.cpp In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:42, from src/mongo/db/commands/test_commands_enabled.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/db/query/plan_cache_indexability.h:35, from src/mongo/db/query/plan_cache.h:38, from src/mongo/db/query/query_solution.h:38, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/query/explain.h:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/g++/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' Generating placeholder library build/opt/mongo/db/commands/libtest_commands_enabled.a Skipping ranlib for build/opt/mongo/db/commands/libtest_commands_enabled.a In file included from src/mongo/util/string_map.h:36, from src/mongo/db/fts/stop_words.h:38, from src/mongo/db/fts/fts_spec.h:41, from src/mongo/db/fts/fts_index_format.cpp:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' c++ -o build/opt/mongo/db/fts/fts_matcher.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/fts/fts_matcher.cpp c++ -o build/opt/mongo/db/fts/fts_query_impl.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/fts/fts_query_impl.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/db/collection_index_usage_tracker.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:42, from src/mongo/db/index/index_descriptor.h:36, from src/mongo/db/catalog/index_key_validate.h:31, from src/mongo/db/catalog/index_key_validate.cpp:31: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:34: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/g++/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' Generating placeholder library build/opt/mongo/db/catalog/libindex_key_validate.a Skipping ranlib for build/opt/mongo/db/catalog/libindex_key_validate.a c++ -o build/opt/mongo/db/fts/fts_query_parser.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/fts/fts_query_parser.cpp c++ -o build/opt/mongo/db/fts/fts_spec.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/fts/fts_spec.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/db/fts/stop_words.h:38, from src/mongo/db/fts/fts_spec.h:41, from src/mongo/db/fts/fts_element_iterator.h:35, from src/mongo/db/fts/fts_matcher.cpp:33: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' c++ -o build/opt/mongo/db/fts/fts_spec_legacy.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/fts/fts_spec_legacy.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/db/fts/stop_words.h:38, from src/mongo/db/fts/fts_spec.h:41, from src/mongo/db/fts/fts_query_impl.cpp:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/db/fts/fts_query_impl.cpp: In member function 'virtual std::unique_ptr mongo::fts::FTSQueryImpl::clone() const': src/mongo/db/fts/fts_query_impl.cpp:153:21: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/fts/fts_query_impl.cpp:153:21: note: remove 'std::move' call c++ -o build/opt/mongo/db/fts/fts_language.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/fts/fts_language.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/db/fts/stop_words.h:38, from src/mongo/db/fts/fts_spec.h:41, from src/mongo/db/fts/fts_spec_legacy.cpp:29: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::fts::ScoreHelperStruct, mongo::StringMapTraits>': src/mongo/db/fts/fts_spec_legacy.cpp:74:20: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::fts::ScoreHelperStruct; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::fts::ScoreHelperStruct; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::fts::ScoreHelperStruct; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::fts::ScoreHelperStruct; Traits = mongo::StringMapTraits]' c++ -o build/opt/mongo/db/fts/fts_basic_phrase_matcher.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/fts/fts_basic_phrase_matcher.cpp c++ -o build/opt/mongo/db/fts/fts_basic_tokenizer.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/fts/fts_basic_tokenizer.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/db/fts/stop_words.h:38, from src/mongo/db/fts/fts_spec.h:41, from src/mongo/db/fts/fts_spec.cpp:32: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::fts::ScoreHelperStruct, mongo::StringMapTraits>': src/mongo/db/fts/fts_spec.cpp:195:20: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::fts::ScoreHelperStruct; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::fts::ScoreHelperStruct; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::fts::ScoreHelperStruct; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::fts::ScoreHelperStruct; Traits = mongo::StringMapTraits]' In file included from build/opt/mongo/base/error_codes.h:32, from src/mongo/base/status.h:34, from src/mongo/base/status_with.h:38, from src/mongo/db/fts/fts_spec.h:37: In member function 'void mongo::StringData::copyTo(char*, bool) const', inlined from 'void mongo::StringBuilderImpl::append(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:444:19, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:418:15, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(const char*) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:415:22, inlined from 'const mongo::BSONElement& mongo::BSONElement::chk(int) const' at src/mongo/bson/bsonelement.h:693:61: src/mongo/base/string_data.h:266:15: warning: 'void* memcpy(void*, const void*, size_t)' offset [0, 490] is out of the bounds [0, 0] [-Warray-bounds] c++ -o build/opt/mongo/db/fts/fts_unicode_phrase_matcher.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/fts/fts_unicode_phrase_matcher.cpp c++ -o build/opt/mongo/db/fts/fts_unicode_tokenizer.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/fts/fts_unicode_tokenizer.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/db/fts/stop_words.h:38, from src/mongo/db/fts/fts_spec.h:41, from src/mongo/db/fts/fts_basic_tokenizer.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' c++ -o build/opt/mongo/db/fts/fts_util.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/fts/fts_util.cpp c++ -o build/opt/mongo/db/fts/fts_element_iterator.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/fts/fts_element_iterator.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/db/fts/stop_words.h:38, from src/mongo/db/fts/fts_spec.h:41, from src/mongo/db/fts/fts_unicode_tokenizer.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' c++ -o build/opt/mongo/db/fts/stemmer.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/fts/stemmer.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/db/fts/stop_words.h:38, from src/mongo/db/fts/fts_spec.h:41, from src/mongo/db/fts/fts_element_iterator.h:35, from src/mongo/db/fts/fts_element_iterator.cpp:30: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' c++ -o build/opt/mongo/db/fts/stop_words.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/fts/stop_words.cpp /usr/pkg/bin/python2.7 src/mongo/db/fts/generate_stop_words.py src/mongo/db/fts/stop_words_danish.txt src/mongo/db/fts/stop_words_dutch.txt src/mongo/db/fts/stop_words_english.txt src/mongo/db/fts/stop_words_finnish.txt src/mongo/db/fts/stop_words_french.txt src/mongo/db/fts/stop_words_german.txt src/mongo/db/fts/stop_words_hungarian.txt src/mongo/db/fts/stop_words_italian.txt src/mongo/db/fts/stop_words_norwegian.txt src/mongo/db/fts/stop_words_portuguese.txt src/mongo/db/fts/stop_words_romanian.txt src/mongo/db/fts/stop_words_russian.txt src/mongo/db/fts/stop_words_spanish.txt src/mongo/db/fts/stop_words_swedish.txt src/mongo/db/fts/stop_words_turkish.txt build/opt/mongo/db/fts/stop_words_list.h build/opt/mongo/db/fts/stop_words_list.cpp header: build/opt/mongo/db/fts/stop_words_list.h source: build/opt/mongo/db/fts/stop_words_list.cpp language_files: src/mongo/db/fts/stop_words_danish.txt src/mongo/db/fts/stop_words_dutch.txt src/mongo/db/fts/stop_words_english.txt src/mongo/db/fts/stop_words_finnish.txt src/mongo/db/fts/stop_words_french.txt src/mongo/db/fts/stop_words_german.txt src/mongo/db/fts/stop_words_hungarian.txt src/mongo/db/fts/stop_words_italian.txt src/mongo/db/fts/stop_words_norwegian.txt src/mongo/db/fts/stop_words_portuguese.txt src/mongo/db/fts/stop_words_romanian.txt src/mongo/db/fts/stop_words_russian.txt src/mongo/db/fts/stop_words_spanish.txt src/mongo/db/fts/stop_words_swedish.txt src/mongo/db/fts/stop_words_turkish.txt c++ -o build/opt/mongo/db/fts/stop_words_list.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc build/opt/mongo/db/fts/stop_words_list.cpp c++ -o build/opt/mongo/db/fts/tokenizer.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/fts/tokenizer.cpp In file included from src/mongo/util/string_map.h:36, from build/opt/mongo/db/fts/stop_words_list.h:5, from build/opt/mongo/db/fts/stop_words_list.cpp:1: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::set >, mongo::StringMapTraits>': build/opt/mongo/db/fts/stop_words_list.cpp:106:46: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::set >; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::set >; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::set >; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::set >; Traits = mongo::StringMapTraits]' /usr/pkg/bin/python2.7 src/mongo/db/fts/unicode/gen_casefold_map.py src/third_party/unicode-8.0.0/CaseFolding.txt build/opt/mongo/db/fts/unicode/codepoints_casefold.cpp c++ -o build/opt/mongo/db/fts/unicode/codepoints_casefold.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc build/opt/mongo/db/fts/unicode/codepoints_casefold.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/db/fts/stop_words.h:38, from src/mongo/db/fts/stop_words.cpp:34: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.cpp:46:39: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::set >, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.cpp:67:38: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::set >; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::set >; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::set >; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::set >; Traits = mongo::StringMapTraits]' /usr/pkg/bin/python2.7 src/mongo/db/fts/unicode/gen_delimiter_list.py src/third_party/unicode-8.0.0/PropList.txt build/opt/mongo/db/fts/unicode/codepoints_delimiter_list.cpp c++ -o build/opt/mongo/db/fts/unicode/codepoints_delimiter_list.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc build/opt/mongo/db/fts/unicode/codepoints_delimiter_list.cpp /usr/pkg/bin/python2.7 src/mongo/db/fts/unicode/gen_diacritic_list.py src/third_party/unicode-8.0.0/PropList.txt build/opt/mongo/db/fts/unicode/codepoints_diacritic_list.cpp c++ -o build/opt/mongo/db/fts/unicode/codepoints_diacritic_list.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc build/opt/mongo/db/fts/unicode/codepoints_diacritic_list.cpp Generating placeholder library build/opt/mongo/db/fts/libbase.a Skipping ranlib for build/opt/mongo/db/fts/libbase.a c++ -o build/opt/mongo/db/fts/unicode/codepoints_diacritic_map.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/fts/unicode/codepoints_diacritic_map.cpp c++ -o build/opt/mongo/db/fts/unicode/string.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/fts/unicode/string.cpp c++ -o build/opt/mongo/db/geo/hash.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/geo/hash.cpp c++ -o build/opt/mongo/db/geo/shapes.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/geo/shapes.cpp Generating placeholder library build/opt/mongo/db/fts/unicode/libunicode.a Skipping ranlib for build/opt/mongo/db/fts/unicode/libunicode.a c++ -o build/opt/mongo/db/geo/big_polygon.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/geo/big_polygon.cpp c++ -o build/opt/mongo/db/geo/r2_region_coverer.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/geo/r2_region_coverer.cpp c++ -o build/opt/mongo/db/geo/geoparser.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/geo/geoparser.cpp c++ -o build/opt/mongo/db/geo/geometry_container.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/geo/geometry_container.cpp Generating placeholder library build/opt/mongo/db/geo/libgeometry.a Skipping ranlib for build/opt/mongo/db/geo/libgeometry.a c++ -o build/opt/mongo/db/index/expression_params.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/index/expression_params.cpp c++ -o build/opt/mongo/db/index/s2_common.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/index/s2_common.cpp In file included from src/mongo/logger/log_severity.h:33, from src/third_party/s2/base/logging.h:19, from src/third_party/s2/s2.h:23, from src/mongo/db/geo/s2.h:40, from src/mongo/db/geo/big_polygon.h:33, from src/mongo/db/geo/shapes.h:36, from src/mongo/db/geo/geoparser.h:31, from src/mongo/db/geo/geoparser.cpp:31: In member function 'void mongo::StringData::copyTo(char*, bool) const', inlined from 'void mongo::StringBuilderImpl::append(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:444:19, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:418:15, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(const char*) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:415:22, inlined from 'const mongo::BSONElement& mongo::BSONElement::chk(int) const' at src/mongo/bson/bsonelement.h:693:61: src/mongo/base/string_data.h:266:15: warning: 'void* memcpy(void*, const void*, size_t)' offset [0, 490] is out of the bounds [0, 0] [-Warray-bounds] Generating placeholder library build/opt/mongo/db/geo/libgeoparser.a Skipping ranlib for build/opt/mongo/db/geo/libgeoparser.a c++ -o build/opt/mongo/db/index/external_key_generator.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/index/external_key_generator.cpp c++ -o build/opt/mongo/db/index/index_descriptor.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/index/index_descriptor.cpp Generating placeholder library build/opt/mongo/db/index/libexpression_params.a Skipping ranlib for build/opt/mongo/db/index/libexpression_params.a c++ -o build/opt/mongo/db/index/btree_key_generator.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/index/btree_key_generator.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/db/fts/stop_words.h:38, from src/mongo/db/fts/fts_spec.h:41, from src/mongo/db/index/external_key_generator.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, bool, mongo::StringMapTraits>': src/mongo/db/fts/stop_words.h:62:21: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = bool; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:34, from src/mongo/db/catalog/collection.h:42, from src/mongo/db/index/index_descriptor.h:36, from src/mongo/db/index/btree_key_generator.h:36, from src/mongo/db/index/external_key_generator.cpp:37: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/g++/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' Generating placeholder library build/opt/mongo/db/index/libexternal_key_generator.a Skipping ranlib for build/opt/mongo/db/index/libexternal_key_generator.a In file included from src/mongo/util/string_map.h:36, from src/mongo/db/collection_index_usage_tracker.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:42, from src/mongo/db/index/index_descriptor.h:36, from src/mongo/db/index/index_descriptor.cpp:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:34: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/g++/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' c++ -o build/opt/mongo/db/index/expression_keys_private.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/index/expression_keys_private.cpp Generating placeholder library build/opt/mongo/db/index/libindex_descriptor.a Skipping ranlib for build/opt/mongo/db/index/libindex_descriptor.a c++ -o build/opt/mongo/db/field_ref.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/field_ref.cpp c++ -o build/opt/mongo/db/field_ref_set.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/field_ref_set.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/db/collection_index_usage_tracker.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:42, from src/mongo/db/index/index_descriptor.h:36, from src/mongo/db/index/btree_key_generator.h:36, from src/mongo/db/index/btree_key_generator.cpp:29: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:34: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/g++/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' c++ -o build/opt/mongo/db/field_parser.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/field_parser.cpp c++ -o build/opt/mongo/db/keypattern.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/keypattern.cpp Generating placeholder library build/opt/mongo/db/index/libkey_generator.a Skipping ranlib for build/opt/mongo/db/index/libkey_generator.a c++ -o build/opt/mongo/db/dbmessage.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/dbmessage.cpp c++ -o build/opt/mongo/db/index_names.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/index_names.cpp Generating placeholder library build/opt/mongo/db/libcommon.a Skipping ranlib for build/opt/mongo/db/libcommon.a c++ -o build/opt/mongo/db/hasher.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/hasher.cpp In file included from src/mongo/db/jsobj.h:45, from src/mongo/db/index_names.cpp:31: In member function 'void mongo::StringData::copyTo(char*, bool) const', inlined from 'void mongo::StringBuilderImpl::append(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:444:19, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:418:15, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(const char*) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:415:22, inlined from 'const mongo::BSONElement& mongo::BSONElement::chk(int) const' at src/mongo/bson/bsonelement.h:693:61: src/mongo/base/string_data.h:266:15: warning: 'void* memcpy(void*, const void*, size_t)' offset [0, 490] is out of the bounds [0, 0] [-Warray-bounds] Generating placeholder library build/opt/mongo/db/libindex_names.a Generating placeholder library build/opt/mongo/db/libdbmessage.a Skipping ranlib for build/opt/mongo/db/libdbmessage.a Skipping ranlib for build/opt/mongo/db/libindex_names.a c++ -o build/opt/mongo/db/namespace_string.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/namespace_string.cpp c++ -o build/opt/mongo/db/server_options.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/server_options.cpp Generating placeholder library build/opt/mongo/db/libmongohasher.a Skipping ranlib for build/opt/mongo/db/libmongohasher.a c++ -o build/opt/mongo/db/server_parameters.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/server_parameters.cpp Generating placeholder library build/opt/mongo/db/libnamespace_string.a Skipping ranlib for build/opt/mongo/db/libnamespace_string.a c++ -o build/opt/mongo/db/client.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/client.cpp Generating placeholder library build/opt/mongo/db/libserver_options_core.a Skipping ranlib for build/opt/mongo/db/libserver_options_core.a c++ -o build/opt/mongo/db/operation_context.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/operation_context.cpp Generating placeholder library build/opt/mongo/db/libserver_parameters.a Skipping ranlib for build/opt/mongo/db/libserver_parameters.a c++ -o build/opt/mongo/db/service_context.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/service_context.cpp c++ -o build/opt/mongo/db/service_context_noop.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/service_context_noop.cpp c++ -o build/opt/mongo/db/wire_version.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/wire_version.cpp In file included from src/mongo/util/progress_meter.h:32, from src/mongo/db/operation_context_noop.h:34, from src/mongo/db/service_context_noop.cpp:34: In member function 'mongo::ThreadSafeString& mongo::ThreadSafeString::operator=(mongo::StringData)', inlined from 'mongo::ProgressMeter::ProgressMeter()' at src/mongo/util/progress_meter.h:53:17, inlined from 'mongo::OperationContextNoop::OperationContextNoop(mongo::Client*, unsigned int)' at src/mongo/db/operation_context_noop.h:55:92: src/mongo/util/thread_safe_string.h:64:16: warning: 'char* strncpy(char*, const char*, size_t)' output truncated copying between 0 and 8 bytes from a string of length 8 [-Wstringop-truncation] c++ -o build/opt/mongo/db/write_concern_options.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/write_concern_options.cpp Generating placeholder library build/opt/mongo/db/libservice_context.a Skipping ranlib for build/opt/mongo/db/libservice_context.a c++ -o build/opt/mongo/db/query/collation/collator_factory_interface.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/query/collation/collator_factory_interface.cpp Generating placeholder library build/opt/mongo/db/libwire_version.a Skipping ranlib for build/opt/mongo/db/libwire_version.a c++ -o build/opt/mongo/db/query/collation/collation_index_key.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/query/collation/collation_index_key.cpp Generating placeholder library build/opt/mongo/db/libwrite_concern_options.a Skipping ranlib for build/opt/mongo/db/libwrite_concern_options.a c++ -o build/opt/mongo/db/query/collation/collation_spec.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/query/collation/collation_spec.cpp Generating placeholder library build/opt/mongo/db/query/collation/libcollator_factory_interface.a Skipping ranlib for build/opt/mongo/db/query/collation/libcollator_factory_interface.a c++ -o build/opt/mongo/db/query/collation/collator_interface.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/query/collation/collator_interface.cpp c++ -o build/opt/mongo/db/query/count_request.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/query/count_request.cpp c++ -o build/opt/mongo/db/query/cursor_request.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/query/cursor_request.cpp Generating placeholder library build/opt/mongo/db/query/collation/libcollator_interface.a Skipping ranlib for build/opt/mongo/db/query/collation/libcollator_interface.a c++ -o build/opt/mongo/db/query/cursor_response.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/query/cursor_response.cpp c++ -o build/opt/mongo/db/query/find_and_modify_request.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/query/find_and_modify_request.cpp c++ -o build/opt/mongo/db/query/getmore_request.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/query/getmore_request.cpp In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/clientcursor.h:33, from src/mongo/db/query/cursor_response.h:36, from src/mongo/db/query/cursor_response.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/db/query/plan_cache_indexability.h:35, from src/mongo/db/query/plan_cache.h:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/g++/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' In file included from build/opt/mongo/base/error_codes.h:32, from src/mongo/base/status.h:34, from src/mongo/base/status_with.h:38, from src/mongo/db/query/cursor_response.h:34: In member function 'void mongo::StringData::copyTo(char*, bool) const', inlined from 'void mongo::StringBuilderImpl::append(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:444:19, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:418:15, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(const char*) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:415:22, inlined from 'const mongo::BSONElement& mongo::BSONElement::chk(int) const' at src/mongo/bson/bsonelement.h:693:61: src/mongo/base/string_data.h:266:15: warning: 'void* memcpy(void*, const void*, size_t)' offset [0, 490] is out of the bounds [0, 0] [-Warray-bounds] c++ -o build/opt/mongo/db/query/killcursors_request.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/query/killcursors_request.cpp c++ -o build/opt/mongo/db/query/killcursors_response.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/query/killcursors_response.cpp In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/clientcursor.h:33, from src/mongo/db/query/getmore_request.h:36, from src/mongo/db/query/getmore_request.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/db/query/plan_cache_indexability.h:35, from src/mongo/db/query/plan_cache.h:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/g++/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' In file included from build/opt/mongo/base/error_codes.h:32, from src/mongo/base/status.h:34, from src/mongo/db/query/getmore_request.h:34: In member function 'void mongo::StringData::copyTo(char*, bool) const', inlined from 'void mongo::StringBuilderImpl::append(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:444:19, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:418:15, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(const char*) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:415:22, inlined from 'const mongo::BSONElement& mongo::BSONElement::chk(int) const' at src/mongo/bson/bsonelement.h:693:61: src/mongo/base/string_data.h:266:15: warning: 'void* memcpy(void*, const void*, size_t)' offset [0, 490] is out of the bounds [0, 0] [-Warray-bounds] c++ -o build/opt/mongo/db/query/view_response_formatter.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/query/view_response_formatter.cpp In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/clientcursor.h:33, from src/mongo/db/query/killcursors_request.h:35, from src/mongo/db/query/killcursors_request.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/db/query/plan_cache_indexability.h:35, from src/mongo/db/query/plan_cache.h:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/g++/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' In file included from build/opt/mongo/base/error_codes.h:32, from src/mongo/base/status.h:34, from src/mongo/base/status_with.h:38, from src/mongo/db/query/killcursors_request.h:33: In member function 'void mongo::StringData::copyTo(char*, bool) const', inlined from 'void mongo::StringBuilderImpl::append(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:444:19, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:418:15, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(const char*) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:415:22, inlined from 'const mongo::BSONElement& mongo::BSONElement::chk(int) const' at src/mongo/bson/bsonelement.h:693:61: src/mongo/base/string_data.h:266:15: warning: 'void* memcpy(void*, const void*, size_t)' offset [0, 490] is out of the bounds [0, 0] [-Warray-bounds] c++ -o build/opt/mongo/db/query/query_request.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/query/query_request.cpp In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/clientcursor.h:33, from src/mongo/db/query/killcursors_response.h:35, from src/mongo/db/query/killcursors_response.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/db/query/plan_cache_indexability.h:35, from src/mongo/db/query/plan_cache.h:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/g++/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' c++ -o build/opt/mongo/db/repl/bson_extract_optime.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/repl/bson_extract_optime.cpp In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/clientcursor.h:33, from src/mongo/db/query/cursor_response.h:36, from src/mongo/db/query/view_response_formatter.cpp:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/db/query/plan_cache_indexability.h:35, from src/mongo/db/query/plan_cache.h:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/g++/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' In file included from build/opt/mongo/base/error_codes.h:32, from src/mongo/base/data_type.h:35, from src/mongo/bson/bsonobj.h:39, from src/mongo/db/query/view_response_formatter.h:31, from src/mongo/db/query/view_response_formatter.cpp:31: In member function 'void mongo::StringData::copyTo(char*, bool) const', inlined from 'void mongo::StringBuilderImpl::append(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:444:19, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:418:15, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(const char*) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:415:22, inlined from 'const mongo::BSONElement& mongo::BSONElement::chk(int) const' at src/mongo/bson/bsonelement.h:693:61: src/mongo/base/string_data.h:266:15: warning: 'void* memcpy(void*, const void*, size_t)' offset [0, 490] is out of the bounds [0, 0] [-Warray-bounds] Generating placeholder library build/opt/mongo/db/query/libcommand_request_response.a Skipping ranlib for build/opt/mongo/db/query/libcommand_request_response.a c++ -o build/opt/mongo/db/repl/optime.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/repl/optime.cpp c++ -o build/opt/mongo/db/repl/read_concern_args.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/repl/read_concern_args.cpp src/mongo/db/query/query_request.cpp: In static member function 'static mongo::StatusWith > mongo::QueryRequest::makeFromFindCommand(mongo::NamespaceString, const mongo::BSONObj&, bool)': src/mongo/db/query/query_request.cpp:372:21: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/query/query_request.cpp:372:21: note: remove 'std::move' call src/mongo/db/query/query_request.cpp: In static member function 'static mongo::StatusWith > mongo::QueryRequest::fromLegacyQueryMessage(const mongo::QueryMessage&)': src/mongo/db/query/query_request.cpp:713:21: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/query/query_request.cpp:713:21: note: remove 'std::move' call src/mongo/db/query/query_request.cpp: In static member function 'static mongo::StatusWith > mongo::QueryRequest::fromLegacyQueryForTest(mongo::NamespaceString, const mongo::BSONObj&, const mongo::BSONObj&, int, int, int)': src/mongo/db/query/query_request.cpp:729:21: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/query/query_request.cpp:729:21: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/query/libquery_request.a Skipping ranlib for build/opt/mongo/db/query/libquery_request.a Generating placeholder library build/opt/mongo/db/repl/liboptime.a Skipping ranlib for build/opt/mongo/db/repl/liboptime.a c++ -o build/opt/mongo/db/stats/counters.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/stats/counters.cpp c++ -o build/opt/mongo/executor/async_secure_stream.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/executor/async_secure_stream.cpp Generating placeholder library build/opt/mongo/db/repl/libread_concern_args.a Skipping ranlib for build/opt/mongo/db/repl/libread_concern_args.a c++ -o build/opt/mongo/executor/async_secure_stream_factory.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/executor/async_secure_stream_factory.cpp Generating placeholder library build/opt/mongo/db/stats/libcounters.a Skipping ranlib for build/opt/mongo/db/stats/libcounters.a c++ -o build/opt/mongo/executor/async_stream.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/executor/async_stream.cpp c++ -o build/opt/mongo/executor/async_stream_common.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/executor/async_stream_common.cpp c++ -o build/opt/mongo/executor/async_stream_factory.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/executor/async_stream_factory.cpp c++ -o build/opt/mongo/executor/async_timer_asio.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/executor/async_timer_asio.cpp Generating placeholder library build/opt/mongo/executor/libasync_stream.a Skipping ranlib for build/opt/mongo/executor/libasync_stream.a c++ -o build/opt/mongo/executor/connection_pool.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/executor/connection_pool.cpp c++ -o build/opt/mongo/executor/connection_pool_stats.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/executor/connection_pool_stats.cpp Generating placeholder library build/opt/mongo/executor/libasync_timer_asio.a Skipping ranlib for build/opt/mongo/executor/libasync_timer_asio.a c++ -o build/opt/mongo/executor/network_interface.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/executor/network_interface.cpp Generating placeholder library build/opt/mongo/executor/libconnection_pool.a Skipping ranlib for build/opt/mongo/executor/libconnection_pool.a c++ -o build/opt/mongo/executor/connection_pool_asio.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/executor/connection_pool_asio.cpp Generating placeholder library build/opt/mongo/executor/libconnection_pool_stats.a Skipping ranlib for build/opt/mongo/executor/libconnection_pool_stats.a c++ -o build/opt/mongo/executor/network_interface_asio.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/executor/network_interface_asio.cpp Generating placeholder library build/opt/mongo/executor/libnetwork_interface.a Skipping ranlib for build/opt/mongo/executor/libnetwork_interface.a c++ -o build/opt/mongo/executor/network_interface_asio_auth.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/executor/network_interface_asio_auth.cpp c++ -o build/opt/mongo/executor/network_interface_asio_command.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/executor/network_interface_asio_command.cpp c++ -o build/opt/mongo/executor/network_interface_asio_connect.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/executor/network_interface_asio_connect.cpp In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/explain.h:33, from src/mongo/db/commands.h:42, from src/mongo/executor/network_interface_asio_auth.cpp:40: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/db/query/plan_cache_indexability.h:35, from src/mongo/db/query/plan_cache.h:38, from src/mongo/db/query/query_solution.h:38, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/query/explain.h:35: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/g++/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' c++ -o build/opt/mongo/executor/network_interface_asio_operation.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/executor/network_interface_asio_operation.cpp c++ -o build/opt/mongo/executor/network_interface_factory.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/executor/network_interface_factory.cpp c++ -o build/opt/mongo/executor/network_interface_thread_pool.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/executor/network_interface_thread_pool.cpp In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/clientcursor.h:33, from src/mongo/db/query/getmore_request.h:36, from src/mongo/executor/network_interface_asio_operation.cpp:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/db/query/plan_cache_indexability.h:35, from src/mongo/db/query/plan_cache.h:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/g++/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/executor/network_interface_asio_operation.cpp: In function 'mongo::StatusWith mongo::executor::{anonymous}::messageFromRequest(const mongo::executor::RemoteCommandRequest&, mongo::rpc::Protocol)': src/mongo/executor/network_interface_asio_operation.cpp:76:21: warning: redundant move in return statement [-Wredundant-move] src/mongo/executor/network_interface_asio_operation.cpp:76:21: note: remove 'std::move' call Generating placeholder library build/opt/mongo/executor/libnetwork_interface_asio.a Skipping ranlib for build/opt/mongo/executor/libnetwork_interface_asio.a c++ -o build/opt/mongo/executor/remote_command_request.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/executor/remote_command_request.cpp Generating placeholder library build/opt/mongo/executor/libnetwork_interface_thread_pool.a Skipping ranlib for build/opt/mongo/executor/libnetwork_interface_thread_pool.a c++ -o build/opt/mongo/executor/remote_command_response.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/executor/remote_command_response.cpp Generating placeholder library build/opt/mongo/executor/libnetwork_interface_factory.a Skipping ranlib for build/opt/mongo/executor/libnetwork_interface_factory.a c++ -o build/opt/mongo/executor/task_executor.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/executor/task_executor.cpp c++ -o build/opt/mongo/executor/thread_pool_task_executor.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/executor/thread_pool_task_executor.cpp Generating placeholder library build/opt/mongo/executor/libremote_command.a Skipping ranlib for build/opt/mongo/executor/libremote_command.a c++ -o build/opt/mongo/base/data_range.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/base/data_range.cpp Generating placeholder library build/opt/mongo/executor/libtask_executor_interface.a Skipping ranlib for build/opt/mongo/executor/libtask_executor_interface.a c++ -o build/opt/mongo/base/data_range_cursor.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/base/data_range_cursor.cpp c++ -o build/opt/mongo/base/data_type.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/base/data_type.cpp c++ -o build/opt/mongo/base/data_type_string_data.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/base/data_type_string_data.cpp c++ -o build/opt/mongo/base/data_type_terminated.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/base/data_type_terminated.cpp c++ -o build/opt/mongo/base/error_codes.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc build/opt/mongo/base/error_codes.cpp c++ -o build/opt/mongo/base/global_initializer.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/base/global_initializer.cpp Generating placeholder library build/opt/mongo/executor/libthread_pool_task_executor.a Skipping ranlib for build/opt/mongo/executor/libthread_pool_task_executor.a c++ -o build/opt/mongo/base/global_initializer_registerer.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/base/global_initializer_registerer.cpp c++ -o build/opt/mongo/base/init.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/base/init.cpp c++ -o build/opt/mongo/base/initializer.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/base/initializer.cpp c++ -o build/opt/mongo/base/initializer_context.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/base/initializer_context.cpp c++ -o build/opt/mongo/base/initializer_dependency_graph.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/base/initializer_dependency_graph.cpp c++ -o build/opt/mongo/base/make_string_vector.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/base/make_string_vector.cpp c++ -o build/opt/mongo/base/parse_number.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/base/parse_number.cpp c++ -o build/opt/mongo/base/simple_string_data_comparator.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/base/simple_string_data_comparator.cpp c++ -o build/opt/mongo/base/status.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/base/status.cpp c++ -o build/opt/mongo/base/string_data.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/base/string_data.cpp c++ -o build/opt/mongo/base/validate_locale.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/base/validate_locale.cpp c++ -o build/opt/mongo/bson/bson_comparator_interface_base.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/bson/bson_comparator_interface_base.cpp c++ -o build/opt/mongo/bson/bson_depth.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/bson/bson_depth.cpp c++ -o build/opt/mongo/bson/bson_validate.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/bson/bson_validate.cpp In file included from src/third_party/boost-1.60.0/boost/mpl/aux_/na_assert.hpp:23, from src/third_party/boost-1.60.0/boost/mpl/arg.hpp:25, from src/third_party/boost-1.60.0/boost/mpl/placeholders.hpp:24, from src/third_party/boost-1.60.0/boost/iterator/iterator_categories.hpp:17, from src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:14, from src/third_party/boost-1.60.0/boost/filesystem/path.hpp:28, from src/mongo/base/validate_locale.cpp:30: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: note: remove parentheses src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: note: remove parentheses c++ -o build/opt/mongo/bson/bsonelement.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/bson/bsonelement.cpp c++ -o build/opt/mongo/bson/bsonmisc.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/bson/bsonmisc.cpp c++ -o build/opt/mongo/bson/bsonobj.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/bson/bsonobj.cpp c++ -o build/opt/mongo/bson/bsonobjbuilder.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/bson/bsonobjbuilder.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsonelement.cpp:46: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::BSONObj::MatchType, mongo::StringMapTraits>': src/mongo/bson/bsonelement.cpp:310:37: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::BSONObj::MatchType; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::BSONObj::MatchType; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::BSONObj::MatchType; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::BSONObj::MatchType; Traits = mongo::StringMapTraits]' src/mongo/bson/bsonelement.cpp: In member function 'int mongo::BSONElement::getGtLtOp(int) const': src/mongo/bson/bsonelement.cpp:356:29: warning: array subscript 1 is outside array bounds of 'const char [1]' [-Warray-bounds] In file included from build/opt/mongo/base/error_codes.h:32, from src/mongo/base/data_type.h:35, from src/mongo/base/data_type_endian.h:33, from src/mongo/bson/bsonelement.h:38, from src/mongo/bson/bsonelement.cpp:32: In member function 'void mongo::StringData::copyTo(char*, bool) const', inlined from 'void mongo::StringBuilderImpl::append(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:444:19, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:418:15, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(const char*) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:415:22, inlined from 'const mongo::BSONElement& mongo::BSONElement::chk(int) const' at src/mongo/bson/bsonelement.h:693:61: src/mongo/base/string_data.h:266:15: warning: 'void* memcpy(void*, const void*, size_t)' offset [0, 490] is out of the bounds [0, 0] [-Warray-bounds] c++ -o build/opt/mongo/bson/bsontypes.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/bson/bsontypes.cpp c++ -o build/opt/mongo/bson/json.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/bson/json.cpp c++ -o build/opt/mongo/bson/oid.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/bson/oid.cpp In file included from src/third_party/boost-1.60.0/boost/mpl/aux_/na_assert.hpp:23, from src/third_party/boost-1.60.0/boost/mpl/arg.hpp:25, from src/third_party/boost-1.60.0/boost/mpl/placeholders.hpp:24, from src/third_party/boost-1.60.0/boost/iterator/iterator_categories.hpp:17, from src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:14, from src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:27, from src/third_party/boost-1.60.0/boost/lexical_cast.hpp:30, from src/mongo/bson/bsonobjbuilder.cpp:34: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: note: remove parentheses src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: note: remove parentheses c++ -o build/opt/mongo/bson/simple_bsonelement_comparator.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/bson/simple_bsonelement_comparator.cpp c++ -o build/opt/mongo/bson/simple_bsonobj_comparator.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/bson/simple_bsonobj_comparator.cpp c++ -o build/opt/mongo/bson/timestamp.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/bson/timestamp.cpp c++ -o build/opt/mongo/logger/component_message_log_domain.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/logger/component_message_log_domain.cpp c++ -o build/opt/mongo/logger/console.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/logger/console.cpp c++ -o build/opt/mongo/logger/log_component.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/logger/log_component.cpp c++ -o build/opt/mongo/logger/log_component_settings.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/logger/log_component_settings.cpp c++ -o build/opt/mongo/logger/log_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/logger/log_manager.cpp c++ -o build/opt/mongo/logger/log_severity.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/logger/log_severity.cpp c++ -o build/opt/mongo/logger/logger.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/logger/logger.cpp c++ -o build/opt/mongo/logger/logstream_builder.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/logger/logstream_builder.cpp c++ -o build/opt/mongo/logger/message_event_utf8_encoder.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/logger/message_event_utf8_encoder.cpp c++ -o build/opt/mongo/logger/message_log_domain.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/logger/message_log_domain.cpp c++ -o build/opt/mongo/logger/ramlog.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/logger/ramlog.cpp c++ -o build/opt/mongo/logger/redaction.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/logger/redaction.cpp c++ -o build/opt/mongo/logger/rotatable_file_manager.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/logger/rotatable_file_manager.cpp c++ -o build/opt/mongo/logger/rotatable_file_writer.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/logger/rotatable_file_writer.cpp c++ -o build/opt/mongo/platform/decimal128.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/platform/decimal128.cpp c++ -o build/opt/mongo/platform/posix_fadvise.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/platform/posix_fadvise.cpp c++ -o build/opt/mongo/platform/process_id.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/platform/process_id.cpp c++ -o build/opt/mongo/platform/random.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/platform/random.cpp In file included from src/third_party/boost-1.60.0/boost/mpl/aux_/na_assert.hpp:23, from src/third_party/boost-1.60.0/boost/mpl/arg.hpp:25, from src/third_party/boost-1.60.0/boost/mpl/placeholders.hpp:24, from src/third_party/boost-1.60.0/boost/iterator/iterator_categories.hpp:17, from src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:14, from src/third_party/boost-1.60.0/boost/filesystem/path.hpp:28, from src/third_party/boost-1.60.0/boost/filesystem/operations.hpp:25, from src/mongo/logger/rotatable_file_writer.cpp:32: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: note: remove parentheses src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: note: remove parentheses c++ -o build/opt/mongo/platform/shared_library.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/platform/shared_library.cpp c++ -o build/opt/mongo/platform/shared_library_posix.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/platform/shared_library_posix.cpp c++ -o build/opt/mongo/platform/stack_locator.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/platform/stack_locator.cpp In file included from src/third_party/boost-1.60.0/boost/mpl/aux_/na_assert.hpp:23, from src/third_party/boost-1.60.0/boost/mpl/arg.hpp:25, from src/third_party/boost-1.60.0/boost/mpl/placeholders.hpp:24, from src/third_party/boost-1.60.0/boost/iterator/iterator_categories.hpp:17, from src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:14, from src/third_party/boost-1.60.0/boost/filesystem/path.hpp:28, from src/third_party/boost-1.60.0/boost/filesystem.hpp:16, from src/mongo/platform/shared_library.h:30, from src/mongo/platform/shared_library.cpp:31: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: note: remove parentheses src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: note: remove parentheses c++ -o build/opt/mongo/platform/stack_locator_netbsd.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/platform/stack_locator_netbsd.cpp c++ -o build/opt/mongo/platform/strcasestr.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/platform/strcasestr.cpp In file included from src/third_party/boost-1.60.0/boost/mpl/aux_/na_assert.hpp:23, from src/third_party/boost-1.60.0/boost/mpl/arg.hpp:25, from src/third_party/boost-1.60.0/boost/mpl/placeholders.hpp:24, from src/third_party/boost-1.60.0/boost/iterator/iterator_categories.hpp:17, from src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:14, from src/third_party/boost-1.60.0/boost/filesystem/path.hpp:28, from src/third_party/boost-1.60.0/boost/filesystem.hpp:16, from src/mongo/platform/shared_library.h:30, from src/mongo/platform/shared_library_posix.cpp:32: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: note: remove parentheses src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: note: remove parentheses c++ -o build/opt/mongo/platform/strnlen.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/platform/strnlen.cpp c++ -o build/opt/mongo/util/allocator.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/util/allocator.cpp c++ -o build/opt/mongo/util/assert_util.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/util/assert_util.cpp c++ -o build/opt/mongo/util/base64.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/util/base64.cpp c++ -o build/opt/mongo/util/concurrency/idle_thread_block.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/util/concurrency/idle_thread_block.cpp c++ -o build/opt/mongo/util/concurrency/thread_name.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/util/concurrency/thread_name.cpp c++ -o build/opt/mongo/util/duration.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/util/duration.cpp c++ -o build/opt/mongo/util/exception_filter_win32.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/util/exception_filter_win32.cpp c++ -o build/opt/mongo/util/exit.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/util/exit.cpp c++ -o build/opt/mongo/util/file.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/util/file.cpp c++ -o build/opt/mongo/util/hex.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/util/hex.cpp c++ -o build/opt/mongo/util/itoa.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/util/itoa.cpp In file included from src/third_party/boost-1.60.0/boost/mpl/aux_/na_assert.hpp:23, from src/third_party/boost-1.60.0/boost/mpl/arg.hpp:25, from src/third_party/boost-1.60.0/boost/mpl/placeholders.hpp:24, from src/third_party/boost-1.60.0/boost/iterator/iterator_categories.hpp:17, from src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:14, from src/third_party/boost-1.60.0/boost/filesystem/path.hpp:28, from src/third_party/boost-1.60.0/boost/filesystem/operations.hpp:25, from src/mongo/util/file.cpp:32: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: note: remove parentheses src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: note: remove parentheses c++ -o build/opt/mongo/util/log.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/util/log.cpp c++ -o build/opt/mongo/util/platform_init.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/util/platform_init.cpp c++ -o build/opt/mongo/util/signal_handlers_synchronous.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/util/signal_handlers_synchronous.cpp c++ -o build/opt/mongo/util/stacktrace.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/util/stacktrace.cpp c++ -o build/opt/mongo/util/stacktrace_posix.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/util/stacktrace_posix.cpp c++ -o build/opt/mongo/util/startup_test.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/util/startup_test.cpp c++ -o build/opt/mongo/util/static_observer.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/util/static_observer.cpp c++ -o build/opt/mongo/util/stringutils.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/util/stringutils.cpp c++ -o build/opt/mongo/util/system_clock_source.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/util/system_clock_source.cpp c++ -o build/opt/mongo/util/system_tick_source.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/util/system_tick_source.cpp c++ -o build/opt/mongo/util/text.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/util/text.cpp c++ -o build/opt/mongo/util/time_support.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/util/time_support.cpp c++ -o build/opt/mongo/util/timer.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/util/timer.cpp c++ -o build/opt/mongo/util/version.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/util/version.cpp c++ -o build/opt/mongo/shell/linenoise_utf8.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/shell/linenoise_utf8.cpp In function 'void mongo::{anonymous}::_dateToCtimeString(mongo::Date_t, DateStringBuffer*)', inlined from 'std::string mongo::dateToCtimeString(Date_t)' at src/mongo/util/time_support.cpp:226:23: src/mongo/util/time_support.cpp:207:43: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] src/mongo/util/time_support.cpp:206:13: note: 'snprintf' output between 5 and 6 bytes into a destination of size 5 In function 'void mongo::{anonymous}::_dateToCtimeString(mongo::Date_t, DateStringBuffer*)', inlined from 'void mongo::outputDateAsCtime(std::ostream&, Date_t)' at src/mongo/util/time_support.cpp:244:23: src/mongo/util/time_support.cpp:207:43: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] src/mongo/util/time_support.cpp:206:13: note: 'snprintf' output between 5 and 6 bytes into a destination of size 5 In file included from build/opt/mongo/base/error_codes.h:32, from src/mongo/base/status.h:34, from src/mongo/base/status_with.h:38, from src/mongo/util/time_support.h:38, from src/mongo/util/time_support.cpp:30: In member function 'void mongo::StringData::copyTo(char*, bool) const', inlined from 'void mongo::StringBuilderImpl::append(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:444:19, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:418:15, inlined from 'mongo::Status mongo::{anonymous}::parseTimeZoneFromToken(mongo::StringData, int*)' at src/mongo/util/time_support.cpp:295:80: src/mongo/base/string_data.h:266:15: warning: 'void* memcpy(void*, const void*, size_t)' offset [0, 461] is out of the bounds [0, 0] [-Warray-bounds] In member function 'void mongo::StringData::copyTo(char*, bool) const', inlined from 'void mongo::StringBuilderImpl::append(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:444:19, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:418:15, inlined from 'mongo::Status mongo::{anonymous}::parseTimeZoneFromToken(mongo::StringData, int*)' at src/mongo/util/time_support.cpp:301:81: src/mongo/base/string_data.h:266:15: warning: 'void* memcpy(void*, const void*, size_t)' offset [0, 460] is out of the bounds [0, 0] [-Warray-bounds] c++ -o build/opt/mongo/shell/bench.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/shell/bench.cpp Generating placeholder library build/opt/mongo/liblinenoise_utf8.a Skipping ranlib for build/opt/mongo/liblinenoise_utf8.a c++ -o build/opt/mongo/shell/linenoise.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/shell/linenoise.cpp Generating placeholder library build/opt/mongo/libbase.a Skipping ranlib for build/opt/mongo/libbase.a c++ -o build/opt/mongo/shell/mk_wcwidth.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/shell/mk_wcwidth.cpp jsToH(["build/opt/mongo/shell/mongo-server.cpp"], ["src/mongo/shell/servers.js", "src/mongo/shell/shardingtest.js", "src/mongo/shell/servers_misc.js", "src/mongo/shell/replsettest.js", "src/mongo/shell/bridge.js"]) writing: build/opt/mongo/shell/mongo-server.cpp c++ -o build/opt/mongo/shell/mongo-server.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc build/opt/mongo/shell/mongo-server.cpp c++ -o build/opt/mongo/shell/shell_options.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/shell/shell_options.cpp c++ -o build/opt/mongo/shell/shell_options_init.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/shell/shell_options_init.cpp In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/query/query_solution.h:38, from src/mongo/db/query/plan_executor.h:36, from src/mongo/db/clientcursor.h:33, from src/mongo/db/query/cursor_response.h:36, from src/mongo/shell/bench.cpp:43: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/util/string_map.h:36, from src/mongo/db/query/plan_cache_indexability.h:35, from src/mongo/db/query/plan_cache.h:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/g++/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' c++ -o build/opt/mongo/shell/shell_utils.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/shell/shell_utils.cpp In file included from src/third_party/boost-1.60.0/boost/mpl/aux_/na_assert.hpp:23, from src/third_party/boost-1.60.0/boost/mpl/arg.hpp:25, from src/third_party/boost-1.60.0/boost/mpl/placeholders.hpp:24, from src/third_party/boost-1.60.0/boost/iterator/iterator_categories.hpp:17, from src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:14, from src/third_party/boost-1.60.0/boost/filesystem/path.hpp:28, from src/third_party/boost-1.60.0/boost/filesystem/operations.hpp:25, from src/mongo/shell/shell_options.cpp:35: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: note: remove parentheses src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: note: remove parentheses In file included from src/mongo/util/string_map.h:36, from src/mongo/transport/message_compressor_registry.h:34, from src/mongo/shell/shell_options.cpp:47: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::MessageCompressorBase*, mongo::StringMapTraits>': src/mongo/transport/message_compressor_registry.h:113:39: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::MessageCompressorBase*; Traits = mongo::StringMapTraits]' c++ -o build/opt/mongo/shell/shell_utils_extended.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/shell/shell_utils_extended.cpp In file included from src/third_party/boost-1.60.0/boost/mpl/aux_/na_assert.hpp:23, from src/third_party/boost-1.60.0/boost/mpl/arg.hpp:25, from src/third_party/boost-1.60.0/boost/mpl/placeholders.hpp:24, from src/third_party/boost-1.60.0/boost/iterator/iterator_categories.hpp:17, from src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:14, from src/third_party/boost-1.60.0/boost/range/iterator_range_core.hpp:27, from src/third_party/boost-1.60.0/boost/lexical_cast.hpp:30, from src/third_party/boost-1.60.0/boost/program_options/value_semantic.hpp:14, from src/third_party/boost-1.60.0/boost/program_options/options_description.hpp:13, from src/third_party/boost-1.60.0/boost/program_options.hpp:15, from src/mongo/util/options_parser/option_section.h:31, from src/mongo/util/options_parser/startup_options.h:30, from src/mongo/shell/shell_options_init.cpp:35: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: note: remove parentheses src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: note: remove parentheses c++ -o build/opt/mongo/shell/shell_utils_launcher.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/shell/shell_utils_launcher.cpp In file included from src/third_party/boost-1.60.0/boost/mpl/aux_/na_assert.hpp:23, from src/third_party/boost-1.60.0/boost/mpl/arg.hpp:25, from src/third_party/boost-1.60.0/boost/mpl/placeholders.hpp:24, from src/third_party/boost-1.60.0/boost/iterator/iterator_categories.hpp:17, from src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:14, from src/third_party/boost-1.60.0/boost/filesystem/path.hpp:28, from src/third_party/boost-1.60.0/boost/filesystem/operations.hpp:25, from src/third_party/boost-1.60.0/boost/filesystem/convenience.hpp:22, from src/mongo/shell/shell_utils_extended.cpp:34: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: note: remove parentheses src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: note: remove parentheses In file included from src/mongo/db/jsobj.h:45, from src/mongo/scripting/engine.h:32, from src/mongo/shell/shell_utils_extended.cpp:38: In member function 'void mongo::StringData::copyTo(char*, bool) const', inlined from 'void mongo::StringBuilderImpl::append(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:444:19, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:418:15, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(const char*) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:415:22, inlined from 'const mongo::BSONElement& mongo::BSONElement::chk(int) const' at src/mongo/bson/bsonelement.h:693:61, inlined from 'std::string mongo::BSONElement::String() const' at src/mongo/bson/bsonelement.h:96:19: src/mongo/base/string_data.h:266:15: warning: 'void* memcpy(void*, const void*, size_t)' offset [0, 490] is out of the bounds [0, 0] [-Warray-bounds] In member function 'void mongo::StringData::copyTo(char*, bool) const', inlined from 'void mongo::StringBuilderImpl::append(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:444:19, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:418:15, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(const char*) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:415:22, inlined from 'const mongo::BSONElement& mongo::BSONElement::chk(int) const' at src/mongo/bson/bsonelement.h:693:61, inlined from 'std::string mongo::BSONElement::String() const' at src/mongo/bson/bsonelement.h:96:19, inlined from 'mongo::BSONObj mongo::shell_utils::ls(const mongo::BSONObj&, void*)' at src/mongo/shell/shell_utils_extended.cpp:111:44: src/mongo/base/string_data.h:266:15: warning: 'void* memcpy(void*, const void*, size_t)' offset [0, 490] is out of the bounds [0, 0] [-Warray-bounds] c++ -o build/opt/mongo/logger/max_log_size.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/logger/max_log_size.cpp In file included from src/mongo/util/string_map.h:36, from src/mongo/db/collection_index_usage_tracker.h:35, from src/mongo/db/catalog/collection_info_cache.h:33, from src/mongo/db/catalog/collection.h:42, from src/mongo/db/index/index_descriptor.h:36, from src/mongo/db/catalog/index_key_validate.h:31, from src/mongo/shell/shell_utils.cpp:38: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.h:35, from src/mongo/db/catalog/collection_info_cache.h:34: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/g++/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' In file included from src/third_party/boost-1.60.0/boost/mpl/aux_/na_assert.hpp:23, from src/third_party/boost-1.60.0/boost/mpl/arg.hpp:25, from src/third_party/boost-1.60.0/boost/mpl/placeholders.hpp:24, from src/third_party/boost-1.60.0/boost/iterator/iterator_categories.hpp:17, from src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:14, from src/third_party/boost-1.60.0/boost/filesystem/path.hpp:28, from src/third_party/boost-1.60.0/boost/filesystem/operations.hpp:25, from src/third_party/boost-1.60.0/boost/filesystem/convenience.hpp:22, from src/mongo/shell/shell_utils_launcher.h:32, from src/mongo/shell/shell_utils.cpp:45: src/third_party/boost-1.60.0/boost/mpl/assert.hpp: At global scope: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: note: remove parentheses src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: note: remove parentheses c++ -o build/opt/mongo/rpc/metadata/client_metadata.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/rpc/metadata/client_metadata.cpp Generating placeholder library build/opt/mongo/logger/libmax_log_size.a Skipping ranlib for build/opt/mongo/logger/libmax_log_size.a c++ -o build/opt/mongo/rpc/metadata/client_metadata_ismaster.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/rpc/metadata/client_metadata_ismaster.cpp c++ -o build/opt/mongo/rpc/command_reply.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/rpc/command_reply.cpp In file included from src/third_party/boost-1.60.0/boost/mpl/aux_/na_assert.hpp:23, from src/third_party/boost-1.60.0/boost/mpl/arg.hpp:25, from src/third_party/boost-1.60.0/boost/mpl/placeholders.hpp:24, from src/third_party/boost-1.60.0/boost/iterator/iterator_categories.hpp:17, from src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:14, from src/third_party/boost-1.60.0/boost/filesystem/path.hpp:28, from src/third_party/boost-1.60.0/boost/filesystem/operations.hpp:25, from src/third_party/boost-1.60.0/boost/filesystem/convenience.hpp:22, from src/mongo/shell/shell_utils_launcher.h:32, from src/mongo/shell/shell_utils_launcher.cpp:34: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: note: remove parentheses src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: note: remove parentheses In file included from src/third_party/boost-1.60.0/boost/iostreams/detail/is_dereferenceable.hpp:12, from src/third_party/boost-1.60.0/boost/iostreams/detail/resolve.hpp:26, from src/third_party/boost-1.60.0/boost/iostreams/detail/push.hpp:24, from src/third_party/boost-1.60.0/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:31, from src/third_party/boost-1.60.0/boost/iostreams/stream_buffer.hpp:22, from src/third_party/boost-1.60.0/boost/iostreams/stream.hpp:21, from src/mongo/shell/shell_utils_launcher.cpp:39: src/third_party/boost-1.60.0/boost/type_traits/detail/bool_trait_def.hpp:18:78: note: '#pragma message: NOTE: Use of this header (bool_trait_def.hpp) is deprecated' In file included from src/third_party/boost-1.60.0/boost/type_traits/detail/bool_trait_def.hpp:21: src/third_party/boost-1.60.0/boost/type_traits/detail/template_arity_spec.hpp:13:83: note: '#pragma message: NOTE: Use of this header (template_arity_spec.hpp) is deprecated' In file included from src/third_party/boost-1.60.0/boost/iostreams/detail/is_dereferenceable.hpp:13: src/third_party/boost-1.60.0/boost/type_traits/detail/template_arity_spec.hpp:13:83: note: '#pragma message: NOTE: Use of this header (template_arity_spec.hpp) is deprecated' Generating placeholder library build/opt/mongo/libshell_core.a Skipping ranlib for build/opt/mongo/libshell_core.a In file included from build/opt/mongo/base/error_codes.h:32, from src/mongo/base/status.h:34, from src/mongo/rpc/metadata/client_metadata.h:34, from src/mongo/rpc/metadata/client_metadata.cpp:33: In member function 'void mongo::StringData::copyTo(char*, bool) const', inlined from 'void mongo::StringBuilderImpl::append(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:444:19, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:418:15, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(const char*) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:415:22, inlined from 'const mongo::BSONElement& mongo::BSONElement::chk(int) const' at src/mongo/bson/bsonelement.h:693:61: src/mongo/base/string_data.h:266:15: warning: 'void* memcpy(void*, const void*, size_t)' offset [0, 490] is out of the bounds [0, 0] [-Warray-bounds] c++ -o build/opt/mongo/rpc/command_reply_builder.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/rpc/command_reply_builder.cpp Generating placeholder library build/opt/mongo/rpc/libclient_metadata.a Skipping ranlib for build/opt/mongo/rpc/libclient_metadata.a c++ -o build/opt/mongo/rpc/reply_builder_interface.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/rpc/reply_builder_interface.cpp c++ -o build/opt/mongo/rpc/command_request.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/rpc/command_request.cpp c++ -o build/opt/mongo/rpc/command_request_builder.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/rpc/command_request_builder.cpp Generating placeholder library build/opt/mongo/rpc/libcommand_reply.a Skipping ranlib for build/opt/mongo/rpc/libcommand_reply.a c++ -o build/opt/mongo/rpc/get_status_from_command_result.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/rpc/get_status_from_command_result.cpp c++ -o build/opt/mongo/rpc/write_concern_error_detail.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/rpc/write_concern_error_detail.cpp Generating placeholder library build/opt/mongo/rpc/libcommand_request.a Skipping ranlib for build/opt/mongo/rpc/libcommand_request.a c++ -o build/opt/mongo/rpc/document_range.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/rpc/document_range.cpp In file included from build/opt/mongo/base/error_codes.h:32, from src/mongo/rpc/get_status_from_command_result.cpp:33: In member function 'void mongo::StringData::copyTo(char*, bool) const', inlined from 'void mongo::StringBuilderImpl::append(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:444:19, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:418:15, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(const char*) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:415:22, inlined from 'const mongo::BSONElement& mongo::BSONElement::chk(int) const' at src/mongo/bson/bsonelement.h:693:61: src/mongo/base/string_data.h:266:15: warning: 'void* memcpy(void*, const void*, size_t)' offset [0, 490] is out of the bounds [0, 0] [-Warray-bounds] c++ -o build/opt/mongo/rpc/legacy_reply.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/rpc/legacy_reply.cpp Generating placeholder library build/opt/mongo/rpc/libcommand_status.a Skipping ranlib for build/opt/mongo/rpc/libcommand_status.a c++ -o build/opt/mongo/rpc/legacy_reply_builder.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/rpc/legacy_reply_builder.cpp Generating placeholder library build/opt/mongo/rpc/libdocument_range.a Skipping ranlib for build/opt/mongo/rpc/libdocument_range.a c++ -o build/opt/mongo/rpc/legacy_request.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/rpc/legacy_request.cpp c++ -o build/opt/mongo/rpc/legacy_request_builder.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/rpc/legacy_request_builder.cpp Generating placeholder library build/opt/mongo/rpc/liblegacy_reply.a Skipping ranlib for build/opt/mongo/rpc/liblegacy_reply.a c++ -o build/opt/mongo/rpc/metadata.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/rpc/metadata.cpp c++ -o build/opt/mongo/rpc/metadata/audit_metadata.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/rpc/metadata/audit_metadata.cpp Generating placeholder library build/opt/mongo/rpc/liblegacy_request.a Skipping ranlib for build/opt/mongo/rpc/liblegacy_request.a c++ -o build/opt/mongo/rpc/metadata/config_server_metadata.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/rpc/metadata/config_server_metadata.cpp c++ -o build/opt/mongo/rpc/metadata/server_selection_metadata.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/rpc/metadata/server_selection_metadata.cpp c++ -o build/opt/mongo/rpc/metadata/sharding_metadata.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/rpc/metadata/sharding_metadata.cpp c++ -o build/opt/mongo/rpc/metadata/repl_set_metadata.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/rpc/metadata/repl_set_metadata.cpp In file included from src/mongo/db/jsobj.h:45, from src/mongo/rpc/metadata/sharding_metadata.h:30, from src/mongo/rpc/metadata/sharding_metadata.cpp:31: In member function 'void mongo::StringData::copyTo(char*, bool) const', inlined from 'void mongo::StringBuilderImpl::append(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:444:19, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:418:15, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(const char*) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:415:22, inlined from 'const mongo::BSONElement& mongo::BSONElement::chk(int) const' at src/mongo/bson/bsonelement.h:693:61: src/mongo/base/string_data.h:266:15: warning: 'void* memcpy(void*, const void*, size_t)' offset [0, 490] is out of the bounds [0, 0] [-Warray-bounds] c++ -o build/opt/mongo/rpc/metadata/oplog_query_metadata.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/rpc/metadata/oplog_query_metadata.cpp c++ -o build/opt/mongo/rpc/metadata/tracking_metadata.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/rpc/metadata/tracking_metadata.cpp c++ -o build/opt/mongo/rpc/object_check.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/rpc/object_check.cpp c++ -o build/opt/mongo/rpc/protocol.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/rpc/protocol.cpp Generating placeholder library build/opt/mongo/rpc/libobject_check.a Skipping ranlib for build/opt/mongo/rpc/libobject_check.a c++ -o build/opt/mongo/rpc/factory.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/rpc/factory.cpp Generating placeholder library build/opt/mongo/rpc/libmetadata.a Skipping ranlib for build/opt/mongo/rpc/libmetadata.a c++ -o build/opt/mongo/s/local_sharding_info.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/s/local_sharding_info.cpp Generating placeholder library build/opt/mongo/rpc/libprotocol.a Skipping ranlib for build/opt/mongo/rpc/libprotocol.a c++ -o build/opt/mongo/scripting/bson_template_evaluator.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/scripting/bson_template_evaluator.cpp Generating placeholder library build/opt/mongo/rpc/librpc.a Skipping ranlib for build/opt/mongo/rpc/librpc.a c++ -o build/opt/mongo/scripting/mozjs/base.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -Wno-non-virtual-dtor -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/aarch64eb/netbsd/include -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/scripting/mozjs/base.cpp Generating placeholder library build/opt/mongo/s/liblocal_sharding_info.a Skipping ranlib for build/opt/mongo/s/liblocal_sharding_info.a : fatal error: js-config.h: No such file or directory compilation terminated. distcc[26545] ERROR: compile src/mongo/scripting/mozjs/base.cpp on 10.0.20.122:3860 failed distcc[26545] (dcc_build_somewhere) Warning: remote compilation of 'src/mongo/scripting/mozjs/base.cpp' failed, retrying locally distcc[26545] Warning: failed to distribute src/mongo/scripting/mozjs/base.cpp to 10.0.20.122:3860, running locally instead : fatal error: js-config.h: No such file or directory compilation terminated. distcc[26545] ERROR: compile src/mongo/scripting/mozjs/base.cpp on localhost failed c++ -o build/opt/mongo/scripting/mozjs/bindata.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -Wno-non-virtual-dtor -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/aarch64eb/netbsd/include -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/scripting/mozjs/bindata.cpp scons: *** [build/opt/mongo/scripting/mozjs/base.o] Error 1 : fatal error: js-config.h: No such file or directory compilation terminated. distcc[26195] ERROR: compile src/mongo/scripting/mozjs/bindata.cpp on 10.0.20.122:3860 failed distcc[26195] (dcc_build_somewhere) Warning: remote compilation of 'src/mongo/scripting/mozjs/bindata.cpp' failed, retrying locally distcc[26195] Warning: failed to distribute src/mongo/scripting/mozjs/bindata.cpp to 10.0.20.122:3860, running locally instead : fatal error: js-config.h: No such file or directory compilation terminated. distcc[26195] ERROR: compile src/mongo/scripting/mozjs/bindata.cpp on localhost failed scons: *** [build/opt/mongo/scripting/mozjs/bindata.o] Error 1 In file included from src/mongo/db/jsobj.h:45, from src/mongo/scripting/bson_template_evaluator.h:49, from src/mongo/scripting/bson_template_evaluator.cpp:29: In member function 'void mongo::StringData::copyTo(char*, bool) const', inlined from 'void mongo::StringBuilderImpl::append(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:444:19, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(mongo::StringData) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:418:15, inlined from 'mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(const char*) [with Allocator = mongo::SharedBufferAllocator]' at src/mongo/bson/util/builder.h:415:22, inlined from 'const mongo::BSONElement& mongo::BSONElement::chk(int) const' at src/mongo/bson/bsonelement.h:693:61: src/mongo/base/string_data.h:266:15: warning: 'void* memcpy(void*, const void*, size_t)' offset [0, 490] is out of the bounds [0, 0] [-Warray-bounds] scons: building terminated because of errors. build/opt/mongo/scripting/mozjs/base.o failed: Error 1 build/opt/mongo/scripting/mozjs/bindata.o failed: Error 1 *** Error code 2 Stop. make[1]: stopped making "all" in /usr/pkgsrc/databases/mongodb3 *** Error code 1 Stop. make: stopped making "all" in /usr/pkgsrc/databases/mongodb3