=> 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.24nb22 => Replacing database paths. => Changing /var to /var. cd /pbulk/work/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=/pbulk/work/databases/mongodb3/work/.cwrapper/bin:/pbulk/work/databases/mongodb3/work/.buildlink/bin:/pbulk/work/databases/mongodb3/work/.gcc/bin:/pbulk/work/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=/pbulk/work/databases/mongodb3/work/.home CWRAPPERS_CONFIG_DIR=/pbulk/work/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=/pbulk/work/databases/mongodb3/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/pbulk/work/databases/mongodb3/work/.tools/bin/itstool GDBUS_CODEGEN=/pbulk/work/databases/mongodb3/work/.tools/bin/gdbus-codegen PKG_CONFIG=/pbulk/work/databases/mongodb3/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/pbulk/work/databases/mongodb3/work/.buildlink/lib/pkgconfig:/pbulk/work/databases/mongodb3/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/pbulk/work/databases/mongodb3/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/pbulk/work/databases/mongodb3/work/.cwrapper/config /usr/pkg/bin/scons -j8 --dbg=off --disable-warnings-as-errors --release --runtime-hardening=off --use-system-icu --use-system-pcre --use-system-snappy --use-system-tcmalloc --use-system-yaml --use-system-zlib --wiredtiger=on 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 x86_64 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 icudata... 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<int64_t> works... yes Checking if std::atomic<uint64_t> works... yes Checking if std::atomic<int32_t> works... yes Checking if std::atomic<uint32_t> works... yes Checking for C function fallocate()... no Checking for C function sync_file_range()... no Checking for C header file x86intrin.h... 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 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 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 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 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 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 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 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/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 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 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 Generating placeholder library build/opt/mongo/crypto/libsha1_block_tom.a Generating placeholder library build/opt/mongo/base/libsystem_error.a Skipping ranlib for build/opt/mongo/base/libsystem_error.a Skipping ranlib for build/opt/mongo/crypto/libsha1_block_tom.a 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 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/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 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 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 Generating placeholder library build/opt/mongo/crypto/libsha1_block.a Skipping ranlib for build/opt/mongo/crypto/libsha1_block.a 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 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call 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 src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/bson/util/libbson_extract.a src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call Skipping ranlib for build/opt/mongo/bson/util/libbson_extract.a In file included from src/mongo/db/matcher/expression_parser.h:37, 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call 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 src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/client/authenticate.cpp: In function 'mongo::StatusWith<std::__cxx11::basic_string<char> > mongo::auth::{anonymous}::extractDBField(const mongo::BSONObj&)': src/mongo/client/authenticate.cpp:82:21: warning: redundant move in return statement [-Wredundant-move] 82 | return std::move(db); | ~~~~~~~~~^~~~ 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] 98 | return std::move(request); | ~~~~~~~~~^~~~~~~~~ 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] 144 | return std::move(request); | ~~~~~~~~~^~~~~~~~~ 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] 213 | return std::move(request); | ~~~~~~~~~^~~~~~~~~ src/mongo/client/authenticate.cpp:213:21: note: remove 'std::move' call 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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/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 Generating placeholder library build/opt/mongo/client/libauthentication.a Skipping ranlib for build/opt/mongo/client/libauthentication.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/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 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/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 Generating placeholder library build/opt/mongo/client/libread_preference.a Skipping ranlib for build/opt/mongo/client/libread_preference.a 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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/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/crypto/libscramauth.a Skipping ranlib for build/opt/mongo/crypto/libscramauth.a 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 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 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/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 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 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 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/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/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/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 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 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 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/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 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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 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/bson/mutable/libmutable_bson.a Skipping ranlib for build/opt/mongo/bson/mutable/libmutable_bson.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 In file included from src/third_party/boost-1.60.0/boost/function/detail/maybe_include.hpp:23, from src/third_party/boost-1.60.0/boost/function/detail/function_iterate.hpp:14, from src/third_party/boost-1.60.0/boost/preprocessor/iteration/detail/iter/forward1.hpp:57, from src/third_party/boost-1.60.0/boost/function.hpp:64, from src/third_party/boost-1.60.0/boost/algorithm/string/detail/find_iterator.hpp:18, from src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:24, from src/mongo/client/mongo_uri.cpp:47: src/third_party/boost-1.60.0/boost/function/function_template.hpp: In instantiation of 'void boost::detail::function::basic_vtable2<R, T0, T1>::assign_functor(FunctionObj, boost::detail::function::function_buffer&, mpl_::true_) const [with FunctionObj = boost::algorithm::detail::first_finderF<const char*, boost::algorithm::is_iequal>; R = boost::iterator_range<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; T0 = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; T1 = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; mpl_::true_ = mpl_::bool_<true>]': src/third_party/boost-1.60.0/boost/function/function_template.hpp:608:27: required from 'bool boost::detail::function::basic_vtable2<R, T0, T1>::assign_to(FunctionObj, boost::detail::function::function_buffer&, boost::detail::function::function_obj_tag) const [with FunctionObj = boost::algorithm::detail::first_finderF<const char*, boost::algorithm::is_iequal>; R = boost::iterator_range<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; T0 = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; T1 = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >]' src/third_party/boost-1.60.0/boost/function/function_template.hpp:498:27: required from 'bool boost::detail::function::basic_vtable2<R, T0, T1>::assign_to(F, boost::detail::function::function_buffer&) const [with F = boost::algorithm::detail::first_finderF<const char*, boost::algorithm::is_iequal>; R = boost::iterator_range<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; T0 = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; T1 = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >]' src/third_party/boost-1.60.0/boost/function/function_template.hpp:939:34: required from 'void boost::function2<R, T1, T2>::assign_to(Functor) [with Functor = boost::algorithm::detail::first_finderF<const char*, boost::algorithm::is_iequal>; R = boost::iterator_range<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; T0 = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; T1 = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >]' src/third_party/boost-1.60.0/boost/function/function_template.hpp:727:22: required from 'boost::function2<R, T1, T2>::function2(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = boost::algorithm::detail::first_finderF<const char*, boost::algorithm::is_iequal>; R = boost::iterator_range<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; T0 = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; T1 = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]' src/third_party/boost-1.60.0/boost/algorithm/string/detail/find_iterator.hpp:51:36: required from 'boost::algorithm::detail::find_iterator_base<IteratorT>::find_iterator_base(FinderT, int) [with FinderT = boost::algorithm::detail::first_finderF<const char*, boost::algorithm::is_iequal>; IteratorT = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:283:29: required from 'boost::algorithm::split_iterator<IteratorT>::split_iterator(RangeT&, FinderT) [with FinderT = boost::algorithm::detail::first_finderF<const char*, boost::algorithm::is_iequal>; RangeT = const std::__cxx11::basic_string<char>; IteratorT = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:372:20: required from 'boost::algorithm::split_iterator<typename boost::range_iterator<C>::type> boost::algorithm::make_split_iterator(RangeT&, FinderT) [with RangeT = const std::__cxx11::basic_string<char>; FinderT = boost::algorithm::detail::first_finderF<const char*, boost::algorithm::is_iequal>; typename boost::range_iterator<C>::type = std::__cxx11::basic_string<char>::const_iterator]' src/mongo/client/mongo_uri.cpp:139:97: required from here src/third_party/boost-1.60.0/boost/function/function_template.hpp:572:16: warning: placement new constructing an object of type 'boost::algorithm::detail::first_finderF<const char*, boost::algorithm::is_iequal>' and size '24' in a region of type 'char' and size '1' [-Wplacement-new=] 572 | new (reinterpret_cast<void*>(&functor.data)) FunctionObj(f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/boost-1.60.0/boost/function/detail/prologue.hpp:17, from src/third_party/boost-1.60.0/boost/function.hpp:24, from src/third_party/boost-1.60.0/boost/algorithm/string/detail/find_iterator.hpp:18, from src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:24, from src/mongo/client/mongo_uri.cpp:47: src/third_party/boost-1.60.0/boost/function/function_base.hpp: In instantiation of 'static void boost::detail::function::functor_manager_common<Functor>::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::algorithm::detail::first_finderF<const char*, boost::algorithm::is_iequal>]': src/third_party/boost-1.60.0/boost/function/function_base.hpp:354:56: required from 'static void boost::detail::function::functor_manager<Functor>::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = boost::algorithm::detail::first_finderF<const char*, boost::algorithm::is_iequal>; mpl_::true_ = mpl_::bool_<true>]' src/third_party/boost-1.60.0/boost/function/function_base.hpp:402:18: required from 'static void boost::detail::function::functor_manager<Functor>::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) [with Functor = boost::algorithm::detail::first_finderF<const char*, boost::algorithm::is_iequal>]' src/third_party/boost-1.60.0/boost/function/function_base.hpp:430:20: required from 'static void boost::detail::function::functor_manager<Functor>::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::algorithm::detail::first_finderF<const char*, boost::algorithm::is_iequal>]' src/third_party/boost-1.60.0/boost/function/function_template.hpp:937:13: required from 'void boost::function2<R, T1, T2>::assign_to(Functor) [with Functor = boost::algorithm::detail::first_finderF<const char*, boost::algorithm::is_iequal>; R = boost::iterator_range<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; T0 = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; T1 = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >]' src/third_party/boost-1.60.0/boost/function/function_template.hpp:727:22: required from 'boost::function2<R, T1, T2>::function2(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = boost::algorithm::detail::first_finderF<const char*, boost::algorithm::is_iequal>; R = boost::iterator_range<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; T0 = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; T1 = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]' src/third_party/boost-1.60.0/boost/algorithm/string/detail/find_iterator.hpp:51:36: required from 'boost::algorithm::detail::find_iterator_base<IteratorT>::find_iterator_base(FinderT, int) [with FinderT = boost::algorithm::detail::first_finderF<const char*, boost::algorithm::is_iequal>; IteratorT = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:283:29: required from 'boost::algorithm::split_iterator<IteratorT>::split_iterator(RangeT&, FinderT) [with FinderT = boost::algorithm::detail::first_finderF<const char*, boost::algorithm::is_iequal>; RangeT = const std::__cxx11::basic_string<char>; IteratorT = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:372:20: required from 'boost::algorithm::split_iterator<typename boost::range_iterator<C>::type> boost::algorithm::make_split_iterator(RangeT&, FinderT) [with RangeT = const std::__cxx11::basic_string<char>; FinderT = boost::algorithm::detail::first_finderF<const char*, boost::algorithm::is_iequal>; typename boost::range_iterator<C>::type = std::__cxx11::basic_string<char>::const_iterator]' src/mongo/client/mongo_uri.cpp:139:97: required from here src/third_party/boost-1.60.0/boost/function/function_base.hpp:308:18: warning: placement new constructing an object of type 'boost::detail::function::functor_manager_common<boost::algorithm::detail::first_finderF<const char*, boost::algorithm::is_iequal> >::functor_type' {aka 'boost::algorithm::detail::first_finderF<const char*, boost::algorithm::is_iequal>'} and size '24' in a region of type 'char' and size '1' [-Wplacement-new=] 308 | new (reinterpret_cast<void*>(&out_buffer.data)) functor_type(*in_functor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/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 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 Generating placeholder library build/opt/mongo/client/libclientdriver.a Generating placeholder library build/opt/mongo/db/auth/libauthcommon.a Skipping ranlib for build/opt/mongo/client/libclientdriver.a Skipping ranlib for build/opt/mongo/db/auth/libauthcommon.a 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 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 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/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/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/catalog/index_key_validate.h:31, from src/mongo/db/catalog/index_key_validate.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/catalog/index_key_validate.h:31, from src/mongo/db/catalog/index_key_validate.cpp:31: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/bson/libdotted_path_support.a Skipping ranlib for build/opt/mongo/db/bson/libdotted_path_support.a src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call 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 src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: 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/db/matcher/expression_parser.h:37, 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/fts/fts_query_impl.cpp: In member function 'virtual std::unique_ptr<mongo::fts::FTSQuery> mongo::fts::FTSQueryImpl::clone() const': src/mongo/db/fts/fts_query_impl.cpp:153:21: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(clonedQuery); | ~~~~~~~~~^~~~~~~~~~~~~ src/mongo/db/fts/fts_query_impl.cpp:153:21: note: remove 'std::move' call 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 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 Generating placeholder library build/opt/mongo/db/commands/libtest_commands_enabled.a Skipping ranlib for build/opt/mongo/db/commands/libtest_commands_enabled.a 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 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 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/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 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/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 /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 /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 /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_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 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 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 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/fts/libbase.a Skipping ranlib for build/opt/mongo/db/fts/libbase.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 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/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 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 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 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_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 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 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/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 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 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::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/geo/libgeoparser.a Skipping ranlib for build/opt/mongo/db/geo/libgeoparser.a src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call 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 src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call 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 src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/index_descriptor.cpp:35: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call 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/btree_key_generator.cpp:29: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call 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 src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/index_descriptor.cpp:35: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/btree_key_generator.cpp:29: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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 Generating placeholder library build/opt/mongo/db/libcommon.a Skipping ranlib for build/opt/mongo/db/libcommon.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 Generating placeholder library build/opt/mongo/db/libindex_names.a Skipping ranlib for build/opt/mongo/db/libindex_names.a 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/libdbmessage.a Skipping ranlib for build/opt/mongo/db/libdbmessage.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 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/index/libexternal_key_generator.a Skipping ranlib for build/opt/mongo/db/index/libexternal_key_generator.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/libnamespace_string.a Skipping ranlib for build/opt/mongo/db/libnamespace_string.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 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/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 Generating placeholder library build/opt/mongo/db/libmongohasher.a Skipping ranlib for build/opt/mongo/db/libmongohasher.a 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 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/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/libserver_options_core.a Skipping ranlib for build/opt/mongo/db/libserver_options_core.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/libserver_parameters.a Skipping ranlib for build/opt/mongo/db/libserver_parameters.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/libwire_version.a Skipping ranlib for build/opt/mongo/db/libwire_version.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 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 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] 64 | strncpy(_buf, str.rawData(), s); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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/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_factory_interface.a Skipping ranlib for build/opt/mongo/db/query/collation/libcollator_factory_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 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/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 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 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/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 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 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/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::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call 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::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call 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 src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call 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::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call 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::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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 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 src/mongo/db/query/query_request.cpp: In static member function 'static mongo::StatusWith<std::unique_ptr<mongo::QueryRequest> > 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] 372 | return std::move(qr); | ~~~~~~~~~^~~~ 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<std::unique_ptr<mongo::QueryRequest> > mongo::QueryRequest::fromLegacyQueryMessage(const mongo::QueryMessage&)': src/mongo/db/query/query_request.cpp:713:21: warning: redundant move in return statement [-Wredundant-move] 713 | return std::move(qr); | ~~~~~~~~~^~~~ 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<std::unique_ptr<mongo::QueryRequest> > 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] 729 | return std::move(qr); | ~~~~~~~~~^~~~ src/mongo/db/query/query_request.cpp:729:21: note: remove 'std::move' call 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 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 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 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_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 Generating placeholder library build/opt/mongo/db/query/libcommand_request_response.a Skipping ranlib for build/opt/mongo/db/query/libcommand_request_response.a 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_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 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 Generating placeholder library build/opt/mongo/db/query/libquery_request.a Skipping ranlib for build/opt/mongo/db/query/libquery_request.a 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 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 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 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 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 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_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 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/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 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_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 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/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 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_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 Generating placeholder library build/opt/mongo/executor/libnetwork_interface_thread_pool.a Skipping ranlib for build/opt/mongo/executor/libnetwork_interface_thread_pool.a 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::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call 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::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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 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 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 src/mongo/executor/network_interface_asio_operation.cpp: In function 'mongo::StatusWith<mongo::Message> 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] 76 | return std::move(toSend); | ~~~~~~~~~^~~~~~~~ src/mongo/executor/network_interface_asio_operation.cpp:76:21: note: remove 'std::move' call 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/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 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 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 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/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/libnetwork_interface_asio.a Skipping ranlib for build/opt/mongo/executor/libnetwork_interface_asio.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 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/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 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/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 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/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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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 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 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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 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 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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 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.cpp:31: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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 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 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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 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 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 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 Generating placeholder library build/opt/mongo/liblinenoise_utf8.a Skipping ranlib for build/opt/mongo/liblinenoise_utf8.a src/mongo/util/time_support.cpp: In function 'void mongo::outputDateAsCtime(std::ostream&, mongo::Date_t)': src/mongo/util/time_support.cpp:207:49: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 207 | milliSecStr, millisSubstrLen + 1, ".%03d", static_cast<int32_t>(date.asInt64() % 1000)); | ^ src/mongo/util/time_support.cpp:206:13: note: 'snprintf' output between 5 and 6 bytes into a destination of size 5 206 | snprintf( | ~~~~~~~~^ 207 | milliSecStr, millisSubstrLen + 1, ".%03d", static_cast<int32_t>(date.asInt64() % 1000)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/util/time_support.cpp: In function 'std::string mongo::dateToCtimeString(mongo::Date_t)': src/mongo/util/time_support.cpp:207:49: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 207 | milliSecStr, millisSubstrLen + 1, ".%03d", static_cast<int32_t>(date.asInt64() % 1000)); | ^ src/mongo/util/time_support.cpp:206:13: note: 'snprintf' output between 5 and 6 bytes into a destination of size 5 206 | snprintf( | ~~~~~~~~^ 207 | milliSecStr, millisSubstrLen + 1, ".%03d", static_cast<int32_t>(date.asInt64() % 1000)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 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 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 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 Generating placeholder library build/opt/mongo/libbase.a Skipping ranlib for build/opt/mongo/libbase.a 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/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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ Generating placeholder library build/opt/mongo/logger/libmax_log_size.a Skipping ranlib for build/opt/mongo/logger/libmax_log_size.a 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::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call 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 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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 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/catalog/index_key_validate.h:31, from src/mongo/shell/shell_utils.cpp:38: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/catalog/index_key_validate.h:31, from src/mongo/shell/shell_utils.cpp:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/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:79: note: '#pragma message: NOTE: Use of this header (bool_trait_def.hpp) is deprecated' 18 | # 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, 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/template_arity_spec.hpp:13:84: note: '#pragma message: NOTE: Use of this header (template_arity_spec.hpp) is deprecated' 13 | # 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, 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/template_arity_spec.hpp:13:84: note: '#pragma message: NOTE: Use of this header (template_arity_spec.hpp) is deprecated' 13 | # 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/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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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 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 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/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 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_reply.a Skipping ranlib for build/opt/mongo/rpc/libcommand_reply.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 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 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/libcommand_request.a Skipping ranlib for build/opt/mongo/rpc/libcommand_request.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 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 Generating placeholder library build/opt/mongo/libshell_core.a Skipping ranlib for build/opt/mongo/libshell_core.a 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/libcommand_status.a Skipping ranlib for build/opt/mongo/rpc/libcommand_status.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 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/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 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/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 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 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/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 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 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 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 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/x86_64/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 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/x86_64/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 Generating placeholder library build/opt/mongo/rpc/libobject_check.a Generating placeholder library build/opt/mongo/rpc/libmetadata.a Skipping ranlib for build/opt/mongo/rpc/libobject_check.a Skipping ranlib for build/opt/mongo/rpc/libmetadata.a c++ -o build/opt/mongo/scripting/mozjs/bson.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/x86_64/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/bson.cpp c++ -o build/opt/mongo/scripting/mozjs/code.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/x86_64/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/code.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/mozjs/countdownlatch.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/x86_64/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/countdownlatch.cpp c++ -o build/opt/mongo/scripting/mozjs/cursor.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/x86_64/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/cursor.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/cursor_handle.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/x86_64/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/cursor_handle.cpp Generating placeholder library build/opt/mongo/s/liblocal_sharding_info.a Skipping ranlib for build/opt/mongo/s/liblocal_sharding_info.a c++ -o build/opt/mongo/scripting/mozjs/db.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/x86_64/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/db.cpp Generating placeholder library build/opt/mongo/scripting/libbson_template_evaluator.a Skipping ranlib for build/opt/mongo/scripting/libbson_template_evaluator.a c++ -o build/opt/mongo/scripting/mozjs/dbcollection.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/x86_64/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/dbcollection.cpp c++ -o build/opt/mongo/scripting/mozjs/dbpointer.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/x86_64/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/dbpointer.cpp c++ -o build/opt/mongo/scripting/mozjs/dbquery.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/x86_64/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/dbquery.cpp c++ -o build/opt/mongo/scripting/mozjs/dbref.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/x86_64/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/dbref.cpp c++ -o build/opt/mongo/scripting/mozjs/engine.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/x86_64/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/engine.cpp c++ -o build/opt/mongo/scripting/mozjs/error.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/x86_64/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/error.cpp c++ -o build/opt/mongo/scripting/mozjs/exception.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/x86_64/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/exception.cpp c++ -o build/opt/mongo/scripting/mozjs/global.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/x86_64/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/global.cpp c++ -o build/opt/mongo/scripting/mozjs/idwrapper.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/x86_64/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/idwrapper.cpp c++ -o build/opt/mongo/scripting/mozjs/implscope.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/x86_64/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/implscope.cpp c++ -o build/opt/mongo/scripting/mozjs/internedstring.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/x86_64/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/internedstring.cpp c++ -o build/opt/mongo/scripting/mozjs/jscustomallocator.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/x86_64/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/jscustomallocator.cpp c++ -o build/opt/mongo/scripting/mozjs/jsstringwrapper.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/x86_64/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/jsstringwrapper.cpp c++ -o build/opt/mongo/scripting/mozjs/jsthread.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/x86_64/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/jsthread.cpp c++ -o build/opt/mongo/scripting/mozjs/maxkey.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/x86_64/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/maxkey.cpp c++ -o build/opt/mongo/scripting/mozjs/minkey.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/x86_64/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/minkey.cpp c++ -o build/opt/mongo/scripting/mozjs/mongo.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/x86_64/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/mongo.cpp c++ -o build/opt/mongo/scripting/mozjs/mongohelpers.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/x86_64/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/mongohelpers.cpp jsToH(["build/opt/mongo/scripting/mozjs/mongohelpers_js.cpp"], ["src/mongo/scripting/mozjs/mongohelpers.js"]) writing: build/opt/mongo/scripting/mozjs/mongohelpers_js.cpp c++ -o build/opt/mongo/scripting/mozjs/mongohelpers_js.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/x86_64/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 build/opt/mongo/scripting/mozjs/mongohelpers_js.cpp c++ -o build/opt/mongo/scripting/mozjs/nativefunction.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/x86_64/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/nativefunction.cpp c++ -o build/opt/mongo/scripting/mozjs/numberdecimal.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/x86_64/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/numberdecimal.cpp c++ -o build/opt/mongo/scripting/mozjs/numberint.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/x86_64/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/numberint.cpp c++ -o build/opt/mongo/scripting/mozjs/numberlong.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/x86_64/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/numberlong.cpp c++ -o build/opt/mongo/scripting/mozjs/object.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/x86_64/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/object.cpp c++ -o build/opt/mongo/scripting/mozjs/objectwrapper.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/x86_64/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/objectwrapper.cpp c++ -o build/opt/mongo/scripting/mozjs/oid.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/x86_64/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/oid.cpp c++ -o build/opt/mongo/scripting/mozjs/PosixNSPR.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/x86_64/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/PosixNSPR.cpp c++ -o build/opt/mongo/scripting/mozjs/proxyscope.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/x86_64/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/proxyscope.cpp c++ -o build/opt/mongo/scripting/mozjs/regexp.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/x86_64/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/regexp.cpp c++ -o build/opt/mongo/scripting/mozjs/timestamp.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/x86_64/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/timestamp.cpp c++ -o build/opt/mongo/scripting/mozjs/uri.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/x86_64/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/uri.cpp c++ -o build/opt/mongo/scripting/mozjs/valuereader.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/x86_64/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/valuereader.cpp c++ -o build/opt/mongo/scripting/mozjs/valuewriter.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/x86_64/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/valuewriter.cpp c++ -o build/opt/mongo/scripting/deadline_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/scripting/deadline_monitor.cpp c++ -o build/opt/mongo/scripting/dbdirectclient_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/scripting/dbdirectclient_factory.cpp c++ -o build/opt/mongo/scripting/engine.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/engine.cpp c++ -o build/opt/mongo/scripting/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/scripting/utils.cpp /usr/pkg/bin/python2.7 src/mongo/base/generate_error_codes.py js src/mongo/base/error_codes.err --js-source=build/opt/mongo/shell/error_codes.js c++ -o build/opt/mongo/transport/message_compressor_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/transport/message_compressor_manager.cpp jsToH(["build/opt/mongo/shell/mongo.cpp"], ["src/mongo/shell/assert.js", "src/mongo/shell/bulk_api.js", "src/mongo/shell/collection.js", "src/mongo/shell/crud_api.js", "src/mongo/shell/db.js", "src/mongo/shell/explain_query.js", "src/mongo/shell/explainable.js", "build/opt/mongo/shell/error_codes.js", "src/mongo/shell/mongo.js", "src/mongo/shell/mr.js", "src/mongo/shell/query.js", "src/mongo/shell/types.js", "src/mongo/shell/upgrade_check.js", "src/mongo/shell/utils.js", "src/mongo/shell/utils_sh.js", "src/mongo/shell/utils_auth.js"]) c++ -o build/opt/mongo/transport/message_compressor_metrics.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/transport/message_compressor_metrics.cpp writing: build/opt/mongo/shell/mongo.cpp c++ -o build/opt/mongo/shell/mongo.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.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/scripting/engine.cpp:36: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/mongo/transport/message_compressor_registry.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/transport/message_compressor_registry.cpp Generating placeholder library build/opt/mongo/scripting/libscripting.a Skipping ranlib for build/opt/mongo/scripting/libscripting.a c++ -o build/opt/mongo/transport/message_compressor_snappy.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/transport/message_compressor_snappy.cpp c++ -o build/opt/mongo/transport/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/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/transport/session.cpp c++ -o build/opt/mongo/transport/ticket.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/transport/ticket.cpp c++ -o build/opt/mongo/transport/transport_layer.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/transport/transport_layer.cpp c++ -o build/opt/mongo/transport/transport_layer_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/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/transport/transport_layer_legacy.cpp c++ -o build/opt/mongo/transport/transport_layer_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/transport/transport_layer_manager.cpp c++ -o build/opt/mongo/util/concurrency/spin_lock.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/spin_lock.cpp Generating placeholder library build/opt/mongo/scripting/libscripting_common.a Skipping ranlib for build/opt/mongo/scripting/libscripting_common.a c++ -o build/opt/mongo/util/concurrency/ticketholder.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/ticketholder.cpp c++ -o build/opt/mongo/util/background.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/background.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/transport/message_compressor_registry.cpp:37: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ Generating placeholder library build/opt/mongo/transport/libtransport_layer_common.a Skipping ranlib for build/opt/mongo/transport/libtransport_layer_common.a c++ -o build/opt/mongo/util/background_thread_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/background_thread_clock_source.cpp Generating placeholder library build/opt/mongo/util/concurrency/libspin_lock.a Skipping ranlib for build/opt/mongo/util/concurrency/libspin_lock.a c++ -o build/opt/mongo/util/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/clock_source.cpp Generating placeholder library build/opt/mongo/shell/libmongojs.a Skipping ranlib for build/opt/mongo/shell/libmongojs.a c++ -o build/opt/mongo/util/fast_clock_source_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/util/fast_clock_source_factory.cpp Generating placeholder library build/opt/mongo/transport/libtransport_layer_manager.a Skipping ranlib for build/opt/mongo/transport/libtransport_layer_manager.a c++ -o build/opt/mongo/util/debugger.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/debugger.cpp Generating placeholder library build/opt/mongo/util/concurrency/libticketholder.a Skipping ranlib for build/opt/mongo/util/concurrency/libticketholder.a c++ -o build/opt/mongo/util/decoration_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/util/decoration_container.cpp Generating placeholder library build/opt/mongo/util/libdebugger.a Skipping ranlib for build/opt/mongo/util/libdebugger.a c++ -o build/opt/mongo/util/decoration_registry.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/decoration_registry.cpp c++ -o build/opt/mongo/util/fail_point.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/fail_point.cpp c++ -o build/opt/mongo/util/fail_point_registry.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/fail_point_registry.cpp Generating placeholder library build/opt/mongo/util/libbackground_job.a Skipping ranlib for build/opt/mongo/util/libbackground_job.a c++ -o build/opt/mongo/util/fail_point_server_parameter.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/fail_point_server_parameter.cpp Generating placeholder library build/opt/mongo/util/libdecorable.a Generating placeholder library build/opt/mongo/transport/libmessage_compressor.a Skipping ranlib for build/opt/mongo/transport/libmessage_compressor.a Skipping ranlib for build/opt/mongo/util/libdecorable.a c++ -o build/opt/mongo/util/fail_point_service.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/fail_point_service.cpp c++ -o build/opt/mongo/util/md5.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/md5.cpp c++ -o build/opt/mongo/util/password_digest.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/password_digest.cpp Generating placeholder library build/opt/mongo/transport/libtransport_layer_legacy.a Generating placeholder library build/opt/mongo/util/libclock_sources.a Skipping ranlib for build/opt/mongo/util/libclock_sources.a Skipping ranlib for build/opt/mongo/transport/libtransport_layer_legacy.a c++ -o build/opt/mongo/util/password.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/password.cpp c++ -o build/opt/mongo/util/processinfo.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/processinfo.cpp c++ -o build/opt/mongo/util/processinfo_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/util/processinfo_netbsd.cpp Generating placeholder library build/opt/mongo/util/libmd5.a Skipping ranlib for build/opt/mongo/util/libmd5.a c++ -o build/opt/mongo/util/quick_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/quick_exit.cpp Generating placeholder library build/opt/mongo/util/libquick_exit.a Skipping ranlib for build/opt/mongo/util/libquick_exit.a c++ -o build/opt/mongo/util/safe_num.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/safe_num.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/password.h:32, from src/mongo/util/password.cpp:33: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/mongo/util/secure_zero_memory.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/secure_zero_memory.cpp c++ -o build/opt/mongo/util/signal_handlers.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.cpp c++ -o build/opt/mongo/util/signal_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/signal_win32.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/util/processinfo.cpp:37: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ Creating 'build/opt/mongo/util/version_constants.h' Generating placeholder library build/opt/mongo/util/libsecure_zero_memory.a Skipping ranlib for build/opt/mongo/util/libsecure_zero_memory.a c++ -o build/opt/mongo/util/version_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/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_impl.cpp c++ -o build/opt/mongo/util/winutil.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/winutil.cpp Generating placeholder library build/opt/mongo/util/libprocessinfo.a Skipping ranlib for build/opt/mongo/util/libprocessinfo.a Generating placeholder library build/opt/mongo/util/libpassword.a Skipping ranlib for build/opt/mongo/util/libpassword.a c++ -o build/opt/mongo/util/net/hostandport.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/net/hostandport.cpp Generating placeholder library build/opt/mongo/util/libwinutil.a Generating placeholder library build/opt/mongo/util/libfail_point.a Skipping ranlib for build/opt/mongo/util/libwinutil.a Skipping ranlib for build/opt/mongo/util/libfail_point.a c++ -o build/opt/mongo/util/net/asio_message_port.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/net/asio_message_port.cpp c++ -o build/opt/mongo/util/net/asio_ssl_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/util/net/asio_ssl_context.cpp c++ -o build/opt/mongo/util/net/hostname_canonicalization.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/net/hostname_canonicalization.cpp c++ -o build/opt/mongo/util/net/httpclient.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/net/httpclient.cpp Generating placeholder library build/opt/mongo/util/libsafe_num.a Skipping ranlib for build/opt/mongo/util/libsafe_num.a c++ -o build/opt/mongo/util/net/listen.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/net/listen.cpp c++ -o build/opt/mongo/util/net/message.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/net/message.cpp Generating placeholder library build/opt/mongo/util/libsignal_handlers.a Skipping ranlib for build/opt/mongo/util/libsignal_handlers.a c++ -o build/opt/mongo/util/net/message_port.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/net/message_port.cpp Generating placeholder library build/opt/mongo/util/libversion_impl.a Skipping ranlib for build/opt/mongo/util/libversion_impl.a c++ -o build/opt/mongo/util/net/message_port_startup_param.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/net/message_port_startup_param.cpp c++ -o build/opt/mongo/util/net/sock.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/net/sock.cpp c++ -o build/opt/mongo/util/net/sockaddr.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/net/sockaddr.cpp Generating placeholder library build/opt/mongo/util/net/libhostandport.a Skipping ranlib for build/opt/mongo/util/net/libhostandport.a c++ -o build/opt/mongo/util/net/socket_exception.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/net/socket_exception.cpp c++ -o build/opt/mongo/util/net/socket_poll.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/net/socket_poll.cpp c++ -o build/opt/mongo/util/net/ssl_expiration.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/net/ssl_expiration.cpp c++ -o build/opt/mongo/util/net/ssl_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/util/net/ssl_manager.cpp c++ -o build/opt/mongo/util/net/ssl_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/util/net/ssl_options.cpp c++ -o build/opt/mongo/util/net/thread_idle_callback.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/net/thread_idle_callback.cpp c++ -o build/opt/mongo/util/options_parser/environment.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/options_parser/environment.cpp c++ -o build/opt/mongo/util/options_parser/value.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/options_parser/value.cpp c++ -o build/opt/mongo/util/options_parser/constraints.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/options_parser/constraints.cpp c++ -o build/opt/mongo/util/options_parser/option_section.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/options_parser/option_section.cpp c++ -o build/opt/mongo/util/options_parser/option_description.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/options_parser/option_description.cpp c++ -o build/opt/mongo/util/options_parser/options_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/util/options_parser/options_parser.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/net/ssl_options.cpp:34: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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/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/trim.hpp:19, from src/third_party/boost-1.60.0/boost/algorithm/string.hpp:19, from src/mongo/util/net/ssl_manager.cpp:34: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/mongo/util/options_parser/startup_option_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/options_parser/startup_option_init.cpp c++ -o build/opt/mongo/util/options_parser/startup_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/util/options_parser/startup_options.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/options_parser.cpp:33: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/mongo/util/options_parser/options_parser_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/options_parser/options_parser_init.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/option_section.cpp:28: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_exception.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_exception.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_four_over_pi.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_four_over_pi.c src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_exception.c: In function '__dpml_bid_do_side_effects': src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_exception.c:136:28: warning: implicit declaration of function 'raise' [-Wimplicit-function-declaration] 136 | # define DPML_SIGNAL(p) raise(SIGFPE) | ^~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_exception.c:187:13: note: in expansion of macro 'DPML_SIGNAL' 187 | DPML_SIGNAL(p); | ^~~~~~~~~~~ gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bessel.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bessel.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bid.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bid.c src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bessel.c: In function '__dpml_bid_ux_large_order_bessel__': src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bessel.c:484:54: warning: comparison of integer expressions of different signedness: 'UX_FRACTION_DIGIT_TYPE' {aka 'long long unsigned int'} and 'long long int' [-Wsign-compare] 484 | if ((0 < exp_diff) || ((0 == exp_diff) && (N < order))) | ^ src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bessel.c:615:13: warning: comparison of integer expressions of different signedness: 'UX_FRACTION_DIGIT_TYPE' {aka 'long long unsigned int'} and 'long long int' [-Wsign-compare] 615 | N = (N < (order + 1) ) ? (order + 1) : N; | ^ src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bessel.c:615:31: warning: operand of '?:' changes signedness from 'long long int' to 'UX_FRACTION_DIGIT_TYPE' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 615 | N = (N < (order + 1) ) ? (order + 1) : N; | ^~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bessel.c:654:15: warning: comparison of integer expressions of different signedness: 'UX_FRACTION_DIGIT_TYPE' {aka 'long long unsigned int'} and 'long long int' [-Wsign-compare] 654 | if (N == order) | ^~ gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_cbrt.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_cbrt.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_erf.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_erf.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_exp.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_exp.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_int.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_int.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_hyper.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_hyper.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_trig.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_trig.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_lgamma.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_lgamma.c Generating placeholder library build/opt/mongo/util/net/libnetwork.a Skipping ranlib for build/opt/mongo/util/net/libnetwork.a gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_log.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_log.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_mod.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_mod.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops_64.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops_64.c 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/util/options_parser/startup_options.cpp:29: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_pow.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_pow.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_powi.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_powi.c src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops_64.c: In function '__dpml_bid_divide__': src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops_64.c:335:22: warning: operand of '?:' changes signedness from 'long long int' to 'UX_FRACTION_DIGIT_TYPE' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 335 | R = ( R == 0 ) ? ( (UX_SIGNED_FRACTION_DIGIT_TYPE) -1 ) : R; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_sqrt.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_sqrt.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_trig.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_trig.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/sqrt_tab_t.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/sqrt_tab_t.c In file included from src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_trig.c:164: src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_radian_reduce.c: In function '__dpml_bid_ux_radian_reduce__': src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_radian_reduce.c:1047:19: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long long int' [-Wsign-compare] 1047 | if ( MSD_OF_W == ((SIGNED_DIGIT_TYPE) MSD_OF_W >> (BITS_PER_DIGIT - 1)) ) | ^~ gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128.c 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/util/options_parser/options_parser_init.cpp:29: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_2_str_tables.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_2_str_tables.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acos.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acos.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acosh.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acosh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_add.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_add.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asin.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asin.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asinh.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asinh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan2.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan2.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atanh.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atanh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cbrt.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cbrt.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_compare.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_compare.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cos.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cos.c Generating placeholder library build/opt/mongo/util/options_parser/liboptions_parser_init.a Skipping ranlib for build/opt/mongo/util/options_parser/liboptions_parser_init.a gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cosh.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cosh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_div.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_div.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erf.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erf.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erfc.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erfc.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp10.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp10.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp2.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp2.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_expm1.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_expm1.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fdimd.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fdimd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fma.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fma.c Generating placeholder library build/opt/mongo/util/options_parser/liboptions_parser.a Skipping ranlib for build/opt/mongo/util/options_parser/liboptions_parser.a gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fmod.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fmod.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_frexp.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_frexp.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_hypot.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_hypot.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_ldexp.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_ldexp.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lgamma.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lgamma.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_llrintd.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_llrintd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log10.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log10.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log1p.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log1p.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log2.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log2.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_logb.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_logb.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_logbd.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_logbd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lrintd.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lrintd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lround.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lround.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_minmax.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_minmax.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_modf.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_modf.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_mul.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_mul.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_nearbyintd.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_nearbyintd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_nexttowardd.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_nexttowardd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_noncomp.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_noncomp.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantexpd.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantexpd.c src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c: In function '__bid128_pow': src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 695 | CY = ((S<X1) || (X1<CI)) ? 1 : 0; \ | ^ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out' 744 | __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0); \ | ^~~~~~~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1013:6: note: in expansion of macro '__add_192_192' 1013 | __add_192_192(ans,ans,loc); | ^~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 695 | CY = ((S<X1) || (X1<CI)) ? 1 : 0; \ | ^ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out' 745 | __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1); \ | ^~~~~~~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1013:6: note: in expansion of macro '__add_192_192' 1013 | __add_192_192(ans,ans,loc); | ^~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 695 | CY = ((S<X1) || (X1<CI)) ? 1 : 0; \ | ^ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out' 744 | __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0); \ | ^~~~~~~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1052:3: note: in expansion of macro '__add_192_192' 1052 | __add_192_192(sx,sx,cxp); | ^~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 695 | CY = ((S<X1) || (X1<CI)) ? 1 : 0; \ | ^ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out' 745 | __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1); \ | ^~~~~~~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1052:3: note: in expansion of macro '__add_192_192' 1052 | __add_192_192(sx,sx,cxp); | ^~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 695 | CY = ((S<X1) || (X1<CI)) ? 1 : 0; \ | ^ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out' 744 | __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0); \ | ^~~~~~~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1056:3: note: in expansion of macro '__add_192_192' 1056 | __add_192_192(sx,sx,cxp); | ^~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 695 | CY = ((S<X1) || (X1<CI)) ? 1 : 0; \ | ^ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out' 745 | __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1); \ | ^~~~~~~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1056:3: note: in expansion of macro '__add_192_192' 1056 | __add_192_192(sx,sx,cxp); | ^~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 695 | CY = ((S<X1) || (X1<CI)) ? 1 : 0; \ | ^ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out' 744 | __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0); \ | ^~~~~~~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1060:3: note: in expansion of macro '__add_192_192' 1060 | __add_192_192(sx,sx,cxp); | ^~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 695 | CY = ((S<X1) || (X1<CI)) ? 1 : 0; \ | ^ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out' 745 | __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1); \ | ^~~~~~~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1060:3: note: in expansion of macro '__add_192_192' 1060 | __add_192_192(sx,sx,cxp); | ^~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 695 | CY = ((S<X1) || (X1<CI)) ? 1 : 0; \ | ^ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out' 744 | __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0); \ | ^~~~~~~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1064:3: note: in expansion of macro '__add_192_192' 1064 | __add_192_192(sx,sx,cxp); | ^~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 695 | CY = ((S<X1) || (X1<CI)) ? 1 : 0; \ | ^ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out' 745 | __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1); \ | ^~~~~~~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1064:3: note: in expansion of macro '__add_192_192' 1064 | __add_192_192(sx,sx,cxp); | ^~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 695 | CY = ((S<X1) || (X1<CI)) ? 1 : 0; \ | ^ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out' 744 | __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0); \ | ^~~~~~~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1068:3: note: in expansion of macro '__add_192_192' 1068 | __add_192_192(sx,sx,cxp); | ^~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 695 | CY = ((S<X1) || (X1<CI)) ? 1 : 0; \ | ^ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out' 745 | __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1); \ | ^~~~~~~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1068:3: note: in expansion of macro '__add_192_192' 1068 | __add_192_192(sx,sx,cxp); | ^~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 695 | CY = ((S<X1) || (X1<CI)) ? 1 : 0; \ | ^ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out' 744 | __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0); \ | ^~~~~~~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1072:3: note: in expansion of macro '__add_192_192' 1072 | __add_192_192(sx,sx,cxp); | ^~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 695 | CY = ((S<X1) || (X1<CI)) ? 1 : 0; \ | ^ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out' 745 | __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1); \ | ^~~~~~~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1072:3: note: in expansion of macro '__add_192_192' 1072 | __add_192_192(sx,sx,cxp); | ^~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 695 | CY = ((S<X1) || (X1<CI)) ? 1 : 0; \ | ^ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out' 744 | __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0); \ | ^~~~~~~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1076:3: note: in expansion of macro '__add_192_192' 1076 | __add_192_192(sx,sx,cxp); | ^~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 695 | CY = ((S<X1) || (X1<CI)) ? 1 : 0; \ | ^ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out' 745 | __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1); \ | ^~~~~~~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1076:3: note: in expansion of macro '__add_192_192' 1076 | __add_192_192(sx,sx,cxp); | ^~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 695 | CY = ((S<X1) || (X1<CI)) ? 1 : 0; \ | ^ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out' 744 | __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0); \ | ^~~~~~~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1080:3: note: in expansion of macro '__add_192_192' 1080 | __add_192_192(sx,sx,cxp); | ^~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 695 | CY = ((S<X1) || (X1<CI)) ? 1 : 0; \ | ^ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out' 745 | __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1); \ | ^~~~~~~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1080:3: note: in expansion of macro '__add_192_192' 1080 | __add_192_192(sx,sx,cxp); | ^~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 695 | CY = ((S<X1) || (X1<CI)) ? 1 : 0; \ | ^ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out' 744 | __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0); \ | ^~~~~~~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1084:3: note: in expansion of macro '__add_192_192' 1084 | __add_192_192(sx,sx,cxp); | ^~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison of integer expressions of different signedness: 'BID_UINT64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 695 | CY = ((S<X1) || (X1<CI)) ? 1 : 0; \ | ^ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out' 745 | __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1); \ | ^~~~~~~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1084:3: note: in expansion of macro '__add_192_192' 1084 | __add_192_192(sx,sx,cxp); | ^~~~~~~~~~~~~ gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_rem.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_rem.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantize.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantize.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_round_integral.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_round_integral.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalb.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalb.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalbl.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalbl.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sin.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sin.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sinh.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sinh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sqrt.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sqrt.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_string.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_string.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tan.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tan.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tanh.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tanh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tgamma.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tgamma.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int16.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int16.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int32.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int32.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int64.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int64.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int8.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int8.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint16.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint16.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint32.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint32.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint64.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint64.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint8.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint8.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acos.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acos.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acosh.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acosh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_add.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_add.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asin.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asin.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asinh.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asinh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan2.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan2.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atanh.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atanh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cbrt.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cbrt.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_compare.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_compare.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cos.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cos.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cosh.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cosh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_div.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_div.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erf.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erf.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erfc.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erfc.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp10.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp10.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp2.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp2.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_expm1.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_expm1.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fdimd.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fdimd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fma.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fma.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fmod.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fmod.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_frexp.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_frexp.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_hypot.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_hypot.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_ldexp.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_ldexp.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lgamma.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lgamma.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_llrintd.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_llrintd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log10.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log10.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log1p.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log1p.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log2.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log2.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_logb.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_logb.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_logbd.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_logbd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lrintd.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lrintd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lround.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lround.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_minmax.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_minmax.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_modf.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_modf.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_mul.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_mul.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_nearbyintd.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_nearbyintd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_next.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_next.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_nexttowardd.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_nexttowardd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_noncomp.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_noncomp.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_pow.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_pow.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_quantexpd.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_quantexpd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_quantize.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_quantize.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_rem.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_rem.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_round_integral.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_round_integral.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_scalb.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_scalb.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_scalbl.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_scalbl.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sin.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sin.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sinh.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sinh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sqrt.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sqrt.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_string.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_string.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sub.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sub.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tan.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tan.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tanh.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tanh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tgamma.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tgamma.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_bid128.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_bid128.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_bid64.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_bid64.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int16.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int16.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int32.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int32.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int64.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int64.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int8.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int8.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint16.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint16.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint32.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint32.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint64.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint64.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint8.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint8.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_acos.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_acos.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_acosh.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_acosh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_add.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_add.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_asin.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_asin.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_asinh.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_asinh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atan.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atan.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atan2.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atan2.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atanh.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atanh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cbrt.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cbrt.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_compare.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_compare.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cos.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cos.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cosh.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cosh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_div.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_div.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_erf.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_erf.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_erfc.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_erfc.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp10.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp10.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp2.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp2.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_expm1.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_expm1.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fdimd.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fdimd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fma.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fma.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fmod.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fmod.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_frexp.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_frexp.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_hypot.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_hypot.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_ldexp.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_ldexp.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lgamma.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lgamma.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_llrintd.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_llrintd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log10.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log10.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log1p.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log1p.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log2.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log2.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_logb.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_logb.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_logbd.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_logbd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lrintd.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lrintd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lround.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lround.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_minmax.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_minmax.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_modf.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_modf.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_mul.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_mul.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_nearbyintd.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_nearbyintd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_next.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_next.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_nexttowardd.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_nexttowardd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_noncomp.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_noncomp.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_pow.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_pow.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_quantexpd.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_quantexpd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_quantize.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_quantize.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_rem.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_rem.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_round_integral.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_round_integral.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_scalb.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_scalb.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_scalbl.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_scalbl.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sin.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sin.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sinh.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sinh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sqrt.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sqrt.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_string.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_string.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tan.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tan.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tanh.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tanh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tgamma.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tgamma.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_bid128.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_bid128.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int16.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int16.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int32.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int32.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int64.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int64.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int8.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int8.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint16.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint16.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint32.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint32.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint64.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint64.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint8.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint8.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_binarydecimal.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_binarydecimal.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_convert_data.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_convert_data.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_decimal_data.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_decimal_data.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_decimal_globals.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_decimal_globals.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_dpd.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_dpd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_feclearexcept.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_feclearexcept.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fegetexceptflag.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fegetexceptflag.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_feraiseexcept.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_feraiseexcept.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fesetexceptflag.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fesetexceptflag.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fetestexcept.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fetestexcept.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_flag_operations.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_flag_operations.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_from_int.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_from_int.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_round.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_round.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod128.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod128.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod32.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod32.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod64.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod64.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod128.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod128.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod32.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod32.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod64.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod64.c c++ -o build/opt/third_party/asio-master/asio/src/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/boost-1.60.0 -Isrc/third_party/asio-master/asio/include -I/dist/pkg/include src/third_party/asio-master/asio/src/asio.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/chrono/src/chrono.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/chrono/src/chrono.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/chrono/src/process_cpu_clocks.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/chrono/src/process_cpu_clocks.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/chrono/src/thread_clock.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/chrono/src/thread_clock.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/filesystem/src/codecvt_error_category.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/filesystem/src/codecvt_error_category.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/filesystem/src/operations.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/filesystem/src/operations.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/filesystem/src/path.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/filesystem/src/path.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/filesystem/src/path_traits.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/filesystem/src/path_traits.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/filesystem/src/portability.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/filesystem/src/portability.cpp Generating placeholder library build/opt/third_party/boost-1.60.0/libboost_chrono.a Skipping ranlib for build/opt/third_party/boost-1.60.0/libboost_chrono.a c++ -o build/opt/third_party/boost-1.60.0/libs/filesystem/src/unique_path.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/filesystem/src/unique_path.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/filesystem/src/utf8_codecvt_facet.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/filesystem/src/utf8_codecvt_facet.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/libs/filesystem/src/operations.cpp:44: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ Generating placeholder library build/opt/third_party/IntelRDFPMathLib20U1/libintel_decimal128.a Skipping ranlib for build/opt/third_party/IntelRDFPMathLib20U1/libintel_decimal128.a c++ -o build/opt/third_party/boost-1.60.0/libs/filesystem/src/windows_file_codecvt.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/filesystem/src/windows_file_codecvt.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/libs/filesystem/src/path.cpp:26: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/third_party/boost-1.60.0/libs/iostreams/src/file_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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/iostreams/src/file_descriptor.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/libs/filesystem/src/portability.cpp:21: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/third_party/boost-1.60.0/libs/iostreams/src/mapped_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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/iostreams/src/mapped_file.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/libs/filesystem/src/unique_path.cpp:20: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ In file included from src/third_party/asio-master/asio/include/asio/impl/src.hpp:52, from src/third_party/asio-master/asio/src/asio.cpp:11: src/third_party/asio-master/asio/include/asio/detail/impl/socket_ops.ipp: In function 'const char* asio::detail::socket_ops::inet_ntop(int, const void*, char*, size_t, long unsigned int, asio::error_code&)': src/third_party/asio-master/asio/include/asio/detail/impl/socket_ops.ipp:2109:29: warning: '%lu' directive writing between 1 and 20 bytes into a region of size 16 [-Wformat-overflow=] 2109 | sprintf(if_name + 1, "%lu", scope_id); | ^~~ src/third_party/asio-master/asio/include/asio/detail/impl/socket_ops.ipp:2109:28: note: directive argument in the range [1, 18446744073709551615] 2109 | sprintf(if_name + 1, "%lu", scope_id); | ^~~~~ src/third_party/asio-master/asio/include/asio/detail/impl/socket_ops.ipp:2109:14: note: 'sprintf' output between 2 and 21 bytes into a destination of size 16 2109 | sprintf(if_name + 1, "%lu", scope_id); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -o build/opt/third_party/boost-1.60.0/libs/program_options/src/cmdline.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/program_options/src/cmdline.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/program_options/src/config_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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/program_options/src/config_file.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/program_options/src/convert.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/program_options/src/convert.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/program_options/src/options_description.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/program_options/src/options_description.cpp Generating placeholder library build/opt/third_party/boost-1.60.0/libboost_filesystem.a Skipping ranlib for build/opt/third_party/boost-1.60.0/libboost_filesystem.a c++ -o build/opt/third_party/boost-1.60.0/libs/program_options/src/parsers.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/program_options/src/parsers.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/program_options/src/positional_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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/program_options/src/positional_options.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/program_options/eof_iterator.hpp:9, from src/third_party/boost-1.60.0/boost/program_options/detail/config_file.hpp:17, from src/third_party/boost-1.60.0/libs/program_options/src/config_file.cpp:10: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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/range/iterator_range.hpp:13, from src/third_party/boost-1.60.0/boost/iostreams/traits.hpp:39, from src/third_party/boost-1.60.0/boost/iostreams/detail/dispatch.hpp:17, from src/third_party/boost-1.60.0/boost/iostreams/flush.hpp:17, from src/third_party/boost-1.60.0/boost/iostreams/close.hpp:18, from src/third_party/boost-1.60.0/boost/iostreams/device/mapped_file.hpp:20, from src/third_party/boost-1.60.0/libs/iostreams/src/mapped_file.cpp:18: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ Generating placeholder library build/opt/third_party/asio-master/libasio.a Skipping ranlib for build/opt/third_party/asio-master/libasio.a c++ -o build/opt/third_party/boost-1.60.0/libs/program_options/src/split.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/program_options/src/split.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/program_options/src/utf8_codecvt_facet.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/program_options/src/utf8_codecvt_facet.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/program_options/src/value_semantic.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/program_options/src/value_semantic.cpp Generating placeholder library build/opt/third_party/boost-1.60.0/libboost_iostreams.a Skipping ranlib for build/opt/third_party/boost-1.60.0/libboost_iostreams.a c++ -o build/opt/third_party/boost-1.60.0/libs/program_options/src/variables_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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/program_options/src/variables_map.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/detail/cmdline.hpp:14, from src/third_party/boost-1.60.0/libs/program_options/src/cmdline.cpp:11: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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/libs/program_options/src/options_description.cpp:10: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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/detail/cmdline.hpp:14, from src/third_party/boost-1.60.0/boost/program_options/parsers.hpp:12, from src/third_party/boost-1.60.0/libs/program_options/src/parsers.cpp:11: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/third_party/boost-1.60.0/libs/program_options/src/winmain.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/program_options/src/winmain.cpp In file included from src/third_party/boost-1.60.0/boost/function/detail/maybe_include.hpp:18, from src/third_party/boost-1.60.0/boost/function/function1.hpp:11, from src/third_party/boost-1.60.0/boost/program_options/value_semantic.hpp:13, 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/detail/cmdline.hpp:14, from src/third_party/boost-1.60.0/libs/program_options/src/cmdline.cpp:11: src/third_party/boost-1.60.0/boost/function/function_template.hpp: In instantiation of 'void boost::detail::function::basic_vtable1<R, T0>::assign_functor(FunctionObj, boost::detail::function::function_buffer&, mpl_::true_) const [with FunctionObj = boost::_bi::bind_t<std::vector<boost::program_options::basic_option<char> >, boost::_mfi::mf1<std::vector<boost::program_options::basic_option<char> >, boost::program_options::detail::cmdline, std::vector<std::__cxx11::basic_string<char> >&>, boost::_bi::list2<boost::_bi::value<boost::program_options::detail::cmdline*>, boost::arg<1> > >; R = std::vector<boost::program_options::basic_option<char> >; T0 = std::vector<std::__cxx11::basic_string<char> >&; mpl_::true_ = mpl_::bool_<true>]': src/third_party/boost-1.60.0/boost/function/function_template.hpp:608:27: required from 'bool boost::detail::function::basic_vtable1<R, T0>::assign_to(FunctionObj, boost::detail::function::function_buffer&, boost::detail::function::function_obj_tag) const [with FunctionObj = boost::_bi::bind_t<std::vector<boost::program_options::basic_option<char> >, boost::_mfi::mf1<std::vector<boost::program_options::basic_option<char> >, boost::program_options::detail::cmdline, std::vector<std::__cxx11::basic_string<char> >&>, boost::_bi::list2<boost::_bi::value<boost::program_options::detail::cmdline*>, boost::arg<1> > >; R = std::vector<boost::program_options::basic_option<char> >; T0 = std::vector<std::__cxx11::basic_string<char> >&]' src/third_party/boost-1.60.0/boost/function/function_template.hpp:498:27: required from 'bool boost::detail::function::basic_vtable1<R, T0>::assign_to(F, boost::detail::function::function_buffer&) const [with F = boost::_bi::bind_t<std::vector<boost::program_options::basic_option<char> >, boost::_mfi::mf1<std::vector<boost::program_options::basic_option<char> >, boost::program_options::detail::cmdline, std::vector<std::__cxx11::basic_string<char> >&>, boost::_bi::list2<boost::_bi::value<boost::program_options::detail::cmdline*>, boost::arg<1> > >; R = std::vector<boost::program_options::basic_option<char> >; T0 = std::vector<std::__cxx11::basic_string<char> >&]' src/third_party/boost-1.60.0/boost/function/function_template.hpp:939:34: required from 'void boost::function1<R, T1>::assign_to(Functor) [with Functor = boost::_bi::bind_t<std::vector<boost::program_options::basic_option<char> >, boost::_mfi::mf1<std::vector<boost::program_options::basic_option<char> >, boost::program_options::detail::cmdline, std::vector<std::__cxx11::basic_string<char> >&>, boost::_bi::list2<boost::_bi::value<boost::program_options::detail::cmdline*>, boost::arg<1> > >; R = std::vector<boost::program_options::basic_option<char> >; T0 = std::vector<std::__cxx11::basic_string<char> >&]' src/third_party/boost-1.60.0/boost/function/function_template.hpp:727:22: required from 'boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = boost::_bi::bind_t<std::vector<boost::program_options::basic_option<char> >, boost::_mfi::mf1<std::vector<boost::program_options::basic_option<char> >, boost::program_options::detail::cmdline, std::vector<std::__cxx11::basic_string<char> >&>, boost::_bi::list2<boost::_bi::value<boost::program_options::detail::cmdline*>, boost::arg<1> > >; R = std::vector<boost::program_options::basic_option<char> >; T0 = std::vector<std::__cxx11::basic_string<char> >&; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]' src/third_party/boost-1.60.0/libs/program_options/src/cmdline.cpp:227:74: required from here src/third_party/boost-1.60.0/boost/function/function_template.hpp:572:16: warning: placement new constructing an object of type 'boost::_bi::bind_t<std::vector<boost::program_options::basic_option<char> >, boost::_mfi::mf1<std::vector<boost::program_options::basic_option<char> >, boost::program_options::detail::cmdline, std::vector<std::__cxx11::basic_string<char> >&>, boost::_bi::list2<boost::_bi::value<boost::program_options::detail::cmdline*>, boost::arg<1> > >' and size '24' in a region of type 'char' and size '1' [-Wplacement-new=] 572 | new (reinterpret_cast<void*>(&functor.data)) FunctionObj(f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/boost-1.60.0/boost/function/detail/prologue.hpp:17, from src/third_party/boost-1.60.0/boost/function/function_template.hpp:13, from src/third_party/boost-1.60.0/boost/function/detail/maybe_include.hpp:18, from src/third_party/boost-1.60.0/boost/function/function1.hpp:11, from src/third_party/boost-1.60.0/boost/program_options/value_semantic.hpp:13, 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/detail/cmdline.hpp:14, from src/third_party/boost-1.60.0/libs/program_options/src/cmdline.cpp:11: src/third_party/boost-1.60.0/boost/function/function_base.hpp: In instantiation of 'static void boost::detail::function::functor_manager_common<Functor>::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t<std::vector<boost::program_options::basic_option<char> >, boost::_mfi::mf1<std::vector<boost::program_options::basic_option<char> >, boost::program_options::detail::cmdline, std::vector<std::__cxx11::basic_string<char> >&>, boost::_bi::list2<boost::_bi::value<boost::program_options::detail::cmdline*>, boost::arg<1> > >]': src/third_party/boost-1.60.0/boost/function/function_base.hpp:354:56: required from 'static void boost::detail::function::functor_manager<Functor>::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = boost::_bi::bind_t<std::vector<boost::program_options::basic_option<char> >, boost::_mfi::mf1<std::vector<boost::program_options::basic_option<char> >, boost::program_options::detail::cmdline, std::vector<std::__cxx11::basic_string<char> >&>, boost::_bi::list2<boost::_bi::value<boost::program_options::detail::cmdline*>, boost::arg<1> > >; mpl_::true_ = mpl_::bool_<true>]' src/third_party/boost-1.60.0/boost/function/function_base.hpp:402:18: required from 'static void boost::detail::function::functor_manager<Functor>::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) [with Functor = boost::_bi::bind_t<std::vector<boost::program_options::basic_option<char> >, boost::_mfi::mf1<std::vector<boost::program_options::basic_option<char> >, boost::program_options::detail::cmdline, std::vector<std::__cxx11::basic_string<char> >&>, boost::_bi::list2<boost::_bi::value<boost::program_options::detail::cmdline*>, boost::arg<1> > >]' src/third_party/boost-1.60.0/boost/function/function_base.hpp:430:20: required from 'static void boost::detail::function::functor_manager<Functor>::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t<std::vector<boost::program_options::basic_option<char> >, boost::_mfi::mf1<std::vector<boost::program_options::basic_option<char> >, boost::program_options::detail::cmdline, std::vector<std::__cxx11::basic_string<char> >&>, boost::_bi::list2<boost::_bi::value<boost::program_options::detail::cmdline*>, boost::arg<1> > >]' src/third_party/boost-1.60.0/boost/function/function_template.hpp:937:13: required from 'void boost::function1<R, T1>::assign_to(Functor) [with Functor = boost::_bi::bind_t<std::vector<boost::program_options::basic_option<char> >, boost::_mfi::mf1<std::vector<boost::program_options::basic_option<char> >, boost::program_options::detail::cmdline, std::vector<std::__cxx11::basic_string<char> >&>, boost::_bi::list2<boost::_bi::value<boost::program_options::detail::cmdline*>, boost::arg<1> > >; R = std::vector<boost::program_options::basic_option<char> >; T0 = std::vector<std::__cxx11::basic_string<char> >&]' src/third_party/boost-1.60.0/boost/function/function_template.hpp:727:22: required from 'boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = boost::_bi::bind_t<std::vector<boost::program_options::basic_option<char> >, boost::_mfi::mf1<std::vector<boost::program_options::basic_option<char> >, boost::program_options::detail::cmdline, std::vector<std::__cxx11::basic_string<char> >&>, boost::_bi::list2<boost::_bi::value<boost::program_options::detail::cmdline*>, boost::arg<1> > >; R = std::vector<boost::program_options::basic_option<char> >; T0 = std::vector<std::__cxx11::basic_string<char> >&; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]' src/third_party/boost-1.60.0/libs/program_options/src/cmdline.cpp:227:74: required from here src/third_party/boost-1.60.0/boost/function/function_base.hpp:308:18: warning: placement new constructing an object of type 'boost::detail::function::functor_manager_common<boost::_bi::bind_t<std::vector<boost::program_options::basic_option<char> >, boost::_mfi::mf1<std::vector<boost::program_options::basic_option<char> >, boost::program_options::detail::cmdline, std::vector<std::__cxx11::basic_string<char> >&>, boost::_bi::list2<boost::_bi::value<boost::program_options::detail::cmdline*>, boost::arg<1> > > >::functor_type' {aka 'boost::_bi::bind_t<std::vector<boost::program_options::basic_option<char> >, boost::_mfi::mf1<std::vector<boost::program_options::basic_option<char> >, boost::program_options::detail::cmdline, std::vector<std::__cxx11::basic_string<char> >&>, boost::_bi::list2<boost::_bi::value<boost::program_options::detail::cmdline*>, boost::arg<1> > >'} and size '24' in a region of type 'char' and size '1' [-Wplacement-new=] 308 | new (reinterpret_cast<void*>(&out_buffer.data)) functor_type(*in_functor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -o build/opt/third_party/boost-1.60.0/libs/regex/src/c_regex_traits.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/regex/src/c_regex_traits.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/detail/cmdline.hpp:14, from src/third_party/boost-1.60.0/boost/program_options/parsers.hpp:12, from src/third_party/boost-1.60.0/libs/program_options/src/split.cpp:8: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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/libs/program_options/src/value_semantic.cpp:8: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/third_party/boost-1.60.0/libs/regex/src/cpp_regex_traits.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/regex/src/cpp_regex_traits.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/detail/cmdline.hpp:14, from src/third_party/boost-1.60.0/boost/program_options/parsers.hpp:12, from src/third_party/boost-1.60.0/libs/program_options/src/variables_map.cpp:9: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/third_party/boost-1.60.0/libs/regex/src/cregex.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/regex/src/cregex.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/regex/src/fileiter.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/regex/src/fileiter.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/detail/cmdline.hpp:14, from src/third_party/boost-1.60.0/boost/program_options/parsers.hpp:12, from src/third_party/boost-1.60.0/libs/program_options/src/winmain.cpp:7: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/third_party/boost-1.60.0/libs/regex/src/icu.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/regex/src/icu.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/regex/src/instances.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/regex/src/instances.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/regex/src/posix_api.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/regex/src/posix_api.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/regex/src/regex.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/regex/src/regex.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/regex/src/regex_debug.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/regex/src/regex_debug.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/regex/src/regex_raw_buffer.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/regex/src/regex_raw_buffer.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/regex/src/regex_traits_defaults.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/regex/src/regex_traits_defaults.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/regex/src/static_mutex.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/regex/src/static_mutex.cpp Generating placeholder library build/opt/third_party/boost-1.60.0/libboost_program_options.a Skipping ranlib for build/opt/third_party/boost-1.60.0/libboost_program_options.a c++ -o build/opt/third_party/boost-1.60.0/libs/regex/src/usinstances.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/regex/src/usinstances.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/regex/src/w32_regex_traits.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/regex/src/w32_regex_traits.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/regex/src/wc_regex_traits.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/regex/src/wc_regex_traits.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/regex/src/wide_posix_api.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/regex/src/wide_posix_api.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/regex/src/winstances.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/regex/src/winstances.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/system/src/error_code.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/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/system/src/error_code.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/thread/src/future.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 -DBOOST_THREAD_BUILD_LIB -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/thread/src/future.cpp c++ -o build/opt/third_party/boost-1.60.0/libs/thread/src/tss_null.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 -DBOOST_THREAD_BUILD_LIB -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/thread/src/tss_null.cpp Generating placeholder library build/opt/third_party/boost-1.60.0/libboost_system.a c++ -o build/opt/third_party/boost-1.60.0/libs/thread/src/pthread/once.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 -DBOOST_THREAD_BUILD_LIB -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/thread/src/pthread/once.cpp Skipping ranlib for build/opt/third_party/boost-1.60.0/libboost_system.a c++ -o build/opt/third_party/boost-1.60.0/libs/thread/src/pthread/thread.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 -DBOOST_THREAD_BUILD_LIB -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include src/third_party/boost-1.60.0/libs/thread/src/pthread/thread.cpp c++ -o build/opt/third_party/shim_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/third_party/shim_allocator.cpp Generating placeholder library build/opt/third_party/libshim_allocator.a Skipping ranlib for build/opt/third_party/libshim_allocator.a c++ -o build/opt/third_party/shim_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/boost-1.60.0 -Isrc/third_party/asio-master/asio/include -I/dist/pkg/include src/third_party/shim_asio.cpp c++ -o build/opt/third_party/shim_boost.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/boost-1.60.0 -I/dist/pkg/include src/third_party/shim_boost.cpp Generating placeholder library build/opt/third_party/libshim_boost.a Skipping ranlib for build/opt/third_party/libshim_boost.a c++ -o build/opt/third_party/shim_intel_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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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 -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/dist/pkg/include src/third_party/shim_intel_decimal128.cpp Generating placeholder library build/opt/third_party/libshim_asio.a Skipping ranlib for build/opt/third_party/libshim_asio.a c++ -o build/opt/third_party/shim_mozjs.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 -I/dist/pkg/include src/third_party/shim_mozjs.cpp Generating placeholder library build/opt/third_party/libshim_mozjs.a Generating placeholder library build/opt/third_party/libshim_intel_decimal128.a Skipping ranlib for build/opt/third_party/libshim_mozjs.a Skipping ranlib for build/opt/third_party/libshim_intel_decimal128.a c++ -o build/opt/third_party/shim_pcrecpp.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 -I/dist/pkg/include src/third_party/shim_pcrecpp.cc c++ -o build/opt/third_party/shim_snappy.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 -I/dist/pkg/include src/third_party/shim_snappy.cpp Generating placeholder library build/opt/third_party/libshim_pcrecpp.a Skipping ranlib for build/opt/third_party/libshim_pcrecpp.a c++ -o build/opt/third_party/shim_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 -I/dist/pkg/include src/third_party/shim_stemmer.cpp Generating placeholder library build/opt/third_party/libshim_snappy.a Generating placeholder library build/opt/third_party/libshim_stemmer.a Skipping ranlib for build/opt/third_party/libshim_snappy.a Skipping ranlib for build/opt/third_party/libshim_stemmer.a c++ -o build/opt/third_party/shim_tz.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 -I/dist/pkg/include src/third_party/shim_tz.cpp c++ -o build/opt/third_party/shim_yaml.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 -I/dist/pkg/include src/third_party/shim_yaml.cpp Generating placeholder library build/opt/third_party/libshim_tz.a Skipping ranlib for build/opt/third_party/libshim_tz.a c++ -o build/opt/third_party/shim_zlib.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 -I/dist/pkg/include src/third_party/shim_zlib.cpp Generating placeholder library build/opt/third_party/libshim_yaml.a Skipping ranlib for build/opt/third_party/libshim_yaml.a gcc -o build/opt/third_party/libstemmer_c/runtime/api.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 -fno-strict-overflow -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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 -I/dist/pkg/include src/third_party/libstemmer_c/runtime/api.c Generating placeholder library build/opt/third_party/libshim_zlib.a Skipping ranlib for build/opt/third_party/libshim_zlib.a gcc -o build/opt/third_party/libstemmer_c/libstemmer/libstemmer_utf8.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 -fno-strict-overflow -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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 -I/dist/pkg/include src/third_party/libstemmer_c/libstemmer/libstemmer_utf8.c gcc -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_dutch.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 -fno-strict-overflow -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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 -I/dist/pkg/include src/third_party/libstemmer_c/src_c/stem_UTF_8_dutch.c gcc -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_german.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 -fno-strict-overflow -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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 -I/dist/pkg/include src/third_party/libstemmer_c/src_c/stem_UTF_8_german.c gcc -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_porter.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 -fno-strict-overflow -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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 -I/dist/pkg/include src/third_party/libstemmer_c/src_c/stem_UTF_8_porter.c gcc -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_spanish.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 -fno-strict-overflow -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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 -I/dist/pkg/include src/third_party/libstemmer_c/src_c/stem_UTF_8_spanish.c gcc -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_english.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 -fno-strict-overflow -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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 -I/dist/pkg/include src/third_party/libstemmer_c/src_c/stem_UTF_8_english.c gcc -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_hungarian.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 -fno-strict-overflow -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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 -I/dist/pkg/include src/third_party/libstemmer_c/src_c/stem_UTF_8_hungarian.c gcc -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_portuguese.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 -fno-strict-overflow -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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 -I/dist/pkg/include src/third_party/libstemmer_c/src_c/stem_UTF_8_portuguese.c gcc -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_swedish.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 -fno-strict-overflow -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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 -I/dist/pkg/include src/third_party/libstemmer_c/src_c/stem_UTF_8_swedish.c 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/iter_find.hpp:17, from src/third_party/boost-1.60.0/boost/algorithm/string/split.hpp:16, from src/third_party/boost-1.60.0/libs/thread/src/pthread/thread.cpp:30: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ gcc -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_finnish.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 -fno-strict-overflow -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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 -I/dist/pkg/include src/third_party/libstemmer_c/src_c/stem_UTF_8_finnish.c gcc -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_italian.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 -fno-strict-overflow -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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 -I/dist/pkg/include src/third_party/libstemmer_c/src_c/stem_UTF_8_italian.c gcc -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_romanian.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 -fno-strict-overflow -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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 -I/dist/pkg/include src/third_party/libstemmer_c/src_c/stem_UTF_8_romanian.c gcc -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_turkish.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 -fno-strict-overflow -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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 -I/dist/pkg/include src/third_party/libstemmer_c/src_c/stem_UTF_8_turkish.c gcc -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_danish.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 -fno-strict-overflow -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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 -I/dist/pkg/include src/third_party/libstemmer_c/src_c/stem_UTF_8_danish.c gcc -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_french.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 -fno-strict-overflow -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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 -I/dist/pkg/include src/third_party/libstemmer_c/src_c/stem_UTF_8_french.c gcc -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_norwegian.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 -fno-strict-overflow -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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 -I/dist/pkg/include src/third_party/libstemmer_c/src_c/stem_UTF_8_norwegian.c gcc -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_russian.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 -fno-strict-overflow -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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 -I/dist/pkg/include src/third_party/libstemmer_c/src_c/stem_UTF_8_russian.c c++ -o build/opt/third_party/mozjs-45/extract/js/src/builtin/RegExp.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp Generating placeholder library build/opt/third_party/libstemmer_c/libstemmer.a Skipping ranlib for build/opt/third_party/libstemmer_c/libstemmer.a c++ -o build/opt/third_party/mozjs-45/extract/js/src/frontend/Parser.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp c++ -o build/opt/third_party/mozjs-45/extract/js/src/jit/ProcessExecutableMemory.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/extract/js/src/jit/ProcessExecutableMemory.cpp c++ -o build/opt/third_party/mozjs-45/extract/js/src/jsarray.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/extract/js/src/jsarray.cpp c++ -o build/opt/third_party/mozjs-45/extract/js/src/jsatom.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/extract/js/src/jsatom.cpp c++ -o build/opt/third_party/mozjs-45/extract/js/src/jsmath.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/extract/js/src/jsmath.cpp c++ -o build/opt/third_party/mozjs-45/extract/js/src/jsutil.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/extract/js/src/jsutil.cpp Generating placeholder library build/opt/third_party/boost-1.60.0/libboost_thread.a Skipping ranlib for build/opt/third_party/boost-1.60.0/libboost_thread.a c++ -o build/opt/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp Generating placeholder library build/opt/third_party/boost-1.60.0/libboost_regex.a Skipping ranlib for build/opt/third_party/boost-1.60.0/libboost_regex.a c++ -o build/opt/third_party/mozjs-45/extract/js/src/mfbt/Unified_cpp_mfbt0.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/extract/js/src/mfbt/Unified_cpp_mfbt0.cpp c++ -o build/opt/third_party/mozjs-45/extract/js/src/perf/pm_stub.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/extract/js/src/perf/pm_stub.cpp c++ -o build/opt/third_party/mozjs-45/extract/js/src/vm/Initialization.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp c++ -o build/opt/third_party/mozjs-45/extract/mfbt/Compression.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/extract/mfbt/Compression.cpp c++ -o build/opt/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src0.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src0.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src1.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src1.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src10.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src10.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src11.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src11.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src12.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src12.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src13.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src13.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src14.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src14.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src15.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src15.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src16.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src16.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src17.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src17.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src18.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src18.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src19.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src19.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src2.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src2.cpp In member function 'js::TemporaryTypeSet* js::jit::IonBuilder::computeHeapType(const js::TemporaryTypeSet*, jsid)': cc1plus: warning: function may return address of local variable [-Wreturn-local-addr] In file included from src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src12.cpp:47: src/third_party/mozjs-45/extract/js/src/jit/IonBuilder.cpp:9257:22: note: declared here 9257 | TemporaryTypeSet empty; | ^~~~~ c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src20.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src20.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src21.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src21.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src22.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src22.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src23.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src23.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src24.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src24.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src25.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src25.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src26.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src26.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src27.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src27.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src28.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src28.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src29.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src29.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src3.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src3.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src30.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src30.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src31.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src31.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src32.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src32.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src33.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src33.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src34.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src34.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src35.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src35.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src36.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src36.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src4.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src4.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src5.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src5.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src6.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src6.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src7.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src7.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src8.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src8.cpp c++ -o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src9.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 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-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-confdefs.h -Wno-invalid-offsetof -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=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 -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/build -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/netbsd/include -Isrc/third_party/mozjs-45/platform/x86_64/netbsd/include -I/dist/pkg/include src/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src9.cpp c++ -o build/opt/third_party/murmurhash3/MurmurHash3.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/boost-1.60.0 -I/dist/pkg/include -Isrc -Ibuild/opt -Isrc src/third_party/murmurhash3/MurmurHash3.cpp Generating placeholder library build/opt/third_party/murmurhash3/libmurmurhash3.a Skipping ranlib for build/opt/third_party/murmurhash3/libmurmurhash3.a c++ -o build/opt/third_party/s2/base/int128.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 -Isrc/third_party/s2 -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/base/int128.cc c++ -o build/opt/third_party/s2/base/logging.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 -Isrc/third_party/s2 -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/base/logging.cc c++ -o build/opt/third_party/s2/base/stringprintf.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 -Isrc/third_party/s2 -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/base/stringprintf.cc c++ -o build/opt/third_party/s2/base/strtoint.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 -Isrc/third_party/s2 -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/base/strtoint.cc c++ -o build/opt/third_party/s2/s1angle.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 -DDEBUG_MODE=false -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/s1angle.cc c++ -o build/opt/third_party/s2/s2.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 -DDEBUG_MODE=false -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/s2.cc c++ -o build/opt/third_party/s2/s2cellid.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 -DDEBUG_MODE=false -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/s2cellid.cc c++ -o build/opt/third_party/s2/s2latlng.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 -DDEBUG_MODE=false -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/s2latlng.cc In static member function 'static void mozilla::detail::VectorImpl<T, N, AP, IsPod>::moveConstruct(T*, U*, U*) [with U = js::irregexp::GuardedAlternative; T = js::irregexp::GuardedAlternative; long unsigned int N = 0; AP = js::LifoAllocPolicy<js::Infallible>; bool IsPod = false]', inlined from 'mozilla::Vector<T, N, AllocPolicy>::Vector(mozilla::Vector<T, N, AllocPolicy>&&) [with T = js::irregexp::GuardedAlternative; long unsigned int MinInlineCapacity = 0; AllocPolicy = js::LifoAllocPolicy<js::Infallible>]' at src/third_party/mozjs-45/include/mozilla/Vector.h:743:24, inlined from 'virtual js::irregexp::RegExpNode* js::irregexp::ChoiceNode::FilterASCII(int, bool)' at src/third_party/mozjs-45/include/mozilla/Vector.h:770:3: cc1plus: warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' reading 16 or more bytes from a region of size 8 [-Wstringop-overflow=] c++ -o build/opt/third_party/s2/s1interval.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 -DDEBUG_MODE=false -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/s1interval.cc Generating placeholder library build/opt/third_party/s2/base/libbase.a Skipping ranlib for build/opt/third_party/s2/base/libbase.a c++ -o build/opt/third_party/s2/s2cap.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 -DDEBUG_MODE=false -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/s2cap.cc c++ -o build/opt/third_party/s2/s2cell.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 -DDEBUG_MODE=false -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/s2cell.cc c++ -o build/opt/third_party/s2/s2cellunion.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 -DDEBUG_MODE=false -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/s2cellunion.cc c++ -o build/opt/third_party/s2/s2edgeindex.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 -DDEBUG_MODE=false -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/s2edgeindex.cc c++ -o build/opt/third_party/s2/s2edgeutil.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 -DDEBUG_MODE=false -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/s2edgeutil.cc c++ -o build/opt/third_party/s2/s2latlngrect.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 -DDEBUG_MODE=false -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/s2latlngrect.cc c++ -o build/opt/third_party/s2/s2loop.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 -DDEBUG_MODE=false -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/s2loop.cc c++ -o build/opt/third_party/s2/s2pointregion.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 -DDEBUG_MODE=false -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/s2pointregion.cc c++ -o build/opt/third_party/s2/s2polygon.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 -DDEBUG_MODE=false -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/s2polygon.cc c++ -o build/opt/third_party/s2/s2polygonbuilder.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 -DDEBUG_MODE=false -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/s2polygonbuilder.cc src/third_party/s2/s2loop.cc: In member function 'void S2Loop::Init(const std::vector<Vector3<double> >&)': src/third_party/s2/s2loop.cc:97:73: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'S2Point' {aka 'class Vector3<double>'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 97 | memcpy(vertices_, &vertices[0], num_vertices_ * sizeof(vertices_[0])); | ^ In file included from src/third_party/s2/util/math/vector3-inl.h:29, from src/third_party/s2/s2.h:26, from src/third_party/s2/s2loop.cc:16: src/third_party/s2/util/math/vector3.h:30:7: note: 'S2Point' {aka 'class Vector3<double>'} declared here 30 | class Vector3 { | ^~~~~~~ src/third_party/s2/s2loop.cc: In constructor 'S2Loop::S2Loop(const S2Loop*)': src/third_party/s2/s2loop.cc:268:73: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'S2Point' {aka 'class Vector3<double>'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 268 | memcpy(vertices_, src->vertices_, num_vertices_ * sizeof(vertices_[0])); | ^ In file included from src/third_party/s2/util/math/vector3-inl.h:29, from src/third_party/s2/s2.h:26, from src/third_party/s2/s2loop.cc:16: src/third_party/s2/util/math/vector3.h:30:7: note: 'S2Point' {aka 'class Vector3<double>'} declared here 30 | class Vector3 { | ^~~~~~~ c++ -o build/opt/third_party/s2/s2polyline.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 -DDEBUG_MODE=false -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/s2polyline.cc c++ -o build/opt/third_party/s2/s2r2rect.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 -DDEBUG_MODE=false -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/s2r2rect.cc c++ -o build/opt/third_party/s2/s2region.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 -DDEBUG_MODE=false -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/s2region.cc c++ -o build/opt/third_party/s2/s2regioncoverer.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 -DDEBUG_MODE=false -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/s2regioncoverer.cc src/third_party/s2/s2polyline.cc: In member function 'void S2Polyline::Init(const std::vector<Vector3<double> >&)': src/third_party/s2/s2polyline.cc:57:73: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'S2Point' {aka 'class Vector3<double>'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 57 | memcpy(vertices_, &vertices[0], num_vertices_ * sizeof(vertices_[0])); | ^ In file included from src/third_party/s2/util/math/vector3-inl.h:29, from src/third_party/s2/s2.h:26, from src/third_party/s2/s2polyline.cc:10: src/third_party/s2/util/math/vector3.h:30:7: note: 'S2Point' {aka 'class Vector3<double>'} declared here 30 | class Vector3 { | ^~~~~~~ src/third_party/s2/s2polyline.cc: In constructor 'S2Polyline::S2Polyline(const S2Polyline*)': src/third_party/s2/s2polyline.cc:106:73: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'S2Point' {aka 'class Vector3<double>'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 106 | memcpy(vertices_, src->vertices_, num_vertices_ * sizeof(vertices_[0])); | ^ In file included from src/third_party/s2/util/math/vector3-inl.h:29, from src/third_party/s2/s2.h:26, from src/third_party/s2/s2polyline.cc:10: src/third_party/s2/util/math/vector3.h:30:7: note: 'S2Point' {aka 'class Vector3<double>'} declared here 30 | class Vector3 { | ^~~~~~~ c++ -o build/opt/third_party/s2/s2regionintersection.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 -DDEBUG_MODE=false -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/s2regionintersection.cc c++ -o build/opt/third_party/s2/s2regionunion.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 -DDEBUG_MODE=false -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/s2regionunion.cc c++ -o build/opt/third_party/s2/strings/split.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 -Isrc/third_party/s2 -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/strings/split.cc c++ -o build/opt/third_party/s2/strings/stringprintf.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 -Isrc/third_party/s2 -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/strings/stringprintf.cc c++ -o build/opt/third_party/s2/strings/strutil.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 -Isrc/third_party/s2 -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/strings/strutil.cc c++ -o build/opt/third_party/s2/util/coding/coder.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 -Isrc/third_party/s2 -Isrc/third_party/gflags-2.0/src -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/util/coding/coder.cc c++ -o build/opt/third_party/s2/util/coding/varint.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 -Isrc/third_party/s2 -Isrc/third_party/gflags-2.0/src -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/util/coding/varint.cc c++ -o build/opt/third_party/s2/util/math/mathutil.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 -Isrc/third_party/s2 -Isrc/third_party/gflags-2.0/src -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_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/third_party/s2/util/math/mathutil.cc Generating placeholder library build/opt/third_party/mozjs-45/libmozjs.a Skipping ranlib for build/opt/third_party/mozjs-45/libmozjs.a Generating placeholder library build/opt/third_party/s2/libs2.a Skipping ranlib for build/opt/third_party/s2/libs2.a c++ -o build/opt/mongo/db/db.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/db.cpp c++ -o build/opt/mongo/db/mongod_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/db/mongod_options_init.cpp c++ -o build/opt/mongo/db/service_entry_point_mongod.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_entry_point_mongod.cpp c++ -o build/opt/mongo/client/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/client/connection_pool.cpp c++ -o build/opt/mongo/client/fetcher.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/fetcher.cpp Generating placeholder library build/opt/third_party/s2/strings/libstrings.a Generating placeholder library build/opt/third_party/s2/util/coding/libcoding.a Skipping ranlib for build/opt/third_party/s2/util/coding/libcoding.a Skipping ranlib for build/opt/third_party/s2/strings/libstrings.a c++ -o build/opt/mongo/client/remote_command_retry_scheduler.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/remote_command_retry_scheduler.cpp c++ -o build/opt/mongo/client/remote_command_targeter_factory_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/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/remote_command_targeter_factory_impl.cpp Generating placeholder library build/opt/third_party/s2/util/math/libmath.a Skipping ranlib for build/opt/third_party/s2/util/math/libmath.a c++ -o build/opt/mongo/mongo -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-zrelro -lexecinfo -L/usr/lib -Wl,-R/usr/lib -pthread -Wl,-z,now -rdynamic -Wl,--fatal-warnings build/opt/mongo/shell/dbshell.o -L/dist/pkg/lib -Wl,--whole-archive -Wl,--start-group build/opt/mongo/base/data_range.o build/opt/mongo/base/data_range_cursor.o build/opt/mongo/base/data_type.o build/opt/mongo/base/data_type_string_data.o build/opt/mongo/base/data_type_terminated.o build/opt/mongo/base/error_codes.o build/opt/mongo/base/global_initializer.o build/opt/mongo/base/global_initializer_registerer.o build/opt/mongo/base/init.o build/opt/mongo/base/initializer.o build/opt/mongo/base/initializer_context.o build/opt/mongo/base/initializer_dependency_graph.o build/opt/mongo/base/make_string_vector.o build/opt/mongo/base/parse_number.o build/opt/mongo/base/secure_allocator.o build/opt/mongo/base/simple_string_data_comparator.o build/opt/mongo/base/status.o build/opt/mongo/base/string_data.o build/opt/mongo/base/system_error.o build/opt/mongo/base/validate_locale.o build/opt/mongo/bson/bson_comparator_interface_base.o build/opt/mongo/bson/bson_depth.o build/opt/mongo/bson/bson_validate.o build/opt/mongo/bson/bsonelement.o build/opt/mongo/bson/bsonmisc.o build/opt/mongo/bson/bsonobj.o build/opt/mongo/bson/bsonobjbuilder.o build/opt/mongo/bson/bsontypes.o build/opt/mongo/bson/json.o build/opt/mongo/bson/mutable/document.o build/opt/mongo/bson/mutable/element.o build/opt/mongo/bson/oid.o build/opt/mongo/bson/simple_bsonelement_comparator.o build/opt/mongo/bson/simple_bsonobj_comparator.o build/opt/mongo/bson/timestamp.o build/opt/mongo/bson/util/bson_extract.o build/opt/mongo/client/authenticate.o build/opt/mongo/client/connection_string.o build/opt/mongo/client/connection_string_connect.o build/opt/mongo/client/connpool.o build/opt/mongo/client/dbclient.o build/opt/mongo/client/dbclient_rs.o build/opt/mongo/client/dbclientcursor.o build/opt/mongo/client/global_conn_pool.o build/opt/mongo/client/index_spec.o build/opt/mongo/client/mongo_uri.o build/opt/mongo/client/mongo_uri_connect.o build/opt/mongo/client/native_sasl_client_session.o build/opt/mongo/client/query.o build/opt/mongo/client/read_preference.o build/opt/mongo/client/replica_set_monitor.o build/opt/mongo/client/replica_set_monitor_manager.o build/opt/mongo/client/sasl_client_authenticate.o build/opt/mongo/client/sasl_client_authenticate_impl.o build/opt/mongo/client/sasl_client_conversation.o build/opt/mongo/client/sasl_client_session.o build/opt/mongo/client/sasl_plain_client_conversation.o build/opt/mongo/client/sasl_scramsha1_client_conversation.o build/opt/mongo/client/scram_sha1_client_cache.o build/opt/mongo/crypto/mechanism_scram.o build/opt/mongo/crypto/sha1_block.o build/opt/mongo/crypto/sha1_block_tom.o build/opt/mongo/crypto/tom/crypt_argchk.o build/opt/mongo/crypto/tom/crypt_find_hash.o build/opt/mongo/crypto/tom/crypt_hash_descriptor.o build/opt/mongo/crypto/tom/crypt_hash_is_valid.o build/opt/mongo/crypto/tom/crypt_register_hash.o build/opt/mongo/crypto/tom/hash_memory.o build/opt/mongo/crypto/tom/hmac_done.o build/opt/mongo/crypto/tom/hmac_init.o build/opt/mongo/crypto/tom/hmac_memory.o build/opt/mongo/crypto/tom/hmac_process.o build/opt/mongo/crypto/tom/sha1.o build/opt/mongo/crypto/tom/zeromem.o build/opt/mongo/db/auth/internal_user_auth.o build/opt/mongo/db/auth/role_name.o build/opt/mongo/db/bson/dotted_path_support.o build/opt/mongo/db/catalog/index_key_validate.o build/opt/mongo/db/client.o build/opt/mongo/db/commands/test_commands_enabled.o build/opt/mongo/db/dbmessage.o build/opt/mongo/db/field_parser.o build/opt/mongo/db/field_ref.o build/opt/mongo/db/field_ref_set.o build/opt/mongo/db/fts/fts_basic_phrase_matcher.o build/opt/mongo/db/fts/fts_basic_tokenizer.o build/opt/mongo/db/fts/fts_element_iterator.o build/opt/mongo/db/fts/fts_index_format.o build/opt/mongo/db/fts/fts_language.o build/opt/mongo/db/fts/fts_matcher.o build/opt/mongo/db/fts/fts_query_impl.o build/opt/mongo/db/fts/fts_query_parser.o build/opt/mongo/db/fts/fts_spec.o build/opt/mongo/db/fts/fts_spec_legacy.o build/opt/mongo/db/fts/fts_unicode_phrase_matcher.o build/opt/mongo/db/fts/fts_unicode_tokenizer.o build/opt/mongo/db/fts/fts_util.o build/opt/mongo/db/fts/stemmer.o build/opt/mongo/db/fts/stop_words.o build/opt/mongo/db/fts/stop_words_list.o build/opt/mongo/db/fts/tokenizer.o build/opt/mongo/db/fts/unicode/codepoints_casefold.o build/opt/mongo/db/fts/unicode/codepoints_delimiter_list.o build/opt/mongo/db/fts/unicode/codepoints_diacritic_list.o build/opt/mongo/db/fts/unicode/codepoints_diacritic_map.o build/opt/mongo/db/fts/unicode/string.o build/opt/mongo/db/geo/big_polygon.o build/opt/mongo/db/geo/geometry_container.o build/opt/mongo/db/geo/geoparser.o build/opt/mongo/db/geo/hash.o build/opt/mongo/db/geo/r2_region_coverer.o build/opt/mongo/db/geo/shapes.o build/opt/mongo/db/hasher.o build/opt/mongo/db/index/btree_key_generator.o build/opt/mongo/db/index/expression_keys_private.o build/opt/mongo/db/index/expression_params.o build/opt/mongo/db/index/external_key_generator.o build/opt/mongo/db/index/index_descriptor.o build/opt/mongo/db/index/s2_common.o build/opt/mongo/db/index_names.o build/opt/mongo/db/keypattern.o build/opt/mongo/db/namespace_string.o build/opt/mongo/db/operation_context.o build/opt/mongo/db/query/collation/collation_index_key.o build/opt/mongo/db/query/collation/collation_spec.o build/opt/mongo/db/query/collation/collator_factory_interface.o build/opt/mongo/db/query/collation/collator_interface.o build/opt/mongo/db/query/count_request.o build/opt/mongo/db/query/cursor_request.o build/opt/mongo/db/query/cursor_response.o build/opt/mongo/db/query/find_and_modify_request.o build/opt/mongo/db/query/getmore_request.o build/opt/mongo/db/query/killcursors_request.o build/opt/mongo/db/query/killcursors_response.o build/opt/mongo/db/query/query_request.o build/opt/mongo/db/query/view_response_formatter.o build/opt/mongo/db/repl/bson_extract_optime.o build/opt/mongo/db/repl/optime.o build/opt/mongo/db/repl/read_concern_args.o build/opt/mongo/db/server_options.o build/opt/mongo/db/server_parameters.o build/opt/mongo/db/service_context.o build/opt/mongo/db/service_context_noop.o build/opt/mongo/db/stats/counters.o build/opt/mongo/db/wire_version.o build/opt/mongo/db/write_concern_options.o build/opt/mongo/executor/async_secure_stream.o build/opt/mongo/executor/async_secure_stream_factory.o build/opt/mongo/executor/async_stream.o build/opt/mongo/executor/async_stream_common.o build/opt/mongo/executor/async_stream_factory.o build/opt/mongo/executor/async_timer_asio.o build/opt/mongo/executor/connection_pool.o build/opt/mongo/executor/connection_pool_asio.o build/opt/mongo/executor/connection_pool_stats.o build/opt/mongo/executor/network_interface.o build/opt/mongo/executor/network_interface_asio.o build/opt/mongo/executor/network_interface_asio_auth.o build/opt/mongo/executor/network_interface_asio_command.o build/opt/mongo/executor/network_interface_asio_connect.o build/opt/mongo/executor/network_interface_asio_operation.o build/opt/mongo/executor/network_interface_factory.o build/opt/mongo/executor/network_interface_thread_pool.o build/opt/mongo/executor/remote_command_request.o build/opt/mongo/executor/remote_command_response.o build/opt/mongo/executor/task_executor.o build/opt/mongo/executor/thread_pool_task_executor.o build/opt/mongo/logger/component_message_log_domain.o build/opt/mongo/logger/console.o build/opt/mongo/logger/log_component.o build/opt/mongo/logger/log_component_settings.o build/opt/mongo/logger/log_manager.o build/opt/mongo/logger/log_severity.o build/opt/mongo/logger/logger.o build/opt/mongo/logger/logstream_builder.o build/opt/mongo/logger/max_log_size.o build/opt/mongo/logger/message_event_utf8_encoder.o build/opt/mongo/logger/message_log_domain.o build/opt/mongo/logger/ramlog.o build/opt/mongo/logger/redaction.o build/opt/mongo/logger/rotatable_file_manager.o build/opt/mongo/logger/rotatable_file_writer.o build/opt/mongo/platform/decimal128.o build/opt/mongo/platform/posix_fadvise.o build/opt/mongo/platform/process_id.o build/opt/mongo/platform/random.o build/opt/mongo/platform/shared_library.o build/opt/mongo/platform/shared_library_posix.o build/opt/mongo/platform/stack_locator.o build/opt/mongo/platform/stack_locator_netbsd.o build/opt/mongo/platform/strcasestr.o build/opt/mongo/platform/strnlen.o build/opt/mongo/rpc/command_reply.o build/opt/mongo/rpc/command_reply_builder.o build/opt/mongo/rpc/command_request.o build/opt/mongo/rpc/command_request_builder.o build/opt/mongo/rpc/document_range.o build/opt/mongo/rpc/factory.o build/opt/mongo/rpc/get_status_from_command_result.o build/opt/mongo/rpc/legacy_reply.o build/opt/mongo/rpc/legacy_reply_builder.o build/opt/mongo/rpc/legacy_request.o build/opt/mongo/rpc/legacy_request_builder.o build/opt/mongo/rpc/metadata.o build/opt/mongo/rpc/metadata/audit_metadata.o build/opt/mongo/rpc/metadata/client_metadata.o build/opt/mongo/rpc/metadata/client_metadata_ismaster.o build/opt/mongo/rpc/metadata/config_server_metadata.o build/opt/mongo/rpc/metadata/oplog_query_metadata.o build/opt/mongo/rpc/metadata/repl_set_metadata.o build/opt/mongo/rpc/metadata/server_selection_metadata.o build/opt/mongo/rpc/metadata/sharding_metadata.o build/opt/mongo/rpc/metadata/tracking_metadata.o build/opt/mongo/rpc/object_check.o build/opt/mongo/rpc/protocol.o build/opt/mongo/rpc/reply_builder_interface.o build/opt/mongo/rpc/write_concern_error_detail.o build/opt/mongo/s/local_sharding_info.o build/opt/mongo/scripting/bson_template_evaluator.o build/opt/mongo/scripting/dbdirectclient_factory.o build/opt/mongo/scripting/deadline_monitor.o build/opt/mongo/scripting/engine.o build/opt/mongo/scripting/mozjs/PosixNSPR.o build/opt/mongo/scripting/mozjs/base.o build/opt/mongo/scripting/mozjs/bindata.o build/opt/mongo/scripting/mozjs/bson.o build/opt/mongo/scripting/mozjs/code.o build/opt/mongo/scripting/mozjs/countdownlatch.o build/opt/mongo/scripting/mozjs/cursor.o build/opt/mongo/scripting/mozjs/cursor_handle.o build/opt/mongo/scripting/mozjs/db.o build/opt/mongo/scripting/mozjs/dbcollection.o build/opt/mongo/scripting/mozjs/dbpointer.o build/opt/mongo/scripting/mozjs/dbquery.o build/opt/mongo/scripting/mozjs/dbref.o build/opt/mongo/scripting/mozjs/engine.o build/opt/mongo/scripting/mozjs/error.o build/opt/mongo/scripting/mozjs/exception.o build/opt/mongo/scripting/mozjs/global.o build/opt/mongo/scripting/mozjs/idwrapper.o build/opt/mongo/scripting/mozjs/implscope.o build/opt/mongo/scripting/mozjs/internedstring.o build/opt/mongo/scripting/mozjs/jscustomallocator.o build/opt/mongo/scripting/mozjs/jsstringwrapper.o build/opt/mongo/scripting/mozjs/jsthread.o build/opt/mongo/scripting/mozjs/maxkey.o build/opt/mongo/scripting/mozjs/minkey.o build/opt/mongo/scripting/mozjs/mongo.o build/opt/mongo/scripting/mozjs/mongohelpers.o build/opt/mongo/scripting/mozjs/mongohelpers_js.o build/opt/mongo/scripting/mozjs/nativefunction.o build/opt/mongo/scripting/mozjs/numberdecimal.o build/opt/mongo/scripting/mozjs/numberint.o build/opt/mongo/scripting/mozjs/numberlong.o build/opt/mongo/scripting/mozjs/object.o build/opt/mongo/scripting/mozjs/objectwrapper.o build/opt/mongo/scripting/mozjs/oid.o build/opt/mongo/scripting/mozjs/proxyscope.o build/opt/mongo/scripting/mozjs/regexp.o build/opt/mongo/scripting/mozjs/timestamp.o build/opt/mongo/scripting/mozjs/uri.o build/opt/mongo/scripting/mozjs/valuereader.o build/opt/mongo/scripting/mozjs/valuewriter.o build/opt/mongo/scripting/utils.o build/opt/mongo/shell/bench.o build/opt/mongo/shell/linenoise.o build/opt/mongo/shell/linenoise_utf8.o build/opt/mongo/shell/mk_wcwidth.o build/opt/mongo/shell/mongo-server.o build/opt/mongo/shell/mongo.o build/opt/mongo/shell/shell_options.o build/opt/mongo/shell/shell_options_init.o build/opt/mongo/shell/shell_utils.o build/opt/mongo/shell/shell_utils_extended.o build/opt/mongo/shell/shell_utils_launcher.o build/opt/mongo/transport/message_compressor_manager.o build/opt/mongo/transport/message_compressor_metrics.o build/opt/mongo/transport/message_compressor_registry.o build/opt/mongo/transport/message_compressor_snappy.o build/opt/mongo/transport/session.o build/opt/mongo/transport/ticket.o build/opt/mongo/transport/transport_layer.o build/opt/mongo/transport/transport_layer_legacy.o build/opt/mongo/transport/transport_layer_manager.o build/opt/mongo/util/allocator.o build/opt/mongo/util/assert_util.o build/opt/mongo/util/background.o build/opt/mongo/util/background_thread_clock_source.o build/opt/mongo/util/base64.o build/opt/mongo/util/clock_source.o build/opt/mongo/util/concurrency/idle_thread_block.o build/opt/mongo/util/concurrency/spin_lock.o build/opt/mongo/util/concurrency/thread_name.o build/opt/mongo/util/concurrency/ticketholder.o build/opt/mongo/util/debugger.o build/opt/mongo/util/decoration_container.o build/opt/mongo/util/decoration_registry.o build/opt/mongo/util/duration.o build/opt/mongo/util/exception_filter_win32.o build/opt/mongo/util/exit.o build/opt/mongo/util/fail_point.o build/opt/mongo/util/fail_point_registry.o build/opt/mongo/util/fail_point_server_parameter.o build/opt/mongo/util/fail_point_service.o build/opt/mongo/util/fast_clock_source_factory.o build/opt/mongo/util/file.o build/opt/mongo/util/hex.o build/opt/mongo/util/itoa.o build/opt/mongo/util/log.o build/opt/mongo/util/md5.o build/opt/mongo/util/net/asio_message_port.o build/opt/mongo/util/net/asio_ssl_context.o build/opt/mongo/util/net/hostandport.o build/opt/mongo/util/net/hostname_canonicalization.o build/opt/mongo/util/net/httpclient.o build/opt/mongo/util/net/listen.o build/opt/mongo/util/net/message.o build/opt/mongo/util/net/message_port.o build/opt/mongo/util/net/message_port_startup_param.o build/opt/mongo/util/net/sock.o build/opt/mongo/util/net/sockaddr.o build/opt/mongo/util/net/socket_exception.o build/opt/mongo/util/net/socket_poll.o build/opt/mongo/util/net/ssl_expiration.o build/opt/mongo/util/net/ssl_manager.o build/opt/mongo/util/net/ssl_options.o build/opt/mongo/util/net/thread_idle_callback.o build/opt/mongo/util/options_parser/constraints.o build/opt/mongo/util/options_parser/environment.o build/opt/mongo/util/options_parser/option_description.o build/opt/mongo/util/options_parser/option_section.o build/opt/mongo/util/options_parser/options_parser.o build/opt/mongo/util/options_parser/options_parser_init.o build/opt/mongo/util/options_parser/startup_option_init.o build/opt/mongo/util/options_parser/startup_options.o build/opt/mongo/util/options_parser/value.o build/opt/mongo/util/password.o build/opt/mongo/util/password_digest.o build/opt/mongo/util/platform_init.o build/opt/mongo/util/processinfo.o build/opt/mongo/util/processinfo_netbsd.o build/opt/mongo/util/quick_exit.o build/opt/mongo/util/safe_num.o build/opt/mongo/util/secure_zero_memory.o build/opt/mongo/util/signal_handlers.o build/opt/mongo/util/signal_handlers_synchronous.o build/opt/mongo/util/signal_win32.o build/opt/mongo/util/stacktrace.o build/opt/mongo/util/stacktrace_posix.o build/opt/mongo/util/startup_test.o build/opt/mongo/util/static_observer.o build/opt/mongo/util/stringutils.o build/opt/mongo/util/system_clock_source.o build/opt/mongo/util/system_tick_source.o build/opt/mongo/util/text.o build/opt/mongo/util/time_support.o build/opt/mongo/util/timer.o build/opt/mongo/util/version.o build/opt/mongo/util/version_impl.o build/opt/mongo/util/winutil.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_exception.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_four_over_pi.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bessel.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bid.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_cbrt.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_erf.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_exp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_int.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_hyper.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_trig.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_lgamma.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_log.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_mod.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops_64.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_pow.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_powi.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_sqrt.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_trig.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/sqrt_tab_t.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_2_str_tables.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acos.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acosh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_add.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asin.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asinh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan2.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atanh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cbrt.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_compare.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cos.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cosh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_div.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erf.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erfc.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp10.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp2.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_expm1.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fdimd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fma.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fmod.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_frexp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_hypot.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_ldexp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lgamma.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_llrintd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log10.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log1p.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log2.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_logb.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_logbd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lrintd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lround.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_minmax.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_modf.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_mul.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_nearbyintd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_nexttowardd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_noncomp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantexpd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantize.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_rem.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_round_integral.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalb.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalbl.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sin.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sinh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sqrt.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_string.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tan.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tanh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tgamma.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int16.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int32.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int64.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int8.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint16.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint32.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint64.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint8.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acos.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acosh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_add.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asin.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asinh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan2.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atanh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cbrt.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_compare.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cos.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cosh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_div.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erf.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erfc.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp10.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp2.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_expm1.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fdimd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fma.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fmod.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_frexp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_hypot.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_ldexp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lgamma.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_llrintd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log10.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log1p.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log2.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_logb.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_logbd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lrintd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lround.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_minmax.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_modf.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_mul.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_nearbyintd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_next.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_nexttowardd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_noncomp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_pow.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_quantexpd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_quantize.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_rem.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_round_integral.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_scalb.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_scalbl.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sin.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sinh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sqrt.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_string.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sub.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tan.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tanh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tgamma.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_bid128.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_bid64.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int16.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int32.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int64.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int8.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint16.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint32.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint64.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint8.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_acos.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_acosh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_add.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_asin.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_asinh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atan.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atan2.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atanh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cbrt.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_compare.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cos.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cosh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_div.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_erf.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_erfc.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp10.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp2.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_expm1.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fdimd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fma.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fmod.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_frexp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_hypot.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_ldexp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lgamma.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_llrintd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log10.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log1p.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log2.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_logb.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_logbd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lrintd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lround.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_minmax.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_modf.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_mul.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_nearbyintd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_next.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_nexttowardd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_noncomp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_pow.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_quantexpd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_quantize.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_rem.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_round_integral.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_scalb.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_scalbl.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sin.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sinh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sqrt.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_string.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tan.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tanh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tgamma.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_bid128.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int16.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int32.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int64.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int8.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint16.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint32.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint64.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint8.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_binarydecimal.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_convert_data.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_decimal_data.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_decimal_globals.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_dpd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_feclearexcept.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fegetexceptflag.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_feraiseexcept.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fesetexceptflag.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fetestexcept.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_flag_operations.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_from_int.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_round.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod128.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod32.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod64.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod128.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod32.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod64.o build/opt/third_party/asio-master/asio/src/asio.o build/opt/third_party/boost-1.60.0/libs/chrono/src/chrono.o build/opt/third_party/boost-1.60.0/libs/chrono/src/process_cpu_clocks.o build/opt/third_party/boost-1.60.0/libs/chrono/src/thread_clock.o build/opt/third_party/boost-1.60.0/libs/filesystem/src/codecvt_error_category.o build/opt/third_party/boost-1.60.0/libs/filesystem/src/operations.o build/opt/third_party/boost-1.60.0/libs/filesystem/src/path.o build/opt/third_party/boost-1.60.0/libs/filesystem/src/path_traits.o build/opt/third_party/boost-1.60.0/libs/filesystem/src/portability.o build/opt/third_party/boost-1.60.0/libs/filesystem/src/unique_path.o build/opt/third_party/boost-1.60.0/libs/filesystem/src/utf8_codecvt_facet.o build/opt/third_party/boost-1.60.0/libs/filesystem/src/windows_file_codecvt.o build/opt/third_party/boost-1.60.0/libs/iostreams/src/file_descriptor.o build/opt/third_party/boost-1.60.0/libs/iostreams/src/mapped_file.o build/opt/third_party/boost-1.60.0/libs/program_options/src/cmdline.o build/opt/third_party/boost-1.60.0/libs/program_options/src/config_file.o build/opt/third_party/boost-1.60.0/libs/program_options/src/convert.o build/opt/third_party/boost-1.60.0/libs/program_options/src/options_description.o build/opt/third_party/boost-1.60.0/libs/program_options/src/parsers.o build/opt/third_party/boost-1.60.0/libs/program_options/src/positional_options.o build/opt/third_party/boost-1.60.0/libs/program_options/src/split.o build/opt/third_party/boost-1.60.0/libs/program_options/src/utf8_codecvt_facet.o build/opt/third_party/boost-1.60.0/libs/program_options/src/value_semantic.o build/opt/third_party/boost-1.60.0/libs/program_options/src/variables_map.o build/opt/third_party/boost-1.60.0/libs/program_options/src/winmain.o build/opt/third_party/boost-1.60.0/libs/regex/src/c_regex_traits.o build/opt/third_party/boost-1.60.0/libs/regex/src/cpp_regex_traits.o build/opt/third_party/boost-1.60.0/libs/regex/src/cregex.o build/opt/third_party/boost-1.60.0/libs/regex/src/fileiter.o build/opt/third_party/boost-1.60.0/libs/regex/src/icu.o build/opt/third_party/boost-1.60.0/libs/regex/src/instances.o build/opt/third_party/boost-1.60.0/libs/regex/src/posix_api.o build/opt/third_party/boost-1.60.0/libs/regex/src/regex.o build/opt/third_party/boost-1.60.0/libs/regex/src/regex_debug.o build/opt/third_party/boost-1.60.0/libs/regex/src/regex_raw_buffer.o build/opt/third_party/boost-1.60.0/libs/regex/src/regex_traits_defaults.o build/opt/third_party/boost-1.60.0/libs/regex/src/static_mutex.o build/opt/third_party/boost-1.60.0/libs/regex/src/usinstances.o build/opt/third_party/boost-1.60.0/libs/regex/src/w32_regex_traits.o build/opt/third_party/boost-1.60.0/libs/regex/src/wc_regex_traits.o build/opt/third_party/boost-1.60.0/libs/regex/src/wide_posix_api.o build/opt/third_party/boost-1.60.0/libs/regex/src/winstances.o build/opt/third_party/boost-1.60.0/libs/system/src/error_code.o build/opt/third_party/boost-1.60.0/libs/thread/src/future.o build/opt/third_party/boost-1.60.0/libs/thread/src/pthread/once.o build/opt/third_party/boost-1.60.0/libs/thread/src/pthread/thread.o build/opt/third_party/boost-1.60.0/libs/thread/src/tss_null.o build/opt/third_party/libstemmer_c/libstemmer/libstemmer_utf8.o build/opt/third_party/libstemmer_c/runtime/api.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_danish.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_dutch.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_english.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_finnish.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_french.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_german.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_hungarian.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_italian.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_norwegian.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_porter.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_portuguese.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_romanian.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_russian.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_spanish.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_swedish.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_turkish.o build/opt/third_party/mozjs-45/extract/js/src/builtin/RegExp.o build/opt/third_party/mozjs-45/extract/js/src/frontend/Parser.o build/opt/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.o build/opt/third_party/mozjs-45/extract/js/src/jit/ProcessExecutableMemory.o build/opt/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.o build/opt/third_party/mozjs-45/extract/js/src/jsarray.o build/opt/third_party/mozjs-45/extract/js/src/jsatom.o build/opt/third_party/mozjs-45/extract/js/src/jsmath.o build/opt/third_party/mozjs-45/extract/js/src/jsutil.o build/opt/third_party/mozjs-45/extract/js/src/mfbt/Unified_cpp_mfbt0.o build/opt/third_party/mozjs-45/extract/js/src/perf/pm_stub.o build/opt/third_party/mozjs-45/extract/js/src/vm/Initialization.o build/opt/third_party/mozjs-45/extract/mfbt/Compression.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src0.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src1.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src10.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src11.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src12.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src13.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src14.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src15.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src16.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src17.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src18.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src19.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src2.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src20.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src21.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src22.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src23.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src24.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src25.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src26.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src27.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src28.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src29.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src3.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src30.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src31.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src32.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src33.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src34.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src35.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src36.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src4.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src5.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src6.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src7.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src8.o build/opt/third_party/mozjs-45/platform/x86_64/netbsd/build/Unified_cpp_js_src9.o build/opt/third_party/murmurhash3/MurmurHash3.o build/opt/third_party/s2/base/int128.o build/opt/third_party/s2/base/logging.o build/opt/third_party/s2/base/stringprintf.o build/opt/third_party/s2/base/strtoint.o build/opt/third_party/s2/s1angle.o build/opt/third_party/s2/s1interval.o build/opt/third_party/s2/s2.o build/opt/third_party/s2/s2cap.o build/opt/third_party/s2/s2cell.o build/opt/third_party/s2/s2cellid.o build/opt/third_party/s2/s2cellunion.o build/opt/third_party/s2/s2edgeindex.o build/opt/third_party/s2/s2edgeutil.o build/opt/third_party/s2/s2latlng.o build/opt/third_party/s2/s2latlngrect.o build/opt/third_party/s2/s2loop.o build/opt/third_party/s2/s2pointregion.o build/opt/third_party/s2/s2polygon.o build/opt/third_party/s2/s2polygonbuilder.o build/opt/third_party/s2/s2polyline.o build/opt/third_party/s2/s2r2rect.o build/opt/third_party/s2/s2region.o build/opt/third_party/s2/s2regioncoverer.o build/opt/third_party/s2/s2regionintersection.o build/opt/third_party/s2/s2regionunion.o build/opt/third_party/s2/strings/split.o build/opt/third_party/s2/strings/stringprintf.o build/opt/third_party/s2/strings/strutil.o build/opt/third_party/s2/util/coding/coder.o build/opt/third_party/s2/util/coding/varint.o build/opt/third_party/s2/util/math/mathutil.o build/opt/third_party/shim_allocator.o build/opt/third_party/shim_asio.o build/opt/third_party/shim_boost.o build/opt/third_party/shim_intel_decimal128.o build/opt/third_party/shim_mozjs.o build/opt/third_party/shim_pcrecpp.o build/opt/third_party/shim_snappy.o build/opt/third_party/shim_stemmer.o build/opt/third_party/shim_tz.o build/opt/third_party/shim_yaml.o build/opt/third_party/shim_zlib.o -Wl,--end-group -Wl,--no-whole-archive -lpcre -lpcrecpp -lyaml-cpp -lsnappy -lz -lm -lkvm -lrt -lexecinfo c++ -o build/opt/mongo/client/remote_command_targeter_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/remote_command_targeter_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/db/db.cpp:33: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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/client/fetcher.h:41, from src/mongo/client/fetcher.cpp:32: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call 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/db/mongod_options.h:36, from src/mongo/db/mongod_options_init.cpp:29: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/client/fetcher.h:41, from src/mongo/client/fetcher.cpp:32: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/curop.h:35, from src/mongo/db/instance.h:35, from src/mongo/db/service_entry_point_mongod.cpp:39: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/curop.h:35, from src/mongo/db/instance.h:35, from src/mongo/db/service_entry_point_mongod.cpp:39: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/client/remote_command_targeter_standalone.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/remote_command_targeter_standalone.cpp Generating placeholder library build/opt/mongo/client/libremote_command_retry_scheduler.a Skipping ranlib for build/opt/mongo/client/libremote_command_retry_scheduler.a c++ -o build/opt/mongo/db/auth/action_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/auth/action_set.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/catalog/collection_info_cache.h:34, from src/mongo/db/catalog/collection.h:42, from src/mongo/db/db.cpp:52: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/client/libconnection_pool.a Skipping ranlib for build/opt/mongo/client/libconnection_pool.a src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/auth/action_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 build/opt/mongo/db/auth/action_type.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/db.cpp:52: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call Install file: "build/opt/mongo/mongo" as "mongo" c++ -o build/opt/mongo/db/auth/authorization_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/db/auth/authorization_manager.cpp Generating placeholder library build/opt/mongo/client/libremote_command_targeter.a Skipping ranlib for build/opt/mongo/client/libremote_command_targeter.a c++ -o build/opt/mongo/db/auth/authorization_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/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/authorization_session.cpp c++ -o build/opt/mongo/db/auth/auth_decorations.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/auth_decorations.cpp c++ -o build/opt/mongo/db/auth/authz_manager_external_state.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/authz_manager_external_state.cpp c++ -o build/opt/mongo/db/auth/authz_manager_external_state_local.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/authz_manager_external_state_local.cpp c++ -o build/opt/mongo/db/auth/authz_session_external_state.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/authz_session_external_state.cpp Generating placeholder library build/opt/mongo/client/libfetcher.a Skipping ranlib for build/opt/mongo/client/libfetcher.a c++ -o build/opt/mongo/db/auth/privilege.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/privilege.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/pipeline.h:37, from src/mongo/db/auth/authorization_session.cpp:52: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/pipeline.h:37, from src/mongo/db/auth/authorization_session.cpp:52: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ c++ -o build/opt/mongo/db/auth/privilege_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/auth/privilege_parser.cpp c++ -o build/opt/mongo/db/auth/resource_pattern.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/resource_pattern.cpp c++ -o build/opt/mongo/db/auth/role_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/db/auth/role_graph.cpp c++ -o build/opt/mongo/db/auth/role_graph_update.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_graph_update.cpp c++ -o build/opt/mongo/db/auth/role_graph_builtin_roles.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_graph_builtin_roles.cpp c++ -o build/opt/mongo/db/auth/user.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/user.cpp c++ -o build/opt/mongo/db/auth/user_document_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/auth/user_document_parser.cpp c++ -o build/opt/mongo/db/auth/user_management_commands_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/auth/user_management_commands_parser.cpp c++ -o build/opt/mongo/db/auth/user_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/user_name.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/ops/update_driver.h:41, from src/mongo/db/auth/role_graph_update.cpp:38: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/ops/update_driver.h:41, from src/mongo/db/auth/role_graph_update.cpp:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/auth/user_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/auth/user_set.cpp c++ -o build/opt/mongo/db/auth/authz_manager_external_state_mock.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/authz_manager_external_state_mock.cpp c++ -o build/opt/mongo/db/auth/authz_manager_external_state_d.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/authz_manager_external_state_d.cpp c++ -o build/opt/mongo/db/auth/authz_session_external_state_d.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/authz_session_external_state_d.cpp c++ -o build/opt/mongo/db/auth/auth_index_d.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/auth_index_d.cpp c++ -o build/opt/mongo/db/auth/impersonation_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/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/impersonation_session.cpp c++ -o build/opt/mongo/db/auth/authorization_manager_global.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/authorization_manager_global.cpp Generating placeholder library build/opt/mongo/db/auth/libauthcore.a Skipping ranlib for build/opt/mongo/db/auth/libauthcore.a c++ -o build/opt/mongo/db/auth/authz_session_external_state_server_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/auth/authz_session_external_state_server_common.cpp c++ -o build/opt/mongo/db/auth/sasl_commands.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/sasl_commands.cpp In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/auth/authz_manager_external_state_mock.cpp:40: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, from src/mongo/db/auth/authz_manager_external_state_mock.cpp:40: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/curop.h:35, from src/mongo/db/instance.h:35, from src/mongo/db/auth/authz_session_external_state_d.cpp:35: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call 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/auth/auth_index_d.cpp:40: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call 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/db/dbhelpers.h:31, from src/mongo/db/auth/authz_manager_external_state_d.cpp:42: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/curop.h:35, from src/mongo/db/instance.h:35, from src/mongo/db/auth/authz_session_external_state_d.cpp:35: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/auth/auth_index_d.cpp:40: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/curop.h:35, from src/mongo/db/db.h:35, from src/mongo/db/dbhelpers.h:34, from src/mongo/db/auth/authz_manager_external_state_d.cpp:42: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/auth/security_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/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/security_key.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/curop.h:35, from src/mongo/db/db.h:35, from src/mongo/db/dbhelpers.h:34, from src/mongo/db/auth/authz_manager_external_state_d.cpp:42: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/auth/libauthorization_manager_global.a Skipping ranlib for build/opt/mongo/db/auth/libauthorization_manager_global.a c++ -o build/opt/mongo/db/auth/sasl_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/auth/sasl_options.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/auth/authz_manager_external_state_mock.cpp:43: 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] 64 | strncpy(_buf, str.rawData(), s); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ c++ -o build/opt/mongo/db/auth/native_sasl_authentication_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/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/native_sasl_authentication_session.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/auth/sasl_commands.cpp:49: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/auth/sasl_authentication_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/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/sasl_authentication_session.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/auth/sasl_commands.cpp:49: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/auth/libauthmocks.a Skipping ranlib for build/opt/mongo/db/auth/libauthmocks.a c++ -o build/opt/mongo/db/auth/sasl_plain_server_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/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/sasl_plain_server_conversation.cpp src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/auth/sasl_scramsha1_server_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/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/sasl_scramsha1_server_conversation.cpp Generating placeholder library build/opt/mongo/db/auth/libauthmongod.a Skipping ranlib for build/opt/mongo/db/auth/libauthmongod.a c++ -o build/opt/mongo/db/auth/sasl_server_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/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/sasl_server_conversation.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/db/auth/sasl_options.cpp:38: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/mongo/db/auth/security_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/db/auth/security_file.cpp In file included from src/third_party/boost-1.60.0/boost/concept_check.hpp:27, 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/mongo/db/auth/native_sasl_authentication_session.cpp:33: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ In file included from src/third_party/boost-1.60.0/boost/concept_check.hpp:27, 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/mongo/db/auth/sasl_authentication_session.cpp:33: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ Generating placeholder library build/opt/mongo/db/auth/libsecurity_file.a Skipping ranlib for build/opt/mongo/db/auth/libsecurity_file.a Generating placeholder library build/opt/mongo/db/auth/libauthservercommon.a Skipping ranlib for build/opt/mongo/db/auth/libauthservercommon.a c++ -o build/opt/mongo/db/auth/mongo_authentication_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/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/mongo_authentication_session.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/auth/native_sasl_authentication_session.cpp:48: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/catalog/apply_ops.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/apply_ops.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call 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/auth/sasl_authentication_session.cpp:44: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/auth/libserverauth.a src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call Skipping ranlib for build/opt/mongo/db/auth/libserverauth.a src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call 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/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/join.hpp:17, from src/mongo/db/auth/sasl_scramsha1_server_conversation.cpp:35: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/catalog/capped_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/db/catalog/capped_utils.cpp In file included from src/mongo/db/matcher/expression_parser.h:37, 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/auth/native_sasl_authentication_session.cpp:48: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/auth/libsasl_options.a Skipping ranlib for build/opt/mongo/db/auth/libsasl_options.a src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/catalog/coll_mod.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/coll_mod.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/auth/sasl_authentication_session.cpp:44: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/catalog/collection.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/collection.cpp c++ -o build/opt/mongo/db/catalog/collection_compact.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/collection_compact.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/catalog/collection_info_cache.h:34, from src/mongo/db/catalog/collection.h:42, from src/mongo/db/catalog/capped_utils.cpp:37: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call 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/catalog/apply_ops.cpp:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/catalog/collection_info_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/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/collection_info_cache.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/catalog/create_collection.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/create_collection.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call 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/catalog/coll_mod.cpp:38: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/catalog/capped_utils.cpp:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/auth/libsaslauth.a Skipping ranlib for build/opt/mongo/db/auth/libsaslauth.a src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/catalog/apply_ops.cpp:36: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/catalog/cursor_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/db/catalog/cursor_manager.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/catalog/coll_mod.cpp:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/catalog/collection_compact.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/catalog/collection_compact.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call 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/catalog/collection.cpp:37: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/catalog/collection.cpp:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/curop.h:35, from src/mongo/db/catalog/create_collection.cpp:35: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call 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/catalog/cursor_manager.h:34, from src/mongo/db/catalog/cursor_manager.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/curop.h:35, from src/mongo/db/catalog/create_collection.cpp:35: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/catalog/cursor_manager.h:34, from src/mongo/db/catalog/cursor_manager.cpp:31: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call 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_info_cache.cpp:35: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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_info_cache.cpp:35: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/catalog/database.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/database.cpp c++ -o build/opt/mongo/db/catalog/database_holder.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/database_holder.cpp c++ -o build/opt/mongo/db/catalog/drop_collection.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/drop_collection.cpp c++ -o build/opt/mongo/db/catalog/drop_database.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/drop_database.cpp c++ -o build/opt/mongo/db/catalog/drop_indexes.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/drop_indexes.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/db/catalog/database.cpp:38: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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/catalog/drop_collection.cpp:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/catalog/index_catalog.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_catalog.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/catalog/drop_collection.cpp:36: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/catalog/database_holder.cpp:41: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/catalog/index_catalog_entry.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_catalog_entry.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call 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/catalog/database.cpp:44: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call 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/catalog/drop_indexes.cpp:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/catalog/database_holder.cpp:41: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/catalog/drop_indexes.cpp:36: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/catalog/database.cpp:44: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call 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/curop.h:35, from src/mongo/db/catalog/drop_database.cpp:41: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/curop.h:35, from src/mongo/db/catalog/drop_database.cpp:41: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/catalog/index_create.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_create.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/catalog/collection_info_cache.h:34, from src/mongo/db/catalog/collection.h:42, from src/mongo/db/catalog/index_catalog.cpp:43: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/catalog/index_catalog.cpp:43: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/index_access_method.h:36, from src/mongo/db/catalog/index_catalog_entry.cpp:42: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/index_access_method.h:36, from src/mongo/db/catalog/index_catalog_entry.cpp:42: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/catalog/rename_collection.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/rename_collection.cpp src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/index_access_method.h:36, from src/mongo/db/catalog/index_create.h:40, from src/mongo/db/catalog/index_create.cpp:35: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/catalog/collection_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/catalog/collection_options.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/catalog/document_validation.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/document_validation.cpp In file included from src/mongo/db/matcher/expression_parser.h:37, 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/index_access_method.h:36, from src/mongo/db/catalog/index_create.h:40, from src/mongo/db/catalog/index_create.cpp:35: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/apply_ops_cmd_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/commands/apply_ops_cmd_common.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/catalog/collection_info_cache.h:34, from src/mongo/db/catalog/collection.h:42, from src/mongo/db/catalog/rename_collection.cpp:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/catalog/rename_collection.cpp:36: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/authentication_commands.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/authentication_commands.cpp c++ -o build/opt/mongo/db/commands/conn_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/db/commands/conn_pool_stats.cpp Generating placeholder library build/opt/mongo/db/catalog/libcollection_options.a Skipping ranlib for build/opt/mongo/db/catalog/libcollection_options.a c++ -o build/opt/mongo/db/commands/conn_pool_sync.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/conn_pool_sync.cpp Generating placeholder library build/opt/mongo/db/catalog/libdocument_validation.a Skipping ranlib for build/opt/mongo/db/catalog/libdocument_validation.a c++ -o build/opt/mongo/db/commands/connection_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/db/commands/connection_status.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/apply_ops_cmd_common.cpp:42: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/apply_ops_cmd_common.cpp:42: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/copydb_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/commands/copydb_common.cpp c++ -o build/opt/mongo/db/commands/fail_point_cmd.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/fail_point_cmd.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/authentication_commands.h:35, from src/mongo/db/commands/authentication_commands.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call 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/conn_pool_stats.cpp:37: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/authentication_commands.h:35, from src/mongo/db/commands/authentication_commands.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/conn_pool_sync.cpp:35: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/conn_pool_stats.cpp:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call 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/connection_status.cpp:34: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/conn_pool_sync.cpp:35: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/commands/libapply_ops_cmd_common.a src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call Skipping ranlib for build/opt/mongo/db/commands/libapply_ops_cmd_common.a Generating placeholder library build/opt/mongo/db/catalog/libcatalog.a Skipping ranlib for build/opt/mongo/db/catalog/libcatalog.a src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/feature_compatibility_version_command_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/commands/feature_compatibility_version_command_parser.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/connection_status.cpp:34: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/find_and_modify_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/commands/find_and_modify_common.cpp src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/fail_point_cmd.cpp:37: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/fail_point_cmd.cpp:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/hashcmd.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/hashcmd.cpp c++ -o build/opt/mongo/db/commands/isself.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/isself.cpp c++ -o build/opt/mongo/db/commands/mr_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/commands/mr_common.cpp c++ -o build/opt/mongo/db/commands/rename_collection_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/commands/rename_collection_common.cpp c++ -o build/opt/mongo/db/commands/server_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/db/commands/server_status.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/find_and_modify_common.cpp:41: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/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/commands/parameters.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/user_management_commands_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/commands/user_management_commands_common.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/find_and_modify_common.cpp:41: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/hashcmd.cpp:43: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call 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/isself.cpp:34: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/hashcmd.cpp:43: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/isself.cpp:34: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/curop.h:35, from src/mongo/db/commands/mr.h:37, from src/mongo/db/commands/mr_common.cpp:29: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/write_commands/write_commands_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/commands/write_commands/write_commands_common.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call 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/parameters.cpp:44: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call 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/server_status.cpp:42: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/curop.h:35, from src/mongo/db/commands/mr.h:37, from src/mongo/db/commands/mr_common.cpp:29: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/server_status.cpp:42: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/parameters.cpp:44: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/generic.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/generic.cpp c++ -o build/opt/mongo/db/commands/apply_ops_cmd.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/apply_ops_cmd.cpp c++ -o build/opt/mongo/db/commands/clone.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/clone.cpp c++ -o build/opt/mongo/db/commands/clone_collection.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/clone_collection.cpp c++ -o build/opt/mongo/db/commands/collection_to_capped.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/collection_to_capped.cpp c++ -o build/opt/mongo/db/commands/dbcommands.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/dbcommands.cpp c++ -o build/opt/mongo/db/commands/compact.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/compact.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/generic.cpp:43: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/copydb.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/copydb.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/generic.cpp:43: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/apply_ops_cmd.cpp:42: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/apply_ops_cmd.cpp:42: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/commands/compact.cpp:40: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/commands/compact.cpp:40: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/collection_to_capped.cpp:37: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/collection_to_capped.cpp:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/copydb.cpp:38: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/commands/libcore.a src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call Skipping ranlib for build/opt/mongo/db/commands/libcore.a c++ -o build/opt/mongo/db/commands/copydb_start_commands.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/copydb_start_commands.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/catalog/collection_info_cache.h:34, from src/mongo/db/catalog/collection.h:42, from src/mongo/db/commands/dbcommands.cpp:54: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/copydb.cpp:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call 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/commands/clone_collection.cpp:40: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/commands/dbcommands.cpp:54: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/count_cmd.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/count_cmd.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/commands/clone_collection.cpp:40: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/clone.cpp:37: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/clone.cpp:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/create_indexes.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/create_indexes.cpp c++ -o build/opt/mongo/db/commands/current_op.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/current_op.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/db/dbhelpers.h:31, from src/mongo/db/commands/dbcommands.cpp:68: 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/mongo/db/commands/dbhash.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/dbhash.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/copydb_start_commands.cpp:44: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/copydb_start_commands.cpp:44: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/count_cmd.cpp:35: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/count_cmd.cpp:35: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/distinct.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/distinct.cpp c++ -o build/opt/mongo/db/commands/driverHelpers.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/driverHelpers.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/current_op.cpp:38: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/current_op.cpp:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call 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/commands/dbhash.cpp:40: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call 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/commands/create_indexes.cpp:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/drop_indexes.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/drop_indexes.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/commands/dbhash.cpp:40: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/commands/create_indexes.cpp:36: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/commands/distinct.cpp:43: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/commands/distinct.cpp:43: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/driverHelpers.cpp:45: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/driverHelpers.cpp:45: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/eval.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/eval.cpp src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/explain_cmd.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/explain_cmd.cpp c++ -o build/opt/mongo/db/commands/feature_compatibility_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/commands/feature_compatibility_version.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/catalog/collection_info_cache.h:34, from src/mongo/db/catalog/collection.h:42, from src/mongo/db/commands/drop_indexes.cpp:39: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/commands/drop_indexes.cpp:39: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/find_and_modify.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/find_and_modify.cpp c++ -o build/opt/mongo/db/commands/find_cmd.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/find_cmd.cpp c++ -o build/opt/mongo/db/commands/fsync.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/fsync.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/explain_cmd.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/geo_near_cmd.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/geo_near_cmd.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call 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/eval.cpp:40: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/explain_cmd.cpp:31: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/eval.cpp:40: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call 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/curop.h:35, from src/mongo/db/commands/feature_compatibility_version.cpp:39: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/curop.h:35, from src/mongo/db/commands/feature_compatibility_version.cpp:39: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/get_last_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/db/commands/get_last_error.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/catalog/collection_info_cache.h:34, from src/mongo/db/catalog/collection.h:42, from src/mongo/db/commands/find_and_modify.cpp:41: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call 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/commands/find_cmd.cpp:37: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/commands/find_and_modify.cpp:41: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/commands/find_cmd.cpp:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/fsync.cpp:45: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/getmore_cmd.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/getmore_cmd.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call 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/commands/geo_near_cmd.cpp:37: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/group_cmd.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/group_cmd.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/fsync.cpp:45: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/commands/geo_near_cmd.cpp:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/third_party/boost-1.60.0/boost/date_time/date_facet.hpp:17, from src/third_party/boost-1.60.0/boost/date_time/gregorian/gregorian_io.hpp:16, from src/third_party/boost-1.60.0/boost/date_time/gregorian/gregorian.hpp:31, from src/third_party/boost-1.60.0/boost/date_time/posix_time/time_formatters.hpp:12, from src/third_party/boost-1.60.0/boost/date_time/posix_time/posix_time.hpp:24, from src/mongo/db/stats/top.h:32, from src/mongo/db/commands/find_and_modify.cpp:66: 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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/get_last_error.cpp:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/get_last_error.cpp:36: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/haystack.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/haystack.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/catalog/collection_info_cache.h:34, from src/mongo/db/catalog/collection.h:42, from src/mongo/db/commands/getmore_cmd.cpp:38: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/commands/getmore_cmd.cpp:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/index_filter_commands.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/index_filter_commands.cpp c++ -o build/opt/mongo/db/commands/kill_op.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/kill_op.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/catalog/collection_info_cache.h:34, from src/mongo/db/catalog/collection.h:42, from src/mongo/db/commands/group_cmd.cpp:38: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/commands/group_cmd.cpp:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/commands/haystack.cpp:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/killcursors_cmd.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/killcursors_cmd.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/commands/haystack.cpp:36: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/list_collections.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/list_collections.cpp c++ -o build/opt/mongo/db/commands/list_databases.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/list_databases.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/kill_op.cpp:41: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/kill_op.cpp:41: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/commands/index_filter_commands.cpp:41: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/commands/index_filter_commands.cpp:41: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/list_indexes.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/list_indexes.cpp c++ -o build/opt/mongo/db/commands/lock_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/db/commands/lock_info.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/catalog/collection_info_cache.h:34, from src/mongo/db/catalog/collection.h:42, from src/mongo/db/commands/list_collections.cpp:38: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call 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/commands/killcursors_cmd.cpp:32: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/mr.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/mr.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/commands/list_collections.cpp:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/commands/killcursors_cmd.cpp:32: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/list_databases.cpp:35: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/oplog_note.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/oplog_note.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/list_databases.cpp:35: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/commands/list_indexes.cpp:32: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/commands/list_indexes.cpp:32: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/lock_info.cpp:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call 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/curop.h:35, from src/mongo/db/commands/mr.h:37, from src/mongo/db/commands/mr.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/parallel_collection_scan.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/parallel_collection_scan.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/lock_info.cpp:36: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/curop.h:35, from src/mongo/db/commands/mr.h:37, from src/mongo/db/commands/mr.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/pipeline_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/db/commands/pipeline_command.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/oplog_note.cpp:35: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/plan_cache_commands.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/plan_cache_commands.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/oplog_note.cpp:35: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/rename_collection_cmd.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/rename_collection_cmd.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/db/dbhelpers.h:31, from src/mongo/db/commands/mr.cpp:50: 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/mongo/db/commands/repair_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/db/commands/repair_cursor.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/catalog/collection_info_cache.h:34, from src/mongo/db/catalog/collection.h:42, from src/mongo/db/commands/parallel_collection_scan.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/commands/parallel_collection_scan.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/commands/plan_cache_commands.cpp:39: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/resize_oplog.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/resize_oplog.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/set_feature_compatibility_version_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/db/commands/set_feature_compatibility_version_command.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/commands/plan_cache_commands.cpp:39: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/pipeline_command.cpp:43: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call 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/commands/rename_collection_cmd.cpp:32: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/commands/rename_collection_cmd.cpp:32: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/pipeline_command.cpp:43: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/commands/repair_cursor.cpp:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/commands/repair_cursor.cpp:36: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/pipeline.h:37, from src/mongo/db/exec/pipeline_proxy.h:37, from src/mongo/db/commands/pipeline_command.cpp:46: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/pipeline.h:37, from src/mongo/db/exec/pipeline_proxy.h:37, from src/mongo/db/commands/pipeline_command.cpp:46: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ 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/commands/resize_oplog.cpp:38: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call 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/set_feature_compatibility_version_command.cpp:32: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/set_feature_compatibility_version_command.cpp:32: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/commands/resize_oplog.cpp:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/snapshot_management.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/snapshot_management.cpp c++ -o build/opt/mongo/db/commands/test_commands.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.cpp c++ -o build/opt/mongo/db/commands/top_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/db/commands/top_command.cpp c++ -o build/opt/mongo/db/commands/touch.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/touch.cpp c++ -o build/opt/mongo/db/commands/user_management_commands.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/user_management_commands.cpp c++ -o build/opt/mongo/db/commands/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/commands/validate.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/snapshot_management.cpp:34: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/write_commands/write_commands.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/write_commands/write_commands.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/snapshot_management.cpp:34: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/commands/test_commands.cpp:40: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/commands/test_commands.cpp:40: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/killcursors_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/commands/killcursors_common.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/catalog/collection_info_cache.h:34, from src/mongo/db/catalog/collection.h:42, from src/mongo/db/commands/touch.cpp:42: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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: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/commands/validate.cpp:35: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/commands/touch.cpp:42: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call 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/user_management_commands.cpp:59: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/commands/validate.cpp:35: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/user_management_commands.cpp:59: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/top_command.cpp:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/list_collections_filter.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/list_collections_filter.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/top_command.cpp:36: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/write_commands/write_commands.cpp:34: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/write_commands/write_commands.cpp:34: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/third_party/boost-1.60.0/boost/date_time/date_facet.hpp:17, from src/third_party/boost-1.60.0/boost/date_time/gregorian/gregorian_io.hpp:16, from src/third_party/boost-1.60.0/boost/date_time/gregorian/gregorian.hpp:31, from src/third_party/boost-1.60.0/boost/date_time/posix_time/time_formatters.hpp:12, from src/third_party/boost-1.60.0/boost/date_time/posix_time/posix_time.hpp:24, from src/mongo/db/stats/top.h:32, from src/mongo/db/commands/top_command.cpp:39: 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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/killcursors_common.h:31, from src/mongo/db/commands/killcursors_common.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/killcursors_common.h:31, from src/mongo/db/commands/killcursors_common.cpp:31: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands/server_status_internal.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/server_status_internal.cpp c++ -o build/opt/mongo/db/commands/server_status_metric.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/server_status_metric.cpp Generating placeholder library build/opt/mongo/db/commands/liblist_collections_filter.a Skipping ranlib for build/opt/mongo/db/commands/liblist_collections_filter.a c++ -o build/opt/mongo/db/concurrency/global_lock_acquisition_tracker.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/concurrency/global_lock_acquisition_tracker.cpp c++ -o build/opt/mongo/db/concurrency/d_concurrency.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/concurrency/d_concurrency.cpp c++ -o build/opt/mongo/db/concurrency/lock_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/db/concurrency/lock_manager.cpp Generating placeholder library build/opt/mongo/db/commands/libkillcursors_common.a Skipping ranlib for build/opt/mongo/db/commands/libkillcursors_common.a c++ -o build/opt/mongo/db/concurrency/lock_state.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/concurrency/lock_state.cpp c++ -o build/opt/mongo/db/concurrency/lock_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/db/concurrency/lock_stats.cpp c++ -o build/opt/mongo/db/concurrency/write_conflict_exception.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/concurrency/write_conflict_exception.cpp Generating placeholder library build/opt/mongo/db/commands/libserver_status_core.a Skipping ranlib for build/opt/mongo/db/commands/libserver_status_core.a c++ -o build/opt/mongo/db/exec/and_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/exec/and_hash.cpp Generating placeholder library build/opt/mongo/db/concurrency/libglobal_lock_acquisition_tracker.a Skipping ranlib for build/opt/mongo/db/concurrency/libglobal_lock_acquisition_tracker.a c++ -o build/opt/mongo/db/exec/and_sorted.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/exec/and_sorted.cpp Generating placeholder library build/opt/mongo/db/commands/libdcommands.a Skipping ranlib for build/opt/mongo/db/commands/libdcommands.a c++ -o build/opt/mongo/db/exec/cached_plan.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/exec/cached_plan.cpp c++ -o build/opt/mongo/db/exec/collection_scan.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/exec/collection_scan.cpp c++ -o build/opt/mongo/db/exec/count.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/exec/count.cpp Generating placeholder library build/opt/mongo/db/concurrency/libwrite_conflict_exception.a Skipping ranlib for build/opt/mongo/db/concurrency/libwrite_conflict_exception.a c++ -o build/opt/mongo/db/exec/count_scan.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/exec/count_scan.cpp c++ -o build/opt/mongo/db/exec/delete.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/exec/delete.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/exec/cached_plan.h:37, from src/mongo/db/exec/cached_plan.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/concurrency/liblock_manager.a Skipping ranlib for build/opt/mongo/db/concurrency/liblock_manager.a src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/exec/distinct_scan.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/exec/distinct_scan.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call 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/exec/collection_scan.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/exec/cached_plan.h:37, from src/mongo/db/exec/cached_plan.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/exec/ensure_sorted.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/exec/ensure_sorted.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/exec/collection_scan.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/exec/eof.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/exec/eof.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/catalog/collection_info_cache.h:34, from src/mongo/db/catalog/collection.h:42, from src/mongo/db/exec/count.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call 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/exec/delete.cpp:35: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call 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/index_access_method.h:36, from src/mongo/db/exec/count_scan.h:33, from src/mongo/db/exec/count_scan.cpp:29: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/exec/count.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/exec/delete.cpp:35: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/index_access_method.h:36, from src/mongo/db/exec/count_scan.h:33, from src/mongo/db/exec/count_scan.cpp:29: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/index_access_method.h:36, from src/mongo/db/exec/distinct_scan.h:33, from src/mongo/db/exec/distinct_scan.cpp:29: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/index_access_method.h:36, from src/mongo/db/exec/distinct_scan.h:33, from src/mongo/db/exec/distinct_scan.cpp:29: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/exec/fetch.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/exec/fetch.cpp c++ -o build/opt/mongo/db/exec/geo_near.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/exec/geo_near.cpp c++ -o build/opt/mongo/db/exec/group.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/exec/group.cpp c++ -o build/opt/mongo/db/exec/idhack.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/exec/idhack.cpp c++ -o build/opt/mongo/db/exec/index_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/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/exec/index_iterator.cpp c++ -o build/opt/mongo/db/exec/index_scan.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/exec/index_scan.cpp c++ -o build/opt/mongo/db/exec/keep_mutations.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/exec/keep_mutations.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/catalog/collection_info_cache.h:34, from src/mongo/db/catalog/collection.h:42, from src/mongo/db/exec/fetch.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/exec/limit.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/exec/limit.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/exec/fetch.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/exec/idhack.h:33, from src/mongo/db/exec/idhack.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call 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/exec/near.h:35, from src/mongo/db/exec/geo_near.h:31, from src/mongo/db/exec/geo_near.cpp:32: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/exec/idhack.h:33, from src/mongo/db/exec/idhack.cpp:31: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/exec/near.h:35, from src/mongo/db/exec/geo_near.h:31, from src/mongo/db/exec/geo_near.cpp:32: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/exec/index_iterator.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/exec/index_iterator.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/index_access_method.h:36, from src/mongo/db/exec/index_scan.h:33, from src/mongo/db/exec/index_scan.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call 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/exec/group.cpp:35: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/index_access_method.h:36, from src/mongo/db/exec/index_scan.h:33, from src/mongo/db/exec/index_scan.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/exec/group.cpp:35: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/exec/merge_sort.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/exec/merge_sort.cpp c++ -o build/opt/mongo/db/exec/multi_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/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/exec/multi_iterator.cpp c++ -o build/opt/mongo/db/exec/multi_plan.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/exec/multi_plan.cpp c++ -o build/opt/mongo/db/exec/near.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/exec/near.cpp c++ -o build/opt/mongo/db/exec/oplogstart.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/exec/oplogstart.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/catalog/collection_info_cache.h:34, from src/mongo/db/catalog/collection.h:42, from src/mongo/db/exec/multi_plan.h:32, from src/mongo/db/exec/multi_plan.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/exec/multi_plan.h:32, from src/mongo/db/exec/multi_plan.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/exec/multi_iterator.h:34, from src/mongo/db/exec/multi_iterator.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/exec/multi_iterator.h:34, from src/mongo/db/exec/multi_iterator.cpp:31: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/exec/or.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/exec/or.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/catalog/collection_info_cache.h:34, from src/mongo/db/catalog/collection.h:42, from src/mongo/db/exec/near.h:35, from src/mongo/db/exec/near.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/exec/pipeline_proxy.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/exec/pipeline_proxy.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/exec/plan_stage.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/exec/plan_stage.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/exec/near.h:35, from src/mongo/db/exec/near.cpp:31: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/exec/projection.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/exec/projection.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/catalog/collection_info_cache.h:34, from src/mongo/db/catalog/collection.h:42, from src/mongo/db/exec/oplogstart.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/exec/oplogstart.cpp:31: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/exec/pipeline_proxy.h:34, from src/mongo/db/exec/pipeline_proxy.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/exec/projection_exec.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/exec/projection_exec.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/exec/pipeline_proxy.h:34, from src/mongo/db/exec/pipeline_proxy.cpp:31: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/exec/projection_exec.h:34, from src/mongo/db/exec/projection.h:33, from src/mongo/db/exec/projection.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/exec/queued_data_stage.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/exec/queued_data_stage.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, from src/mongo/db/exec/projection_exec.h:34, from src/mongo/db/exec/projection.h:33, from src/mongo/db/exec/projection.cpp:31: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/exec/shard_filter.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/exec/shard_filter.cpp c++ -o build/opt/mongo/db/exec/skip.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/exec/skip.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/pipeline.h:37, from src/mongo/db/exec/pipeline_proxy.h:37, from src/mongo/db/exec/pipeline_proxy.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/pipeline.h:37, from src/mongo/db/exec/pipeline_proxy.h:37, from src/mongo/db/exec/pipeline_proxy.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ c++ -o build/opt/mongo/db/exec/sort.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/exec/sort.cpp c++ -o build/opt/mongo/db/exec/sort_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/exec/sort_key_generator.cpp In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/exec/projection_exec.h:34, from src/mongo/db/exec/projection_exec.cpp:29: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, from src/mongo/db/exec/projection_exec.h:34, from src/mongo/db/exec/projection_exec.cpp:29: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/exec/stagedebug_cmd.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/exec/stagedebug_cmd.cpp src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/exec/subplan.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/exec/subplan.cpp c++ -o build/opt/mongo/db/exec/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/db/exec/text.cpp c++ -o build/opt/mongo/db/exec/text_match.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/exec/text_match.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/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/exec/sort_key_generator.h:35, from src/mongo/db/exec/sort.h:35, from src/mongo/db/exec/sort.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call 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/exec/sort_key_generator.h:35, from src/mongo/db/exec/sort_key_generator.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/exec/sort_key_generator.h:35, from src/mongo/db/exec/sort.h:35, from src/mongo/db/exec/sort.cpp:31: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/exec/sort_key_generator.h:35, from src/mongo/db/exec/sort_key_generator.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/exec/subplan.h:37, from src/mongo/db/exec/subplan.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/exec/subplan.h:37, from src/mongo/db/exec/subplan.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/exec/stagedebug_cmd.cpp:39: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/exec/stagedebug_cmd.cpp:39: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/exec/text_or.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/exec/text_or.cpp src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/exec/update.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/exec/update.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/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/exec/text.h:39, from src/mongo/db/exec/text.cpp:29: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/exec/text.h:39, from src/mongo/db/exec/text.cpp:29: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/exec/working_set_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/exec/working_set_common.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/catalog/collection_info_cache.h:34, from src/mongo/db/catalog/collection.h:42, from src/mongo/db/exec/text_or.h:34, from src/mongo/db/exec/text_or.cpp:29: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/exec/text_or.h:34, from src/mongo/db/exec/text_or.cpp:29: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/exec/write_stage_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/exec/write_stage_common.cpp src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/exec/update.h:32, from src/mongo/db/exec/update.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/exec/scoped_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/db/exec/scoped_timer.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/exec/update.h:32, from src/mongo/db/exec/update.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/exec/working_set_common.cpp:34: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ c++ -o build/opt/mongo/db/exec/working_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/exec/working_set.cpp 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, 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/exec/working_set_common.cpp:34: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/exec/libscoped_timer.a Skipping ranlib for build/opt/mongo/db/exec/libscoped_timer.a c++ -o build/opt/mongo/db/ftdc/block_compressor.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/ftdc/block_compressor.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/catalog/collection_info_cache.h:34, from src/mongo/db/catalog/collection.h:42, from src/mongo/db/exec/write_stage_common.cpp:32: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/ftdc/collector.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/ftdc/collector.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/ftdc/compressor.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/ftdc/compressor.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/exec/write_stage_common.cpp:32: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/ftdc/controller.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/ftdc/controller.cpp c++ -o build/opt/mongo/db/ftdc/decompressor.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/ftdc/decompressor.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/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/exec/working_set.cpp:32: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/exec/working_set.cpp:32: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/db/ftdc/controller.h:31, from src/mongo/db/ftdc/controller.cpp:33: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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/db/ftdc/util.h:31, from src/mongo/db/ftdc/collector.cpp:38: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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/db/ftdc/util.h:31, from src/mongo/db/ftdc/compressor.cpp:35: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/mongo/db/ftdc/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/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/ftdc/file_manager.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/db/ftdc/util.h:31, from src/mongo/db/ftdc/decompressor.cpp:36: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/mongo/db/ftdc/file_reader.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/ftdc/file_reader.cpp c++ -o build/opt/mongo/db/ftdc/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/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/ftdc/file_writer.cpp c++ -o build/opt/mongo/db/ftdc/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/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/ftdc/util.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/db/ftdc/file_manager.h:31, from src/mongo/db/ftdc/file_manager.cpp:33: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ Generating placeholder library build/opt/mongo/db/exec/libexec.a Skipping ranlib for build/opt/mongo/db/exec/libexec.a c++ -o build/opt/mongo/db/ftdc/varint.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/ftdc/varint.cpp c++ -o build/opt/mongo/db/ftdc/ftdc_commands.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/ftdc/ftdc_commands.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/db/ftdc/file_reader.h:31, from src/mongo/db/ftdc/file_reader.cpp:31: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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/db/ftdc/file_writer.h:31, from src/mongo/db/ftdc/file_writer.cpp:33: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/mongo/db/ftdc/ftdc_mongod.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/ftdc/ftdc_mongod.cpp Generating placeholder library build/opt/mongo/db/exec/libworking_set.a Skipping ranlib for build/opt/mongo/db/exec/libworking_set.a 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/db/ftdc/util.h:31, from src/mongo/db/ftdc/util.cpp:33: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/mongo/db/ftdc/ftdc_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 src/mongo/db/ftdc/ftdc_server.cpp c++ -o build/opt/mongo/db/ftdc/ftdc_system_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/db/ftdc/ftdc_system_stats.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/db/ftdc/ftdc_mongod.cpp:33: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/mongo/db/ftdc/ftdc_system_stats_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/db/ftdc/ftdc_system_stats_netbsd.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/db/ftdc/controller.h:31, from src/mongo/db/ftdc/ftdc_system_stats.h:34, from src/mongo/db/ftdc/ftdc_system_stats.cpp:31: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/mongo/db/fts/fts_query_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/fts/fts_query_noop.cpp Generating placeholder library build/opt/mongo/db/fts/libftsmongod.a Skipping ranlib for build/opt/mongo/db/fts/libftsmongod.a c++ -o build/opt/mongo/db/index/2d_access_method.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/index/2d_access_method.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/ftdc/ftdc_commands.cpp:35: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call 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/ftdc/ftdc_server.h:34, from src/mongo/db/ftdc/ftdc_mongod.cpp:37: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/ftdc/libftdc.a src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call Skipping ranlib for build/opt/mongo/db/ftdc/libftdc.a src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/index/btree_access_method.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/index/btree_access_method.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/index/fts_access_method.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/index/fts_access_method.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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/ftdc/ftdc_server.h:34, from src/mongo/db/ftdc/ftdc_server.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/ftdc/ftdc_commands.cpp:35: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/ftdc/ftdc_server.h:34, from src/mongo/db/ftdc/ftdc_mongod.cpp:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/ftdc/ftdc_server.h:34, from src/mongo/db/ftdc/ftdc_server.cpp:31: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/db/ftdc/controller.h:31, from src/mongo/db/ftdc/ftdc_system_stats.h:34, from src/mongo/db/ftdc/ftdc_system_stats_netbsd.cpp:31: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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/db/ftdc/controller.h:31, from src/mongo/db/ftdc/ftdc_commands.cpp:36: 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ src/mongo/db/fts/fts_query_noop.cpp: In member function 'virtual std::unique_ptr<mongo::fts::FTSQuery> mongo::fts::FTSQueryNoop::clone() const': src/mongo/db/fts/fts_query_noop.cpp:44:21: warning: redundant move in return statement [-Wredundant-move] 44 | return std::move(clonedQuery); | ~~~~~~~~~^~~~~~~~~~~~~ src/mongo/db/fts/fts_query_noop.cpp:44:21: note: remove 'std::move' call 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/db/ftdc/controller.h:31, from src/mongo/db/ftdc/ftdc_server.h:36, from src/mongo/db/ftdc/ftdc_server.cpp:31: 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/mongo/db/index/hash_access_method.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/index/hash_access_method.cpp Generating placeholder library build/opt/mongo/db/fts/libfts_query_noop.a Skipping ranlib for build/opt/mongo/db/fts/libfts_query_noop.a c++ -o build/opt/mongo/db/index/haystack_access_method.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/index/haystack_access_method.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/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/index_access_method.h:36, from src/mongo/db/index/fts_access_method.h:33, from src/mongo/db/index/fts_access_method.cpp:29: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call 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/index_access_method.h:36, from src/mongo/db/index/2d_access_method.h:33, from src/mongo/db/index/2d_access_method.cpp:29: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call 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/btree_access_method.h:33, from src/mongo/db/index/btree_access_method.cpp:29: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/index_access_method.h:36, from src/mongo/db/index/fts_access_method.h:33, from src/mongo/db/index/fts_access_method.cpp:29: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/index/index_access_method.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/index/index_access_method.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/index_access_method.h:36, from src/mongo/db/index/2d_access_method.h:33, from src/mongo/db/index/2d_access_method.cpp:29: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/btree_access_method.h:33, from src/mongo/db/index/btree_access_method.cpp:29: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/ftdc/libftdc_mongod.a Skipping ranlib for build/opt/mongo/db/ftdc/libftdc_mongod.a c++ -o build/opt/mongo/db/index/s2_access_method.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/index/s2_access_method.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/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/index_access_method.h:36, from src/mongo/db/index/hash_access_method.h:35, from src/mongo/db/index/hash_access_method.cpp:29: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/ftdc/libftdc_server.a Skipping ranlib for build/opt/mongo/db/ftdc/libftdc_server.a src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/audit.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/audit.cpp In file included from src/mongo/db/matcher/expression_parser.h:37, 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/index_access_method.h:36, from src/mongo/db/index/hash_access_method.h:35, from src/mongo/db/index/hash_access_method.cpp:29: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/index_access_method.h:36, from src/mongo/db/index/haystack_access_method.h:32, from src/mongo/db/index/haystack_access_method.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/index_access_method.h:36, from src/mongo/db/index/haystack_access_method.h:32, from src/mongo/db/index/haystack_access_method.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/index_access_method.h:36, from src/mongo/db/index/s2_access_method.h:33, from src/mongo/db/index/s2_access_method.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/collection_index_usage_tracker.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/collection_index_usage_tracker.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call 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/btree_access_method.h:33, from src/mongo/db/index/index_access_method.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/commands.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.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/index_access_method.h:36, from src/mongo/db/index/s2_access_method.h:33, from src/mongo/db/index/s2_access_method.cpp:31: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/libaudit.a src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call Skipping ranlib for build/opt/mongo/db/libaudit.a c++ -o build/opt/mongo/db/conn_pool_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/conn_pool_options.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/btree_access_method.h:33, from src/mongo/db/index/index_access_method.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/curop.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/curop.cpp c++ -o build/opt/mongo/db/db_raii.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/db_raii.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/db/sorter/sorter.cpp:50, from src/mongo/db/index/index_access_method.cpp:623: 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/libcollection_index_usage_tracker.a Skipping ranlib for build/opt/mongo/db/libcollection_index_usage_tracker.a src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/dbdirectclient.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/dbdirectclient.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/dbhelpers.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/dbhelpers.cpp Generating placeholder library build/opt/mongo/db/libconn_pool_options.a Skipping ranlib for build/opt/mongo/db/libconn_pool_options.a 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/curop.h:35, from src/mongo/db/curop.cpp:35: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/global_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/db/global_timestamp.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/lasterror.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/lasterror.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/curop.h:35, from src/mongo/db/curop.cpp:35: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/db/dbhelpers.h:31, from src/mongo/db/dbhelpers.cpp:33: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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/db_raii.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/db_raii.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/libglobal_timestamp.a Skipping ranlib for build/opt/mongo/db/libglobal_timestamp.a 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/dbdirectclient.cpp:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/log_process_details.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/log_process_details.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call In file included from src/mongo/util/progress_meter.h:32, from src/mongo/db/curop.h:40, from src/mongo/db/curop.cpp:35: 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::CurOp::CurOp(mongo::OperationContext*, mongo::CurOp::CurOpStack*)' at src/mongo/db/curop.cpp:238:72: 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] 64 | strncpy(_buf, str.rawData(), s); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/dbdirectclient.cpp:36: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call 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/curop.h:35, from src/mongo/db/db.h:35, from src/mongo/db/dbhelpers.h:34, from src/mongo/db/dbhelpers.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call 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/third_party/boost-1.60.0/boost/date_time/date_facet.hpp:17, from src/third_party/boost-1.60.0/boost/date_time/gregorian/gregorian_io.hpp:16, from src/third_party/boost-1.60.0/boost/date_time/gregorian/gregorian.hpp:31, from src/third_party/boost-1.60.0/boost/date_time/posix_time/time_formatters.hpp:12, from src/third_party/boost-1.60.0/boost/date_time/posix_time/posix_time.hpp:24, from src/mongo/db/stats/top.h:32, from src/mongo/db/db_raii.cpp:40: 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/liblasterror.a Skipping ranlib for build/opt/mongo/db/liblasterror.a src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/curop.h:35, from src/mongo/db/db.h:35, from src/mongo/db/dbhelpers.h:34, from src/mongo/db/dbhelpers.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/mongod_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/mongod_options.cpp Generating placeholder library build/opt/mongo/db/libcurop.a Generating placeholder library build/opt/mongo/db/libcommands.a Skipping ranlib for build/opt/mongo/db/libcurop.a Skipping ranlib for build/opt/mongo/db/libcommands.a c++ -o build/opt/mongo/db/dbwebserver.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/dbwebserver.cpp c++ -o build/opt/mongo/db/initialize_server_global_state.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/initialize_server_global_state.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/db/initialize_server_global_state.cpp:35: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ Generating placeholder library build/opt/mongo/db/index/libindex_access_methods.a Skipping ranlib for build/opt/mongo/db/index/libindex_access_methods.a c++ -o build/opt/mongo/db/server_extra_log_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/server_extra_log_context.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/db/server_options_helpers.h:33, from src/mongo/db/log_process_details.cpp:41: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ Generating placeholder library build/opt/mongo/db/libdbdirectclient.a Skipping ranlib for build/opt/mongo/db/libdbdirectclient.a c++ -o build/opt/mongo/db/server_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/db/server_options_init.cpp Generating placeholder library build/opt/mongo/db/libdb_raii.a Skipping ranlib for build/opt/mongo/db/libdb_raii.a 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/db/mongod_options.h:36, from src/mongo/db/mongod_options.cpp:31: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/mongo/db/clientlistplugin.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/clientlistplugin.cpp Generating placeholder library build/opt/mongo/db/liblog_process_details.a Skipping ranlib for build/opt/mongo/db/liblog_process_details.a c++ -o build/opt/mongo/db/restapi.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/restapi.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/curop.h:35, from src/mongo/db/db.h:35, from src/mongo/db/mongod_options.cpp:42: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/curop.h:35, from src/mongo/db/db.h:35, from src/mongo/db/mongod_options.cpp:42: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/stats/snapshots_webplugins.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/snapshots_webplugins.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/dbwebserver.cpp:48: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/dbwebserver.cpp:48: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/db/server_options_helpers.h:33, from src/mongo/db/server_options_init.cpp:30: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/mongo/db/repl/repl_set_web_handler.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/repl_set_web_handler.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/clientlistplugin.cpp:35: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/libdbhelpers.a Skipping ranlib for build/opt/mongo/db/libdbhelpers.a 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/third_party/boost-1.60.0/boost/date_time/date_facet.hpp:17, from src/third_party/boost-1.60.0/boost/date_time/gregorian/gregorian_io.hpp:16, from src/third_party/boost-1.60.0/boost/date_time/gregorian/gregorian.hpp:31, from src/third_party/boost-1.60.0/boost/date_time/posix_time/time_formatters.hpp:12, from src/third_party/boost-1.60.0/boost/date_time/posix_time/posix_time.hpp:24, from src/mongo/db/stats/top.h:32, from src/mongo/db/stats/snapshots.h:35, from src/mongo/db/dbwebserver.cpp:53: 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/range_arithmetic.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/range_arithmetic.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/clientlistplugin.cpp:35: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/restapi.cpp:42: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/range_deleter.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/range_deleter.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/restapi.cpp:42: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/third_party/boost-1.60.0/boost/date_time/date_facet.hpp:17, from src/third_party/boost-1.60.0/boost/date_time/gregorian/gregorian_io.hpp:16, from src/third_party/boost-1.60.0/boost/date_time/gregorian/gregorian.hpp:31, from src/third_party/boost-1.60.0/boost/date_time/posix_time/time_formatters.hpp:12, from src/third_party/boost-1.60.0/boost/date_time/posix_time/posix_time.hpp:24, from src/mongo/db/stats/top.h:32, from src/mongo/db/stats/snapshots.h:35, from src/mongo/db/stats/snapshots_webplugins.cpp:33: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ Generating placeholder library build/opt/mongo/db/librange_arithmetic.a Skipping ranlib for build/opt/mongo/db/librange_arithmetic.a c++ -o build/opt/mongo/db/range_deleter_mock_env.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/range_deleter_mock_env.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/stats/top.h:34, from src/mongo/db/stats/snapshots.h:35, from src/mongo/db/stats/snapshots_webplugins.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/stats/top.h:34, from src/mongo/db/stats/snapshots.h:35, from src/mongo/db/stats/snapshots_webplugins.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/run_commands.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/run_commands.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/range_deleter.h:38, from src/mongo/db/range_deleter.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/server_options_helpers.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_helpers.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/range_deleter.h:38, from src/mongo/db/range_deleter.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/background.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/background.cpp Generating placeholder library build/opt/mongo/db/libmongod_options.a Skipping ranlib for build/opt/mongo/db/libmongod_options.a c++ -o build/opt/mongo/db/clientcursor.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/clientcursor.cpp Generating placeholder library build/opt/mongo/db/libmongodandmongos.a Skipping ranlib for build/opt/mongo/db/libmongodandmongos.a c++ -o build/opt/mongo/db/cloner.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/cloner.cpp Generating placeholder library build/opt/mongo/db/libmongodwebserver.a Skipping ranlib for build/opt/mongo/db/libmongodwebserver.a c++ -o build/opt/mongo/db/curop_metrics.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/curop_metrics.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/range_deleter.h:38, from src/mongo/db/range_deleter_mock_env.h:35, from src/mongo/db/range_deleter_mock_env.cpp:29: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/index_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/db/index_builder.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/range_deleter.h:38, from src/mongo/db/range_deleter_mock_env.h:35, from src/mongo/db/range_deleter_mock_env.cpp:29: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/run_commands.cpp:35: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/run_commands.cpp:35: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/db/server_options_helpers.h:33, from src/mongo/db/server_options_helpers.cpp:31: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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/clientcursor.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/clientcursor.cpp:31: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/cloner.cpp:44: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call 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/curop.h:35, from src/mongo/db/curop_metrics.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/index_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/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_legacy.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/cloner.cpp:44: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/curop.h:35, from src/mongo/db/curop_metrics.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/index_access_method.h:36, from src/mongo/db/catalog/index_create.h:40, from src/mongo/db/index_builder.cpp:38: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/librun_commands.a Generating placeholder library build/opt/mongo/db/librange_deleter.a Skipping ranlib for build/opt/mongo/db/librun_commands.a Skipping ranlib for build/opt/mongo/db/librange_deleter.a c++ -o build/opt/mongo/db/index_rebuilder.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_rebuilder.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/instance.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/instance.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/index_access_method.h:36, from src/mongo/db/catalog/index_create.h:40, from src/mongo/db/index_builder.cpp:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/introspect.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/introspect.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/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/index_access_method.h:36, from src/mongo/db/index/s2_access_method.h:33, from src/mongo/db/index_legacy.cpp:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/libserver_options.a src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call Skipping ranlib for build/opt/mongo/db/libserver_options.a src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/op_observer_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/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/op_observer_impl.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/operation_context_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/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_impl.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/index_access_method.h:36, from src/mongo/db/index/s2_access_method.h:33, from src/mongo/db/index_legacy.cpp:36: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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_rebuilder.cpp:40: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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_rebuilder.cpp:40: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/prefetch.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/prefetch.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/catalog/cursor_manager.h:34, from src/mongo/db/instance.cpp:43: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/catalog/cursor_manager.h:34, from src/mongo/db/instance.cpp:43: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/introspect.cpp:39: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/introspect.cpp:39: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/op_observer_impl.cpp:37: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call 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/curop.h:35, from src/mongo/db/operation_context_impl.cpp:37: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/op_observer_impl.cpp:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/curop.h:35, from src/mongo/db/operation_context_impl.cpp:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/range_deleter_db_env.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/range_deleter_db_env.cpp src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/db/mongod_options.h:36, from src/mongo/db/instance.cpp:62: 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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/prefetch.cpp:35: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/range_deleter_service.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/range_deleter_service.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/prefetch.cpp:35: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/read_concern.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/read_concern.cpp c++ -o build/opt/mongo/db/repair_database.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/repair_database.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/db/dbhelpers.h:31, from src/mongo/db/prefetch.cpp:38: 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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/range_deleter.h:38, from src/mongo/db/range_deleter_db_env.h:31, from src/mongo/db/range_deleter_db_env.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/s/sharding_connection_hook_for_mongod.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/s/sharding_connection_hook_for_mongod.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/range_deleter.h:38, from src/mongo/db/range_deleter_db_env.h:31, from src/mongo/db/range_deleter_db_env.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/service_context_d.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_d.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/range_deleter.h:38, from src/mongo/db/range_deleter_service.h:31, from src/mongo/db/range_deleter_service.cpp:29: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/range_deleter.h:38, from src/mongo/db/range_deleter_service.h:31, from src/mongo/db/range_deleter_service.cpp:29: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/repair_database.cpp:39: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call 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/read_concern.cpp:37: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/repair_database.cpp:39: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/read_concern.cpp:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/db/dbhelpers.h:31, from src/mongo/db/range_deleter_db_env.cpp:41: 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/mongo/db/storage/storage_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/db/storage/storage_init.cpp c++ -o build/opt/mongo/db/ttl.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/ttl.cpp c++ -o build/opt/mongo/db/write_concern.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.cpp c++ -o build/opt/mongo/db/startup_warnings_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/startup_warnings_common.cpp c++ -o build/opt/mongo/db/startup_warnings_mongod.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/startup_warnings_mongod.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/db/startup_warnings_common.cpp:35: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ 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/server_status.h:33, from src/mongo/db/storage/storage_init.cpp:34: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/ttl_collection_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/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/ttl_collection_cache.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/update_index_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/db/update_index_data.cpp In file included from src/mongo/db/matcher/expression_parser.h:37, 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/server_status.h:33, from src/mongo/db/storage/storage_init.cpp:34: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call 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/ttl.cpp:40: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call 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/db/startup_warnings_mongod.cpp:35: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/ttl.cpp:40: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/matcher/expression_algo.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/matcher/expression_algo.cpp Generating placeholder library build/opt/mongo/db/libupdate_index_data.a Skipping ranlib for build/opt/mongo/db/libupdate_index_data.a c++ -o build/opt/mongo/db/matcher/expression.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/matcher/expression.cpp Generating placeholder library build/opt/mongo/db/libstartup_warnings_common.a Skipping ranlib for build/opt/mongo/db/libstartup_warnings_common.a c++ -o build/opt/mongo/db/matcher/expression_array.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/matcher/expression_array.cpp c++ -o build/opt/mongo/db/matcher/expression_leaf.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/matcher/expression_leaf.cpp Generating placeholder library build/opt/mongo/db/libttl_collection_cache.a Skipping ranlib for build/opt/mongo/db/libttl_collection_cache.a c++ -o build/opt/mongo/db/matcher/expression_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/matcher/expression_parser.cpp c++ -o build/opt/mongo/db/matcher/expression_parser_tree.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/matcher/expression_parser_tree.cpp Generating placeholder library build/opt/mongo/db/libstartup_warnings_mongod.a Skipping ranlib for build/opt/mongo/db/libstartup_warnings_mongod.a c++ -o build/opt/mongo/db/matcher/expression_text_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/db/matcher/expression_text_base.cpp In file included from src/mongo/db/matcher/expression_array.h:39, from src/mongo/db/matcher/expression_algo.cpp:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_array.h:39, from src/mongo/db/matcher/expression_array.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_algo.cpp:36: src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:84:25: warning: redundant move in return statement [-Wredundant-move] 84 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:84:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:124:25: warning: redundant move in return statement [-Wredundant-move] 124 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:124:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:160:25: warning: redundant move in return statement [-Wredundant-move] 160 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:160:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_algo.cpp:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_leaf.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression_algo.cpp:39: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression_algo.cpp:39: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/matcher/expression_text_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/matcher/expression_text_noop.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_array.cpp:31: src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:84:25: warning: redundant move in return statement [-Wredundant-move] 84 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:84:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/matcher/expression_parser.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call src/mongo/db/matcher/expression_algo.cpp: In function 'std::unique_ptr<mongo::MatchExpression> mongo::{anonymous}::createAndOfNodes(std::vector<std::unique_ptr<mongo::MatchExpression> >*)': src/mongo/db/matcher/expression_algo.cpp:267:21: warning: redundant move in return statement [-Wredundant-move] 267 | return std::move(splitAnd); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/matcher/expression_algo.cpp:267:21: note: remove 'std::move' call src/mongo/db/matcher/expression_algo.cpp: In function 'std::unique_ptr<mongo::MatchExpression> mongo::{anonymous}::createNorOfNodes(std::vector<std::unique_ptr<mongo::MatchExpression> >*)': src/mongo/db/matcher/expression_algo.cpp:283:21: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(splitNor); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/matcher/expression_algo.cpp:283:21: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:124:25: warning: redundant move in return statement [-Wredundant-move] 124 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:124:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:160:25: warning: redundant move in return statement [-Wredundant-move] 160 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:160:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.cpp: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.cpp:566:21: warning: redundant move in return statement [-Wredundant-move] 566 | return std::move(next); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_leaf.cpp:566:21: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, from src/mongo/db/matcher/expression_parser.cpp:31: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.cpp:36: src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:84:25: warning: redundant move in return statement [-Wredundant-move] 84 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:84:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:124:25: warning: redundant move in return statement [-Wredundant-move] 124 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:124:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:160:25: warning: redundant move in return statement [-Wredundant-move] 160 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:160:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/matcher/expression_parser_tree.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, from src/mongo/db/matcher/expression_parser_tree.cpp:31: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser_tree.cpp:35: src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:84:25: warning: redundant move in return statement [-Wredundant-move] 84 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:84:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:124:25: warning: redundant move in return statement [-Wredundant-move] 124 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:124:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:160:25: warning: redundant move in return statement [-Wredundant-move] 160 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:160:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/expression_text_base.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:186:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/libserveronly.a Skipping ranlib for build/opt/mongo/db/libserveronly.a src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/matcher/expression_tree.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/matcher/expression_tree.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/matcher/libexpression_algo.a Skipping ranlib for build/opt/mongo/db/matcher/libexpression_algo.a c++ -o build/opt/mongo/db/matcher/expression_where_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/db/matcher/expression_where_base.cpp In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/expression_text_noop.h:32, from src/mongo/db/matcher/expression_text_noop.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/matcher/expression_where_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/matcher/expression_where_noop.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_text_noop.cpp: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TextNoOpMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_text_noop.cpp:58:21: warning: redundant move in return statement [-Wredundant-move] 58 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_text_noop.cpp:58:21: note: remove 'std::move' call c++ -o build/opt/mongo/db/matcher/extensions_callback.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/matcher/extensions_callback.cpp c++ -o build/opt/mongo/db/matcher/extensions_callback_disallow_extensions.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/matcher/extensions_callback_disallow_extensions.cpp In file included from src/mongo/db/matcher/expression_tree.cpp:31: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/matcher/extensions_callback_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/matcher/extensions_callback_noop.cpp src/mongo/db/matcher/expression_where_noop.cpp: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::WhereNoOpMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_where_noop.cpp:55:21: warning: redundant move in return statement [-Wredundant-move] 55 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_where_noop.cpp:55:21: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/matcher/match_details.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/matcher/match_details.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/matcher/matchable.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/matcher/matchable.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/matcher/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/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/matcher/matcher.cpp c++ -o build/opt/mongo/db/matcher/expression_geo.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/matcher/expression_geo.cpp c++ -o build/opt/mongo/db/matcher/expression_parser_geo.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/matcher/expression_parser_geo.cpp In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_disallow_extensions.h:31, from src/mongo/db/matcher/extensions_callback_disallow_extensions.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/matcher/extensions_callback_noop.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/matcher/extensions_callback_real.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/matcher/extensions_callback_real.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/matcher/expression_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/db/matcher/expression_text.cpp c++ -o build/opt/mongo/db/matcher/expression_where.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/matcher/expression_where.cpp In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/matcher/matcher.cpp:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/matcher/expression_parser_geo.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, from src/mongo/db/matcher/expression_parser_geo.cpp:31: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/matcher/matcher.cpp:36: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_real.h:31, from src/mongo/db/matcher/extensions_callback_real.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_geo.h:37, from src/mongo/db/matcher/expression_geo.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/matcher/path.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/matcher/path.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_geo.cpp: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GeoMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_geo.cpp:406:21: warning: redundant move in return statement [-Wredundant-move] 406 | return std::move(next); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_geo.cpp:406:21: note: remove 'std::move' call src/mongo/db/matcher/expression_geo.cpp: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GeoNearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_geo.cpp:464:21: warning: redundant move in return statement [-Wredundant-move] 464 | return std::move(next); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_geo.cpp:464:21: note: remove 'std::move' call c++ -o build/opt/mongo/db/matcher/path_internal.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/matcher/path_internal.cpp In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/expression_text.h:34, from src/mongo/db/matcher/expression_text.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/matcher/libexpressions.a Skipping ranlib for build/opt/mongo/db/matcher/libexpressions.a c++ -o build/opt/mongo/db/ops/modifier_add_to_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/ops/modifier_add_to_set.cpp In file included from src/mongo/db/matcher/expression_parser.h:37, 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/matcher/expression_text.cpp:35: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/matcher/expression_where.cpp:40: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/ops/modifier_bit.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/ops/modifier_bit.cpp In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/matcher/expression_where.cpp:40: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_where.cpp: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::WhereMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_where.cpp:120:21: warning: redundant move in return statement [-Wredundant-move] 120 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_where.cpp:120:21: note: remove 'std::move' call c++ -o build/opt/mongo/db/ops/modifier_compare.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/ops/modifier_compare.cpp Generating placeholder library build/opt/mongo/db/matcher/libpath.a Skipping ranlib for build/opt/mongo/db/matcher/libpath.a c++ -o build/opt/mongo/db/ops/modifier_current_date.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/ops/modifier_current_date.cpp Generating placeholder library build/opt/mongo/db/matcher/libexpressions_geo.a Skipping ranlib for build/opt/mongo/db/matcher/libexpressions_geo.a c++ -o build/opt/mongo/db/ops/modifier_inc.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/ops/modifier_inc.cpp c++ -o build/opt/mongo/db/ops/modifier_object_replace.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/ops/modifier_object_replace.cpp src/mongo/db/matcher/expression_text.cpp: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TextMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_text.cpp:110:21: warning: redundant move in return statement [-Wredundant-move] 110 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_text.cpp:110:21: note: remove 'std::move' call In file included from src/mongo/db/ops/path_support.h:39, from src/mongo/db/ops/modifier_add_to_set.cpp:35: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/ops/modifier_pop.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/ops/modifier_pop.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call In file included from src/mongo/db/ops/path_support.h:39, from src/mongo/db/ops/modifier_bit.cpp:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call In file included from src/mongo/db/ops/path_support.h:39, from src/mongo/db/ops/modifier_compare.cpp:35: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call In file included from src/mongo/db/ops/path_support.h:39, from src/mongo/db/ops/modifier_current_date.cpp:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call In file included from src/mongo/db/ops/path_support.h:39, from src/mongo/db/ops/modifier_inc.cpp:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/matcher/libexpressions_mongod_only.a Skipping ranlib for build/opt/mongo/db/matcher/libexpressions_mongod_only.a src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/ops/modifier_pull.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/ops/modifier_pull.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/ops/modifier_pull_all.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/ops/modifier_pull_all.cpp c++ -o build/opt/mongo/db/ops/modifier_push.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/ops/modifier_push.cpp c++ -o build/opt/mongo/db/ops/modifier_rename.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/ops/modifier_rename.cpp c++ -o build/opt/mongo/db/ops/modifier_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/ops/modifier_set.cpp c++ -o build/opt/mongo/db/ops/modifier_unset.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/ops/modifier_unset.cpp In file included from src/mongo/db/ops/path_support.h:39, from src/mongo/db/ops/modifier_pop.cpp:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/ops/field_checker.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/ops/field_checker.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/ops/log_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/db/ops/log_builder.cpp c++ -o build/opt/mongo/db/ops/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/ops/path_support.cpp In file included from src/mongo/db/ops/path_support.h:39, from src/mongo/db/ops/modifier_set.cpp:35: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call In file included from src/mongo/db/ops/path_support.h:39, from src/mongo/db/ops/modifier_push.cpp:41: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call In file included from src/mongo/db/ops/path_support.h:39, from src/mongo/db/ops/modifier_unset.cpp:35: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call In file included from src/mongo/db/ops/path_support.h:39, from src/mongo/db/ops/modifier_rename.cpp:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/ops/modifier_pull.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call In file included from src/mongo/db/ops/path_support.h:39, from src/mongo/db/ops/modifier_pull_all.cpp:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/ops/modifier_table.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/ops/modifier_table.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/ops/modifier_pull.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:585:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call In file included from src/mongo/db/ops/path_support.h:39, from src/mongo/db/ops/path_support.cpp:29: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/ops/update_driver.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/ops/update_driver.cpp c++ -o build/opt/mongo/db/ops/delete.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/ops/delete.cpp c++ -o build/opt/mongo/db/ops/insert.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/ops/insert.cpp c++ -o build/opt/mongo/db/ops/parsed_delete.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/ops/parsed_delete.cpp c++ -o build/opt/mongo/db/ops/parsed_update.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/ops/parsed_update.cpp Generating placeholder library build/opt/mongo/db/ops/libupdate.a Skipping ranlib for build/opt/mongo/db/ops/libupdate.a c++ -o build/opt/mongo/db/ops/update.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/ops/update.cpp Generating placeholder library build/opt/mongo/db/ops/libupdate_common.a Skipping ranlib for build/opt/mongo/db/ops/libupdate_common.a c++ -o build/opt/mongo/db/ops/update_lifecycle_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/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/ops/update_lifecycle_impl.cpp c++ -o build/opt/mongo/db/ops/update_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/db/ops/update_result.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/ops/update_driver.h:41, from src/mongo/db/ops/update_driver.cpp:29: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call 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/ops/delete.h:34, from src/mongo/db/ops/delete.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/ops/update_driver.h:41, from src/mongo/db/ops/update_driver.cpp:29: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/ops/delete.h:34, from src/mongo/db/ops/delete.cpp:31: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call 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/ops/parsed_delete.h:33, from src/mongo/db/ops/parsed_delete.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:158:25: note: remove 'std::move' call 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/ops/update_driver.h:41, from src/mongo/db/ops/parsed_update.h:33, from src/mongo/db/ops/parsed_update.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call 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/ops/update_lifecycle_impl.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/ops/parsed_delete.h:33, from src/mongo/db/ops/parsed_delete.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/ops/update_driver.h:41, from src/mongo/db/ops/parsed_update.h:33, from src/mongo/db/ops/parsed_update.cpp:31: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:105:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call 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/curop.h:35, from src/mongo/db/ops/update.h:33, from src/mongo/db/ops/update.cpp:35: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, 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/ops/update_lifecycle_impl.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:129:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:153:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/curop.h:35, from src/mongo/db/ops/update.h:33, from src/mongo/db/ops/update.cpp:35: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/ops/write_ops_exec.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/ops/write_ops_exec.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/curop.h:35, from src/mongo/db/ops/update_result.h:31, from src/mongo/db/ops/update_result.cpp:35: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/curop.h:35, from src/mongo/db/ops/update_result.h:31, from src/mongo/db/ops/update_result.cpp:35: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/ops/libupdate_driver.a Skipping ranlib for build/opt/mongo/db/ops/libupdate_driver.a c++ -o build/opt/mongo/db/ops/write_ops_parsers.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/ops/write_ops_parsers.cpp c++ -o build/opt/mongo/db/pipeline/accumulation_statement.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/pipeline/accumulation_statement.cpp c++ -o build/opt/mongo/db/pipeline/accumulator_add_to_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/pipeline/accumulator_add_to_set.cpp c++ -o build/opt/mongo/db/pipeline/accumulator_avg.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/pipeline/accumulator_avg.cpp c++ -o build/opt/mongo/db/pipeline/accumulator_first.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/pipeline/accumulator_first.cpp c++ -o build/opt/mongo/db/pipeline/accumulator_last.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/pipeline/accumulator_last.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulation_statement.h:34, from src/mongo/db/pipeline/accumulation_statement.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulation_statement.h:34, from src/mongo/db/pipeline/accumulation_statement.cpp:33: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ 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/ops/write_ops_exec.cpp:38: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/pipeline/accumulator_min_max.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/pipeline/accumulator_min_max.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/ops/write_ops_exec.cpp:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulator_add_to_set.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulator_add_to_set.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulator_avg.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulator_avg.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulator_first.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulator_first.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulator_last.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulator_last.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ Generating placeholder library build/opt/mongo/db/ops/libwrite_ops_parsers.a Skipping ranlib for build/opt/mongo/db/ops/libwrite_ops_parsers.a c++ -o build/opt/mongo/db/pipeline/accumulator_push.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/pipeline/accumulator_push.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulator_min_max.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ c++ -o build/opt/mongo/db/pipeline/accumulator_std_dev.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/pipeline/accumulator_std_dev.cpp In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulator_min_max.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ 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/third_party/boost-1.60.0/boost/date_time/date_facet.hpp:17, from src/third_party/boost-1.60.0/boost/date_time/gregorian/gregorian_io.hpp:16, from src/third_party/boost-1.60.0/boost/date_time/gregorian/gregorian.hpp:31, from src/third_party/boost-1.60.0/boost/date_time/posix_time/time_formatters.hpp:12, from src/third_party/boost-1.60.0/boost/date_time/posix_time/posix_time.hpp:24, from src/mongo/db/stats/top.h:32, from src/mongo/db/ops/write_ops_exec.cpp:65: 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/mongo/db/pipeline/accumulator_sum.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/pipeline/accumulator_sum.cpp Generating placeholder library build/opt/mongo/db/pipeline/libaggregation.a Skipping ranlib for build/opt/mongo/db/pipeline/libaggregation.a c++ -o build/opt/mongo/db/pipeline/aggregation_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/pipeline/aggregation_request.cpp c++ -o build/opt/mongo/db/pipeline/dependencies.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/pipeline/dependencies.cpp c++ -o build/opt/mongo/db/pipeline/document_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/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulator_push.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulator_push.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulator_sum.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulator_sum.cpp:34: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulator_std_dev.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulator_std_dev.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ c++ -o build/opt/mongo/db/pipeline/document_source_add_fields.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/pipeline/document_source_add_fields.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/dependencies.cpp:32: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/dependencies.cpp:32: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ 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/pipeline/aggregation_request.cpp:39: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/pipeline/aggregation_request.cpp:39: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ c++ -o build/opt/mongo/db/pipeline/document_source_bucket.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/pipeline/document_source_bucket.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/aggregation_request.cpp:40: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/aggregation_request.cpp:40: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ c++ -o build/opt/mongo/db/pipeline/document_source_bucket_auto.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/pipeline/document_source_bucket_auto.cpp Generating placeholder library build/opt/mongo/db/pipeline/libdependencies.a Skipping ranlib for build/opt/mongo/db/pipeline/libdependencies.a c++ -o build/opt/mongo/db/pipeline/document_source_coll_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/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_coll_stats.cpp In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/matcher/matcher.h:38, from src/mongo/db/pipeline/document_source_match.h:35, from src/mongo/db/pipeline/document_source.cpp:34: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_single_document_transformation.h:31, from src/mongo/db/pipeline/document_source_add_fields.h:31, from src/mongo/db/pipeline/document_source_add_fields.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_single_document_transformation.h:31, from src/mongo/db/pipeline/document_source_add_fields.h:31, from src/mongo/db/pipeline/document_source_add_fields.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/ops/libwrite_ops.a Skipping ranlib for build/opt/mongo/db/ops/libwrite_ops.a src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:607:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/pipeline/document_source_count.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/pipeline/document_source_count.cpp In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/matcher/matcher.h:38, from src/mongo/db/pipeline/document_source_match.h:35, from src/mongo/db/pipeline/document_source.cpp:34: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/pipeline/libaccumulator.a Skipping ranlib for build/opt/mongo/db/pipeline/libaccumulator.a c++ -o build/opt/mongo/db/pipeline/document_source_geo_near.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/pipeline/document_source_geo_near.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_bucket.h:31, from src/mongo/db/pipeline/document_source_bucket.cpp:29: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_bucket.h:31, from src/mongo/db/pipeline/document_source_bucket.cpp:29: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ Generating placeholder library build/opt/mongo/db/pipeline/libaggregation_request.a Skipping ranlib for build/opt/mongo/db/pipeline/libaggregation_request.a c++ -o build/opt/mongo/db/pipeline/document_source_group.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/pipeline/document_source_group.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_coll_stats.h:31, from src/mongo/db/pipeline/document_source_coll_stats.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_coll_stats.h:31, from src/mongo/db/pipeline/document_source_coll_stats.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulation_statement.h:34, from src/mongo/db/pipeline/document_source_bucket_auto.h:31, from src/mongo/db/pipeline/document_source_bucket_auto.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulation_statement.h:34, from src/mongo/db/pipeline/document_source_bucket_auto.h:31, from src/mongo/db/pipeline/document_source_bucket_auto.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_count.h:31, from src/mongo/db/pipeline/document_source_count.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_count.h:31, from src/mongo/db/pipeline/document_source_count.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_geo_near.h:31, from src/mongo/db/pipeline/document_source_geo_near.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_geo_near.h:31, from src/mongo/db/pipeline/document_source_geo_near.cpp:33: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ c++ -o build/opt/mongo/db/pipeline/document_source_index_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/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_index_stats.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/third_party/boost-1.60.0/boost/date_time/date_facet.hpp:17, from src/third_party/boost-1.60.0/boost/date_time/gregorian/gregorian_io.hpp:16, from src/third_party/boost-1.60.0/boost/date_time/gregorian/gregorian.hpp:31, from src/third_party/boost-1.60.0/boost/date_time/posix_time/time_formatters.hpp:12, from src/third_party/boost-1.60.0/boost/date_time/posix_time/posix_time.hpp:24, from src/mongo/db/stats/top.h:32, from src/mongo/db/pipeline/document_source_coll_stats.cpp:35: 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/mongo/db/pipeline/document_source_limit.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/pipeline/document_source_limit.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/stats/top.h:34, from src/mongo/db/pipeline/document_source_coll_stats.cpp:35: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call 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/db/pipeline/document_source_group.cpp:31: src/third_party/boost-1.60.0/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call 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/db/sorter/sorter.cpp:50, from src/mongo/db/pipeline/document_source_bucket_auto.cpp:518: 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/stats/top.h:34, from src/mongo/db/pipeline/document_source_coll_stats.cpp:35: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/pipeline/document_source_match.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/pipeline/document_source_match.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulation_statement.h:34, from src/mongo/db/pipeline/document_source_group.cpp:34: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/accumulator.h:39, from src/mongo/db/pipeline/accumulation_statement.h:34, from src/mongo/db/pipeline/document_source_group.cpp:34: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ c++ -o build/opt/mongo/db/pipeline/document_source_merge_cursors.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/pipeline/document_source_merge_cursors.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_limit.h:31, from src/mongo/db/pipeline/document_source_limit.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_index_stats.h:32, from src/mongo/db/pipeline/document_source_index_stats.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_limit.h:31, from src/mongo/db/pipeline/document_source_limit.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_index_stats.h:32, from src/mongo/db/pipeline/document_source_index_stats.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ c++ -o build/opt/mongo/db/pipeline/document_source_mock.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/pipeline/document_source_mock.cpp src/mongo/db/pipeline/document_source_group.cpp: In member function 'mongo::DocumentSource::GetNextResult mongo::DocumentSourceGroup::getNextStandard()': src/mongo/db/pipeline/document_source_group.cpp:147:21: warning: redundant move in return statement [-Wredundant-move] 147 | return std::move(out); | ~~~~~~~~~^~~~~ src/mongo/db/pipeline/document_source_group.cpp:147:21: note: remove 'std::move' call src/mongo/db/pipeline/document_source_group.cpp: In member function 'mongo::DocumentSource::GetNextResult mongo::DocumentSourceGroup::getNextStreaming()': src/mongo/db/pipeline/document_source_group.cpp:190:21: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(out); | ~~~~~~~~~^~~~~ src/mongo/db/pipeline/document_source_group.cpp:190:21: note: remove 'std::move' call c++ -o build/opt/mongo/db/pipeline/document_source_out.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/pipeline/document_source_out.cpp In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/matcher/matcher.h:38, from src/mongo/db/pipeline/document_source_match.h:35, from src/mongo/db/pipeline/document_source_match.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_mock.h:33, from src/mongo/db/pipeline/document_source_mock.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_mock.h:33, from src/mongo/db/pipeline/document_source_mock.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, from src/mongo/db/matcher/matcher.h:38, from src/mongo/db/pipeline/document_source_match.h:35, from src/mongo/db/pipeline/document_source_match.cpp:31: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/pipeline/document_source_project.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/pipeline/document_source_project.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_match.h:36, from src/mongo/db/pipeline/document_source_match.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_match.h:36, from src/mongo/db/pipeline/document_source_match.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ c++ -o build/opt/mongo/db/pipeline/document_source_redact.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/pipeline/document_source_redact.cpp In file included from src/mongo/db/pipeline/document_source_match.cpp:35: src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:84:25: warning: redundant move in return statement [-Wredundant-move] 84 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:84:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:124:25: warning: redundant move in return statement [-Wredundant-move] 124 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:124:25: note: remove 'std::move' call src/mongo/db/matcher/expression_array.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_array.h:160:25: warning: redundant move in return statement [-Wredundant-move] 160 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_array.h:160:25: note: remove 'std::move' call 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/pipeline/document_source_merge_cursors.h:32, from src/mongo/db/pipeline/document_source_merge_cursors.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/pipeline/document_source_merge_cursors.h:32, from src/mongo/db/pipeline/document_source_merge_cursors.cpp:31: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/pipeline/document_source_replace_root.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/pipeline/document_source_replace_root.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_out.h:31, from src/mongo/db/pipeline/document_source_out.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_out.h:31, from src/mongo/db/pipeline/document_source_out.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_single_document_transformation.h:31, from src/mongo/db/pipeline/document_source_project.h:31, from src/mongo/db/pipeline/document_source_project.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_single_document_transformation.h:31, from src/mongo/db/pipeline/document_source_project.h:31, from src/mongo/db/pipeline/document_source_project.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_merge_cursors.h:34, from src/mongo/db/pipeline/document_source_merge_cursors.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_merge_cursors.h:34, from src/mongo/db/pipeline/document_source_merge_cursors.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_redact.h:32, from src/mongo/db/pipeline/document_source_redact.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_redact.h:32, from src/mongo/db/pipeline/document_source_redact.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/db/pipeline/document_source_merge_cursors.cpp: In member function 'virtual mongo::DocumentSource::GetNextResult mongo::DocumentSourceMergeCursors::getNext()': src/mongo/db/pipeline/document_source_merge_cursors.cpp:173:21: warning: redundant move in return statement [-Wredundant-move] 173 | return std::move(next); | ~~~~~~~~~^~~~~~ src/mongo/db/pipeline/document_source_merge_cursors.cpp:173:21: note: remove 'std::move' call c++ -o build/opt/mongo/db/pipeline/document_source_sample.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/pipeline/document_source_sample.cpp In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/matcher/matcher.h:38, from src/mongo/db/pipeline/document_source_match.h:35, from src/mongo/db/pipeline/document_source_redact.cpp:37: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:214:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_single_document_transformation.h:31, from src/mongo/db/pipeline/document_source_replace_root.h:31, from src/mongo/db/pipeline/document_source_replace_root.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_single_document_transformation.h:31, from src/mongo/db/pipeline/document_source_replace_root.h:31, from src/mongo/db/pipeline/document_source_replace_root.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, from src/mongo/db/matcher/matcher.h:38, from src/mongo/db/pipeline/document_source_match.h:35, from src/mongo/db/pipeline/document_source_redact.cpp:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_sample.h:31, from src/mongo/db/pipeline/document_source_sample.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_sample.h:31, from src/mongo/db/pipeline/document_source_sample.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ c++ -o build/opt/mongo/db/pipeline/document_source_sample_from_random_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/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_sample_from_random_cursor.cpp c++ -o build/opt/mongo/db/pipeline/document_source_single_document_transformation.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/pipeline/document_source_single_document_transformation.cpp c++ -o build/opt/mongo/db/pipeline/document_source_skip.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/pipeline/document_source_skip.cpp c++ -o build/opt/mongo/db/pipeline/document_source_sort.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/pipeline/document_source_sort.cpp c++ -o build/opt/mongo/db/pipeline/document_source_sort_by_count.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/pipeline/document_source_sort_by_count.cpp c++ -o build/opt/mongo/db/pipeline/document_source_unwind.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/pipeline/document_source_unwind.cpp c++ -o build/opt/mongo/db/pipeline/lite_parsed_document_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/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/db/pipeline/lite_parsed_document_source.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_skip.h:31, from src/mongo/db/pipeline/document_source_skip.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_skip.h:31, from src/mongo/db/pipeline/document_source_skip.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ c++ -o build/opt/mongo/db/pipeline/document_source_facet.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/pipeline/document_source_facet.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_sort_by_count.h:31, from src/mongo/db/pipeline/document_source_sort_by_count.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_sort_by_count.h:31, from src/mongo/db/pipeline/document_source_sort_by_count.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_single_document_transformation.h:31, from src/mongo/db/pipeline/document_source_single_document_transformation.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_single_document_transformation.h:31, from src/mongo/db/pipeline/document_source_single_document_transformation.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_sample_from_random_cursor.h:31, from src/mongo/db/pipeline/document_source_sample_from_random_cursor.cpp:33: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_sample_from_random_cursor.h:31, from src/mongo/db/pipeline/document_source_sample_from_random_cursor.cpp:33: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_sort.h:31, from src/mongo/db/pipeline/document_source_sort.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_sort.h:31, from src/mongo/db/pipeline/document_source_sort.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ 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/mpl/apply.hpp:24, from src/third_party/boost-1.60.0/boost/mpl/aux_/iter_apply.hpp:17, from src/third_party/boost-1.60.0/boost/mpl/aux_/find_if_pred.hpp:14, from src/third_party/boost-1.60.0/boost/mpl/find_if.hpp:17, from src/third_party/boost-1.60.0/boost/mpl/find.hpp:17, from src/third_party/boost-1.60.0/boost/mpl/aux_/contains_impl.hpp:20, from src/third_party/boost-1.60.0/boost/mpl/contains.hpp:20, from src/third_party/boost-1.60.0/boost/math/policies/policy.hpp:10, from src/third_party/boost-1.60.0/boost/math/special_functions/math_fwd.hpp:28, from src/third_party/boost-1.60.0/boost/math/special_functions/beta.hpp:13, from src/third_party/boost-1.60.0/boost/math/distributions/beta.hpp:28, from src/mongo/db/pipeline/document_source_sample_from_random_cursor.cpp:35: 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ c++ -o build/opt/mongo/db/pipeline/tee_buffer.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/pipeline/tee_buffer.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_unwind.h:31, from src/mongo/db/pipeline/document_source_unwind.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_unwind.h:31, from src/mongo/db/pipeline/document_source_unwind.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_facet.h:36, from src/mongo/db/pipeline/document_source_facet.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_facet.h:36, from src/mongo/db/pipeline/document_source_facet.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ c++ -o build/opt/mongo/db/pipeline/document_source_tee_consumer.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/pipeline/document_source_tee_consumer.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/pipeline/document_source_merge_cursors.h:32, from src/mongo/db/pipeline/document_source_sort.cpp:35: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/pipeline/document_source_merge_cursors.h:32, from src/mongo/db/pipeline/document_source_sort.cpp:35: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/pipeline/document_source_graph_lookup.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/pipeline/document_source_graph_lookup.cpp c++ -o build/opt/mongo/db/pipeline/document_source_lookup.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/pipeline/document_source_lookup.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/tee_buffer.h:35, from src/mongo/db/pipeline/tee_buffer.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/tee_buffer.h:35, from src/mongo/db/pipeline/tee_buffer.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ 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/db/sorter/sorter.cpp:50, from src/mongo/db/pipeline/document_source_sort.cpp:401: 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_tee_consumer.h:34, from src/mongo/db/pipeline/document_source_tee_consumer.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_tee_consumer.h:34, from src/mongo/db/pipeline/document_source_tee_consumer.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ c++ -o build/opt/mongo/db/pipeline/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/db/pipeline/document.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_lookup.h:31, from src/mongo/db/pipeline/document_source_lookup.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_graph_lookup.h:31, from src/mongo/db/pipeline/document_source_graph_lookup.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ c++ -o build/opt/mongo/db/pipeline/document_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/db/pipeline/document_comparator.cpp In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_lookup.h:31, from src/mongo/db/pipeline/document_source_lookup.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_graph_lookup.h:31, from src/mongo/db/pipeline/document_source_graph_lookup.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ c++ -o build/opt/mongo/db/pipeline/document_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/pipeline/document_path_support.cpp In file included from src/third_party/boost-1.60.0/boost/mpl/aux_/push_front_impl.hpp:18, from src/third_party/boost-1.60.0/boost/mpl/push_front.hpp:18, from src/third_party/boost-1.60.0/boost/multi_index/hashed_index.hpp:27, from src/mongo/db/pipeline/lookup_set_cache.h:33, from src/mongo/db/pipeline/document_source_graph_lookup.h:34, from src/mongo/db/pipeline/document_source_graph_lookup.cpp:31: 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/matcher/matcher.h:38, from src/mongo/db/pipeline/document_source_match.h:35, from src/mongo/db/pipeline/document_source_lookup.h:32, from src/mongo/db/pipeline/document_source_lookup.cpp:31: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, from src/mongo/db/matcher/matcher.h:38, from src/mongo/db/pipeline/document_source_match.h:35, from src/mongo/db/pipeline/document_source_lookup.h:32, from src/mongo/db/pipeline/document_source_lookup.cpp:31: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_disallow_extensions.h:31, from src/mongo/db/pipeline/document_source_graph_lookup.cpp:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:200:25: note: remove 'std::move' call In file included from src/third_party/boost-1.60.0/boost/mpl/aux_/push_front_impl.hpp:18, from src/third_party/boost-1.60.0/boost/mpl/push_front.hpp:18, from src/third_party/boost-1.60.0/boost/multi_index/hashed_index.hpp:27, from src/mongo/db/pipeline/lookup_set_cache.h:33, from src/mongo/db/pipeline/document_source_lookup.h:35, from src/mongo/db/pipeline/document_source_lookup.cpp:31: 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:318:25: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/pipeline/libdocument_source_facet.a Skipping ranlib for build/opt/mongo/db/pipeline/libdocument_source_facet.a src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/pipeline/value.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/pipeline/value.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/query_planner_common.h:33, from src/mongo/db/pipeline/document_source_graph_lookup.cpp:41: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/pipeline/value_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/db/pipeline/value_comparator.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_path_support.h:33, from src/mongo/db/pipeline/document_path_support.cpp:35: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_path_support.h:33, from src/mongo/db/pipeline/document_path_support.cpp:35: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/db/pipeline/document_source_graph_lookup.cpp: In static member function 'static boost::intrusive_ptr<mongo::DocumentSource> mongo::DocumentSourceGraphLookUp::createFromBson(mongo::BSONElement, const boost::intrusive_ptr<mongo::ExpressionContext>&)': src/mongo/db/pipeline/document_source_graph_lookup.cpp:642:21: warning: redundant move in return statement [-Wredundant-move] 642 | return std::move(newSource); | ~~~~~~~~~^~~~~~~~~~~ src/mongo/db/pipeline/document_source_graph_lookup.cpp:642:21: note: remove 'std::move' call In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/document_comparator.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/document_comparator.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ c++ -o build/opt/mongo/db/pipeline/expression.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/pipeline/expression.cpp c++ -o build/opt/mongo/db/pipeline/expression_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/pipeline/expression_context.cpp c++ -o build/opt/mongo/db/pipeline/field_path.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/pipeline/field_path.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/value_comparator.h:35, from src/mongo/db/pipeline/value_comparator.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/value.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/value.cpp:43: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ c++ -o build/opt/mongo/db/pipeline/granularity_rounder.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/pipeline/granularity_rounder.cpp Generating placeholder library build/opt/mongo/db/pipeline/libfield_path.a Skipping ranlib for build/opt/mongo/db/pipeline/libfield_path.a c++ -o build/opt/mongo/db/pipeline/granularity_rounder_powers_of_two.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/pipeline/granularity_rounder_powers_of_two.cpp Generating placeholder library build/opt/mongo/db/pipeline/libdocument_source.a Skipping ranlib for build/opt/mongo/db/pipeline/libdocument_source.a c++ -o build/opt/mongo/db/pipeline/granularity_rounder_preferred_numbers.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/pipeline/granularity_rounder_preferred_numbers.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:40, from src/mongo/db/pipeline/expression_context.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:40, from src/mongo/db/pipeline/expression_context.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/expression.cpp:32: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/expression.cpp:32: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ c++ -o build/opt/mongo/db/pipeline/parsed_aggregation_projection.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/pipeline/parsed_aggregation_projection.cpp Generating placeholder library build/opt/mongo/db/pipeline/libdocument_value.a Skipping ranlib for build/opt/mongo/db/pipeline/libdocument_value.a c++ -o build/opt/mongo/db/pipeline/parsed_exclusion_projection.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/pipeline/parsed_exclusion_projection.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:40, from src/mongo/db/pipeline/granularity_rounder.h:35, from src/mongo/db/pipeline/granularity_rounder.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ 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/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/trim.hpp:19, from src/third_party/boost-1.60.0/boost/algorithm/string.hpp:19, from src/mongo/db/pipeline/expression.cpp:35: 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ Generating placeholder library build/opt/mongo/db/pipeline/libexpression_context.a Skipping ranlib for build/opt/mongo/db/pipeline/libexpression_context.a In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:40, from src/mongo/db/pipeline/granularity_rounder.h:35, from src/mongo/db/pipeline/granularity_rounder.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ c++ -o build/opt/mongo/db/pipeline/parsed_inclusion_projection.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/pipeline/parsed_inclusion_projection.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:40, from src/mongo/db/pipeline/granularity_rounder.h:35, from src/mongo/db/pipeline/granularity_rounder_powers_of_two.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:40, from src/mongo/db/pipeline/granularity_rounder.h:35, from src/mongo/db/pipeline/granularity_rounder_powers_of_two.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ src/mongo/db/pipeline/expression.cpp: In static member function 'static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionZip::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&)': src/mongo/db/pipeline/expression.cpp:4205:21: warning: redundant move in return statement [-Wredundant-move] 4205 | return std::move(newZip); | ~~~~~~~~~^~~~~~~~ src/mongo/db/pipeline/expression.cpp:4205:21: note: remove 'std::move' call Generating placeholder library build/opt/mongo/db/pipeline/libdocument_source_lookup.a Skipping ranlib for build/opt/mongo/db/pipeline/libdocument_source_lookup.a In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:40, from src/mongo/db/pipeline/granularity_rounder.h:35, from src/mongo/db/pipeline/granularity_rounder_preferred_numbers.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/document_comparator.h:32, from src/mongo/db/pipeline/expression_context.h:40, from src/mongo/db/pipeline/granularity_rounder.h:35, from src/mongo/db/pipeline/granularity_rounder_preferred_numbers.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ c++ -o build/opt/mongo/db/pipeline/parsed_add_fields.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/pipeline/parsed_add_fields.cpp c++ -o build/opt/mongo/db/pipeline/pipeline.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/pipeline/pipeline.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_single_document_transformation.h:31, from src/mongo/db/pipeline/parsed_aggregation_projection.h:37, from src/mongo/db/pipeline/parsed_aggregation_projection.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_single_document_transformation.h:31, from src/mongo/db/pipeline/parsed_aggregation_projection.h:37, from src/mongo/db/pipeline/parsed_aggregation_projection.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/parsed_inclusion_projection.h:33, from src/mongo/db/pipeline/parsed_inclusion_projection.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/parsed_inclusion_projection.h:33, from src/mongo/db/pipeline/parsed_inclusion_projection.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_single_document_transformation.h:31, from src/mongo/db/pipeline/parsed_aggregation_projection.h:37, from src/mongo/db/pipeline/parsed_exclusion_projection.h:34, from src/mongo/db/pipeline/parsed_exclusion_projection.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_single_document_transformation.h:31, from src/mongo/db/pipeline/parsed_aggregation_projection.h:37, from src/mongo/db/pipeline/parsed_exclusion_projection.h:34, from src/mongo/db/pipeline/parsed_exclusion_projection.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ c++ -o build/opt/mongo/db/pipeline/document_source_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/db/pipeline/document_source_cursor.cpp Generating placeholder library build/opt/mongo/db/pipeline/libgranularity_rounder.a Skipping ranlib for build/opt/mongo/db/pipeline/libgranularity_rounder.a c++ -o build/opt/mongo/db/pipeline/pipeline_d.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/pipeline/pipeline_d.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/parsed_add_fields.h:33, from src/mongo/db/pipeline/parsed_add_fields.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/expression.h:39, from src/mongo/db/pipeline/parsed_add_fields.h:33, from src/mongo/db/pipeline/parsed_add_fields.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/pipeline.h:37, from src/mongo/db/pipeline/pipeline.cpp:32: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/pipeline.h:37, from src/mongo/db/pipeline/pipeline.cpp:32: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_cursor.h:34, from src/mongo/db/pipeline/document_source_cursor.cpp:31: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/document_source_cursor.h:34, from src/mongo/db/pipeline/document_source_cursor.cpp:31: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/db/matcher/expression_parser.h:36, from src/mongo/db/matcher/matcher.h:38, from src/mongo/db/pipeline/document_source_match.h:35, from src/mongo/db/pipeline/pipeline.cpp:44: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/query/collation/collator_factory_mock.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_mock.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:449:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/query/collation/collator_factory_icu.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_icu.cpp src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:596:25: note: remove 'std::move' call 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/pipeline/document_source_cursor.cpp:33: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, from src/mongo/db/matcher/matcher.h:38, from src/mongo/db/pipeline/document_source_match.h:35, from src/mongo/db/pipeline/pipeline.cpp:44: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/pipeline/document_source_cursor.cpp:33: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call c++ -o build/opt/mongo/db/query/collation/collator_interface_icu.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_icu.cpp Generating placeholder library build/opt/mongo/db/pipeline/libparsed_aggregation_projection.a Skipping ranlib for build/opt/mongo/db/pipeline/libparsed_aggregation_projection.a c++ -o build/opt/mongo/db/query/collation/icu_init_stub.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/icu_init_stub.cpp In file included from /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/uset.h:36, from /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/unorm2.h:35, from /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/unorm.h:25, from /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/ucol.h:17, from /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/coll.h:62, from src/mongo/db/query/collation/collator_factory_icu.cpp:33: /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/localpointer.h:561:26: error: parameter declared 'auto' 561 | template <typename Type, auto closeFunction> | ^~~~ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/localpointer.h:573:76: error: template argument 2 is invalid 573 | explicit LocalOpenPointer(std::unique_ptr<Type, decltype(closeFunction)> &&p) | ^ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/localpointer.h:583:78: error: template argument 2 is invalid 583 | LocalOpenPointer &operator=(std::unique_ptr<Type, decltype(closeFunction)> &&p) { | ^ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/localpointer.h:599:59: error: template argument 2 is invalid 599 | operator std::unique_ptr<Type, decltype(closeFunction)> () && { | ^ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/localpointer.h:551:81: note: invalid template non-type parameter 551 | using LocalPointerClassName = internal::LocalOpenPointer<Type, closeFunction> | ^ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/uset.h:358:1: note: in expansion of macro 'U_DEFINE_LOCAL_OPEN_POINTER' 358 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUSetPointer, USet, uset_close); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/localpointer.h:551:81: note: invalid template non-type parameter 551 | using LocalPointerClassName = internal::LocalOpenPointer<Type, closeFunction> | ^ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/unorm2.h:286:1: note: in expansion of macro 'U_DEFINE_LOCAL_OPEN_POINTER' 286 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUNormalizer2Pointer, UNormalizer2, unorm2_close); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/localpointer.h:551:81: note: invalid template non-type parameter 551 | using LocalPointerClassName = internal::LocalOpenPointer<Type, closeFunction> | ^ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/uenum.h:69:1: note: in expansion of macro 'U_DEFINE_LOCAL_OPEN_POINTER' 69 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, uenum_close); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/localpointer.h:551:81: note: invalid template non-type parameter 551 | using LocalPointerClassName = internal::LocalOpenPointer<Type, closeFunction> | ^ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/ucol.h:553:1: note: in expansion of macro 'U_DEFINE_LOCAL_OPEN_POINTER' 553 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUCollatorPointer, UCollator, ucol_close); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/unistr.h:39, from /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/strenum.h:20, from /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/locid.h:40, from /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/coll.h:64, from src/mongo/db/query/collation/collator_factory_icu.cpp:33: /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/stringpiece.h:133:29: error: 'enable_if_t' in namespace 'std' does not name a template type 133 | typename = std::enable_if_t< | ^~~~~~~~~~~ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/stringpiece.h:133:24: note: 'std::enable_if_t' is only available from C++14 onwards 133 | typename = std::enable_if_t< | ^~~ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/stringpiece.h:133:40: error: expected '>' before '<' token 133 | typename = std::enable_if_t< | ^ Generating placeholder library build/opt/mongo/db/query/collation/libcollator_factory_mock.a Skipping ranlib for build/opt/mongo/db/query/collation/libcollator_factory_mock.a c++ -o build/opt/mongo/db/query/collation/collator_interface_mock.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_mock.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/catalog/collection_info_cache.h:34, from src/mongo/db/catalog/collection.h:42, from src/mongo/db/pipeline/pipeline_d.cpp:37: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:158:25: warning: redundant move in return statement [-Wredundant-move] 158 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:172:25: warning: redundant move in return statement [-Wredundant-move] 172 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:172:25: note: remove 'std::move' call src/mongo/db/pipeline/document_source_cursor.cpp: In member function 'virtual mongo::DocumentSource::GetNextResult mongo::DocumentSourceCursor::getNext()': src/mongo/db/pipeline/document_source_cursor.cpp:66:21: warning: redundant move in return statement [-Wredundant-move] 66 | return std::move(out); | ~~~~~~~~~^~~~~ src/mongo/db/pipeline/document_source_cursor.cpp:66:21: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:186:25: warning: redundant move in return statement [-Wredundant-move] 186 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:200:25: warning: redundant move in return statement [-Wredundant-move] 200 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] 214 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:283:25: warning: redundant move in return statement [-Wredundant-move] 283 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:283:25: note: remove 'std::move' call scons: *** [build/opt/mongo/db/query/collation/collator_factory_icu.o] Error 1 src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:318:25: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::TypeMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:449:25: warning: redundant move in return statement [-Wredundant-move] 449 | return std::move(e); | ~~~~~~~~~^~~ 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::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move] 574 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:585:25: warning: redundant move in return statement [-Wredundant-move] 585 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:596:25: warning: redundant move in return statement [-Wredundant-move] 596 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:607:25: warning: redundant move in return statement [-Wredundant-move] 607 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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, 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/pipeline/pipeline_d.cpp:37: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:105:25: warning: redundant move in return statement [-Wredundant-move] 105 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:129:25: warning: redundant move in return statement [-Wredundant-move] 129 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:153:25: warning: redundant move in return statement [-Wredundant-move] 153 | return std::move(self); | ~~~~~~~~~^~~~~~ 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::MatchExpression> mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:179:25: warning: redundant move in return statement [-Wredundant-move] 179 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:179:25: note: remove 'std::move' call In file included from /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/uset.h:36, from /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/unorm2.h:35, from /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/unorm.h:25, from /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/ucol.h:17, from /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/coll.h:62, from src/mongo/db/query/collation/collator_interface_icu.h:35, from src/mongo/db/query/collation/collator_interface_icu.cpp:31: /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/localpointer.h:561:26: error: parameter declared 'auto' 561 | template <typename Type, auto closeFunction> | ^~~~ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/localpointer.h:573:76: error: template argument 2 is invalid 573 | explicit LocalOpenPointer(std::unique_ptr<Type, decltype(closeFunction)> &&p) | ^ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/localpointer.h:583:78: error: template argument 2 is invalid 583 | LocalOpenPointer &operator=(std::unique_ptr<Type, decltype(closeFunction)> &&p) { | ^ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/localpointer.h:599:59: error: template argument 2 is invalid 599 | operator std::unique_ptr<Type, decltype(closeFunction)> () && { | ^ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/localpointer.h:551:81: note: invalid template non-type parameter 551 | using LocalPointerClassName = internal::LocalOpenPointer<Type, closeFunction> | ^ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/uset.h:358:1: note: in expansion of macro 'U_DEFINE_LOCAL_OPEN_POINTER' 358 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUSetPointer, USet, uset_close); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/localpointer.h:551:81: note: invalid template non-type parameter 551 | using LocalPointerClassName = internal::LocalOpenPointer<Type, closeFunction> | ^ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/unorm2.h:286:1: note: in expansion of macro 'U_DEFINE_LOCAL_OPEN_POINTER' 286 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUNormalizer2Pointer, UNormalizer2, unorm2_close); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/localpointer.h:551:81: note: invalid template non-type parameter 551 | using LocalPointerClassName = internal::LocalOpenPointer<Type, closeFunction> | ^ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/uenum.h:69:1: note: in expansion of macro 'U_DEFINE_LOCAL_OPEN_POINTER' 69 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, uenum_close); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/localpointer.h:551:81: note: invalid template non-type parameter 551 | using LocalPointerClassName = internal::LocalOpenPointer<Type, closeFunction> | ^ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/ucol.h:553:1: note: in expansion of macro 'U_DEFINE_LOCAL_OPEN_POINTER' 553 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUCollatorPointer, UCollator, ucol_close); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/unistr.h:39, from /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/strenum.h:20, from /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/locid.h:40, from /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/coll.h:64, from src/mongo/db/query/collation/collator_interface_icu.h:35, from src/mongo/db/query/collation/collator_interface_icu.cpp:31: /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/stringpiece.h:133:29: error: 'enable_if_t' in namespace 'std' does not name a template type 133 | typename = std::enable_if_t< | ^~~~~~~~~~~ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/stringpiece.h:133:24: note: 'std::enable_if_t' is only available from C++14 onwards 133 | typename = std::enable_if_t< | ^~~ /pbulk/work/databases/mongodb3/work/.buildlink/include/unicode/stringpiece.h:133:40: error: expected '>' before '<' token 133 | typename = std::enable_if_t< | ^ scons: *** [build/opt/mongo/db/query/collation/collator_interface_icu.o] Error 1 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/pipeline_d.cpp:52: src/mongo/db/pipeline/value_internal.h: In copy constructor 'mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:167:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 167 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In constructor 'mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:172:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 172 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In destructor 'mongo::ValueStorage::~ValueStorage()': src/mongo/db/pipeline/value_internal.h:180:45: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment [-Wclass-memaccess] 180 | DEV memset(this, 0xee, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:195:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 195 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:204:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 204 | memmove(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:213:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(this, &rhs, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 214 | memcpy(&rhs, temp, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:301:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 301 | memset(this, 0, sizeof(*this)); | ^ src/mongo/db/pipeline/value_internal.h:79:7: note: 'class mongo::ValueStorage' declared here 79 | class ValueStorage { | ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/pipeline/document_source.h:46, from src/mongo/db/pipeline/pipeline_d.cpp:52: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:334:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 334 | memset(_hashTab, -1, hashTabBytes()); | ^ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ 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/third_party/boost-1.60.0/boost/date_time/date_facet.hpp:17, from src/third_party/boost-1.60.0/boost/date_time/gregorian/gregorian_io.hpp:16, from src/third_party/boost-1.60.0/boost/date_time/gregorian/gregorian.hpp:31, from src/third_party/boost-1.60.0/boost/date_time/posix_time/time_formatters.hpp:12, from src/third_party/boost-1.60.0/boost/date_time/posix_time/posix_time.hpp:24, from src/mongo/db/stats/top.h:32, from src/mongo/db/pipeline/pipeline_d.cpp:69: 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] 188 | failed ************ (Pred::************ | ^ src/third_party/boost-1.60.0/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_<Pred>::************ | ^ src/mongo/db/pipeline/pipeline_d.cpp: In static member function 'static mongo::StatusWith<std::unique_ptr<mongo::PlanExecutor> > mongo::PipelineD::prepareExecutor(mongo::OperationContext*, mongo::Collection*, const mongo::NamespaceString&, const boost::intrusive_ptr<mongo::Pipeline>&, const boost::intrusive_ptr<mongo::ExpressionContext>&, const boost::intrusive_ptr<mongo::DocumentSourceSort>&, const mongo::DepsTracker&, const mongo::BSONObj&, mongo::BSONObj*, mongo::BSONObj*)': src/mongo/db/pipeline/pipeline_d.cpp:509:29: warning: redundant move in return statement [-Wredundant-move] 509 | return std::move(exec); | ~~~~~~~~~^~~~~~ src/mongo/db/pipeline/pipeline_d.cpp:509:29: note: remove 'std::move' call scons: building terminated because of errors. build/opt/mongo/db/query/collation/collator_factory_icu.o failed: Error 1 build/opt/mongo/db/query/collation/collator_interface_icu.o failed: Error 1 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/databases/mongodb3 *** Error code 1 Stop. make: stopped in /usr/pkgsrc/databases/mongodb3