In file included from src/third_party/boost/boost/mpl/aux_/na_assert.hpp:23,
|
from src/third_party/boost/boost/mpl/arg.hpp:25,
|
from src/third_party/boost/boost/mpl/placeholders.hpp:24,
|
from src/third_party/boost/boost/iterator/iterator_categories.hpp:17,
|
from src/third_party/boost/boost/iterator/detail/facade_iterator_category.hpp:7,
|
from src/third_party/boost/boost/iterator/iterator_facade.hpp:14,
|
from src/third_party/boost/boost/filesystem/v3/path.hpp:28,
|
from src/third_party/boost/boost/filesystem/path.hpp:31,
|
from src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp:35:
|
src/third_party/boost/boost/mpl/assert.hpp:154:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
|
154 | failed ************ (Pred::************
|
| ^
|
src/third_party/boost/boost/mpl/assert.hpp:159:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
|
159 | failed ************ (boost::mpl::not_<Pred>::************
|
| ^
|
In file included from src/third_party/boost/boost/filesystem/path.hpp:31,
|
from src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp:35:
|
src/third_party/boost/boost/filesystem/v3/path.hpp: In member function 'boost::filesystem3::path& boost::filesystem3::path::append(const Source&, const codecvt_type&)':
|
src/third_party/boost/boost/filesystem/v3/path.hpp:677:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
|
677 | if (path_traits::empty(source))
|
| ^~
|
src/third_party/boost/boost/filesystem/v3/path.hpp:679:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
|
679 | string_type::size_type sep_pos(m_append_separator_if_needed());
|
| ^~~~~~~~~~~
|
src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp: In function 'void mongo::{anonymous}::checkReadAhead(const string&)':
|
src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp:168:61: error: 'major' was not declared in this scope
|
168 | string path = str::stream() << "/sys/dev/block/" << major(dev) << ':' << minor(dev)
|
| ^~~~~
|
src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp:168:82: error: 'minor' was not declared in this scope
|
168 | string path = str::stream() << "/sys/dev/block/" << major(dev) << ':' << minor(dev)
|
| ^~~~~
|
g++ -o build/linux2/normal/mongo/db/storage/mmap_v1/mmap_v1_init.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -fno-omit-frame-pointer -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O3 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DBOOST_ALL_NO_LIB -D_SCONS -DMONGO_EXPOSE_MACROS -DPCRE_STATIC -DSUPPORT_UTF8 -DMONGO_OPTIMIZED_BUILD -DMONGO_BYTE_ORDER=1234 -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_CXX11_ATOMICS -DMONGO_HAVE_STD_IS_TRIVIALLY_COPYABLE -DBOOST_SYSTEM_NO_DEPRECATED -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DMONGO_HAVE_EXECINFO_BACKTRACE -DMONGO_ENTERPRISE_VERSION=1 -DNETSNMP_NO_INLINE -Isrc/third_party/s2 -Isrc/third_party/pcre-8.39 -Isrc/third_party/boost -Ibuild/linux2/normal -Isrc src/mongo/db/storage/mmap_v1/mmap_v1_init.cpp
|
scons: *** [build/linux2/normal/mongo/db/storage/mmap_v1/mmap_v1_engine.o] Error 1
|
scons: building terminated because of errors.
|