Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- g++ -MMD -MT build/release/gen/cql3/CqlParser.o -MF build/release/gen/cql3/CqlParser.o.d -std=gnu++1y -g -Wall -Werror -fvisibility=hidden -pthread -I/home/arch/src/scylla/seastar -I/home/arch/src/scylla/seastar/fmt -I/home/arch/src/scylla/seastar/build/release/gen -march=nehalem -Ifmt -DBOOST_TEST_DYN_LINK -Wno-overloaded-virtual -DFMT_HEADER_ONLY -DHAVE_HWLOC -DHAVE_NUMA -DHAVE_LZ4_COMPRESS_DEFAULT -O2 -DBOOST_TEST_DYN_LINK -Wno-maybe-uninitialized -DHAVE_LIBSYSTEMD=1 -I. -I build/release/gen -I seastar -I seastar/build/release/gen -c -o build/release/gen/cql3/CqlParser.o build/release/gen/cql3/CqlParser.cpp
- In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/limits.h:168:0,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/syslimits.h:7,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/limits.h:34,
- from /usr/include/c++/6.3.1/climits:42,
- from /usr/include/boost/type_traits/is_signed.hpp:16,
- from /usr/include/boost/type_traits/make_unsigned.hpp:14,
- from /usr/include/boost/range/size_type.hpp:24,
- from /usr/include/boost/range/size.hpp:21,
- from /usr/include/boost/range/functions.hpp:20,
- from /usr/include/boost/range/iterator_range_core.hpp:38,
- from /usr/include/boost/range/iterator_range.hpp:13,
- from ./schema.hh:25,
- from ./cql3/selection/selectable.hh:45,
- from ./cql3/selection/writetime_or_ttl.hh:45,
- from build/release/gen/cql3/CqlParser.hpp:63,
- from build/release/gen/cql3/CqlParser.cpp:44:
- /home/arch/src/scylla/seastar/fmt/fmt/format.h: In member function ‘void fmt::internal::ArgFormatterBase<Impl, Char>::visit_char(int)’:
- /home/arch/src/scylla/seastar/fmt/fmt/format.h:1856:20: error: expected unqualified-id before numeric constant
- const unsigned CHAR_WIDTH = 1;
- ^
- In file included from ./utils/exponential_backoff_retry.hh:25:0,
- from ./sstables/compaction_manager.hh:30,
- from ./database.hh:67,
- from ./service/storage_proxy.hh:44,
- from ./db/schema_tables.hh:43,
- from ./db/system_keyspace.hh:46,
- from ./cql3/functions/function_name.hh:45,
- from ./cql3/selection/selectable.hh:48,
- from ./cql3/selection/writetime_or_ttl.hh:45,
- from build/release/gen/cql3/CqlParser.hpp:63,
- from build/release/gen/cql3/CqlParser.cpp:44:
- /home/arch/src/scylla/seastar/core/sleep.hh: In instantiation of ‘struct sleep(std::chrono::duration<_Rep, _Period>)::sleeper::sleeper(std::chrono::duration<_Rep, _Period>) [with Clock = std::chrono::_V2::steady_clock; Rep = long int; Period = std::ratio<1l, 1000l>]::<lambda()>’:
- /home/arch/src/scylla/seastar/core/sleep.hh:46:47: required from ‘sleep(std::chrono::duration<_Rep, _Period>)::sleeper::sleeper(std::chrono::duration<_Rep, _Period>) [with Clock = std::chrono::_V2::steady_clock; Rep = long int; Period = std::ratio<1l, 1000l>]’
- /home/arch/src/scylla/seastar/core/sleep.hh:50:5: required from ‘future<> sleep(std::chrono::duration<_Rep, _Period>) [with Clock = std::chrono::_V2::steady_clock; Rep = long int; Period = std::ratio<1l, 1000l>]’
- ./utils/exponential_backoff_retry.hh:44:36: required from here
- /home/arch/src/scylla/seastar/core/sleep.hh:46:24: error: ‘sleep(std::chrono::duration<_Rep, _Period>)::sleeper::sleeper(std::chrono::duration<_Rep, _Period>) [with Clock = std::chrono::_V2::steady_clock; Rep = long int; Period = std::ratio<1l, 1000l>]::<lambda()>’ declared with greater visibility than the type of its field ‘sleep(std::chrono::duration<_Rep, _Period>)::sleeper::sleeper(std::chrono::duration<_Rep, _Period>) [with Clock = std::chrono::_V2::steady_clock; Rep = long int; Period = std::ratio<1l, 1000l>]::<lambda()>::<this capture>’ [-Werror=attributes]
- : tmr([this] { done.set_value(); })
- ^
- In file included from ./memtable.hh:33:0,
- from ./database.hh:62,
- from ./service/storage_proxy.hh:44,
- from ./db/schema_tables.hh:43,
- from ./db/system_keyspace.hh:46,
- from ./cql3/functions/function_name.hh:45,
- from ./cql3/selection/selectable.hh:48,
- from ./cql3/selection/writetime_or_ttl.hh:45,
- from build/release/gen/cql3/CqlParser.hpp:63,
- from build/release/gen/cql3/CqlParser.cpp:44:
- ./partition_version.hh: In instantiation of ‘struct partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader()::<lambda()>::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>’:
- ./partition_version.hh:492:34: required from ‘partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader()::<lambda()>::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]’
- ./partition_version.hh:490:51: required from ‘struct partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader()::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>’
- ./partition_version.hh:490:49: required from ‘partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader()::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]’
- ./partition_version.hh:489:50: required from ‘struct partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader() [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>’
- ./partition_version.hh:489:23: required from ‘partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader() [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]’
- /usr/include/c++/6.3.1/bits/unique_ptr.h:76:2: required from ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = partition_snapshot_reader<>]’
- /usr/include/c++/6.3.1/bits/unique_ptr.h:239:17: required from ‘std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = partition_snapshot_reader<>; _Dp = std::default_delete<partition_snapshot_reader<> >]’
- ./streamed_mutation.hh:480:52: required from ‘streamed_mutation make_streamed_mutation(Args&& ...) [with Impl = partition_snapshot_reader<>; Args = {lw_shared_ptr<const schema>&, dht::decorated_key, lw_shared_ptr<partition_snapshot>&, query::clustering_key_filter_ranges, logalloc::region&, logalloc::allocating_section&, boost::any}]’
- ./partition_version.hh:529:86: required from here
- ./partition_version.hh:492:53: error: ‘partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader()::<lambda()>::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>’ declared with greater visibility than the type of its field ‘partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader()::<lambda()>::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>::<this capture>’ [-Werror=attributes]
- _read_section(_lsa_region, [this] {
- ^
- ./partition_version.hh: In instantiation of ‘struct partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader()::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>’:
- ./partition_version.hh:490:49: required from ‘partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader()::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]’
- ./partition_version.hh:489:50: required from ‘struct partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader() [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>’
- ./partition_version.hh:489:23: required from ‘partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader() [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]’
- /usr/include/c++/6.3.1/bits/unique_ptr.h:76:2: required from ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = partition_snapshot_reader<>]’
- /usr/include/c++/6.3.1/bits/unique_ptr.h:239:17: required from ‘std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = partition_snapshot_reader<>; _Dp = std::default_delete<partition_snapshot_reader<> >]’
- ./streamed_mutation.hh:480:52: required from ‘streamed_mutation make_streamed_mutation(Args&& ...) [with Impl = partition_snapshot_reader<>; Args = {lw_shared_ptr<const schema>&, dht::decorated_key, lw_shared_ptr<partition_snapshot>&, query::clustering_key_filter_ranges, logalloc::region&, logalloc::allocating_section&, boost::any}]’
- ./partition_version.hh:529:86: required from here
- ./partition_version.hh:490:55: error: ‘partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader()::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>’ declared with greater visibility than the type of its field ‘partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader()::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>::<this capture>’ [-Werror=attributes]
- return with_linearized_managed_bytes([this] {
- ^
- ./partition_version.hh: In instantiation of ‘struct partition_snapshot_reader<MemoryAccounter>::fill_buffer()::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>’:
- ./partition_version.hh:503:49: required from ‘partition_snapshot_reader<MemoryAccounter>::fill_buffer()::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]’
- ./partition_version.hh:502:45: required from ‘struct partition_snapshot_reader<MemoryAccounter>::fill_buffer() [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>’
- ./partition_version.hh:502:29: required from ‘future<> partition_snapshot_reader<MemoryAccounter>::fill_buffer() [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]’
- build/release/gen/cql3/CqlParser.cpp:51960:1: required from here
- ./partition_version.hh:503:52: error: ‘partition_snapshot_reader<MemoryAccounter>::fill_buffer()::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>’ declared with greater visibility than the type of its field ‘partition_snapshot_reader<MemoryAccounter>::fill_buffer()::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>::<this capture>’ [-Werror=attributes]
- return with_linearized_managed_bytes([&] {
- ^
- cc1plus: all warnings being treated as errors
- [25/252] NINJA seastar/build/release/libseastar.a seastar/build/release/apps/iotune/...se/gen/http/request_parser.hh seastar/build/release/gen/http/http_response_parser.hh
- FAILED: seastar/build/release/libseastar.a seastar/build/release/apps/iotune/iotune seastar/build/release/gen/http/request_parser.hh seastar/build/release/gen/http/http_response_parser.hh
- /usr/bin/ninja -C seastar build/release/libseastar.a build/release/apps/iotune/iotune build/release/gen/http/request_parser.hh build/release/gen/http/http_response_parser.hh
- ninja: Entering directory `seastar'
- [1/39] CXX build/release/core/resource.o
- FAILED: build/release/core/resource.o
- g++ -MMD -MT build/release/core/resource.o -MF build/release/core/resource.o.d -O2 -I build/release/gen -std=gnu++1y -g -Wall -Werror -fvisibility=hidden -pthread -I. -U_FORTIFY_SOURCE -march=nehalem -Ifmt -DBOOST_TEST_DYN_LINK -Wno-overloaded-virtual -DFMT_HEADER_ONLY -DHAVE_HWLOC -DHAVE_NUMA -DHAVE_LZ4_COMPRESS_DEFAULT -c -o build/release/core/resource.o core/resource.cc
- In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/limits.h:168:0,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/syslimits.h:7,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/limits.h:34,
- from /usr/include/c++/6.3.1/climits:42,
- from /usr/include/boost/integer_fwd.hpp:12,
- from /usr/include/boost/integer.hpp:18,
- from /usr/include/boost/function/function_base.hpp:20,
- from /usr/include/boost/function/detail/prologue.hpp:17,
- from /usr/include/boost/function/function_template.hpp:13,
- from /usr/include/boost/function/detail/maybe_include.hpp:18,
- from /usr/include/boost/function/function1.hpp:11,
- from /usr/include/boost/program_options/value_semantic.hpp:13,
- from /usr/include/boost/program_options/options_description.hpp:13,
- from /usr/include/boost/program_options.hpp:15,
- from core/resource.cc:22:
- fmt/fmt/format.h: In member function ‘void fmt::internal::ArgFormatterBase<Impl, Char>::visit_char(int)’:
- fmt/fmt/format.h:1856:20: error: expected unqualified-id before numeric constant
- const unsigned CHAR_WIDTH = 1;
- ^
- [2/39] CXX build/release/net/ethernet.o
- [3/39] CXX build/release/net/ip.o
- FAILED: build/release/net/ip.o
- g++ -MMD -MT build/release/net/ip.o -MF build/release/net/ip.o.d -O2 -I build/release/gen -std=gnu++1y -g -Wall -Werror -fvisibility=hidden -pthread -I. -U_FORTIFY_SOURCE -march=nehalem -Ifmt -DBOOST_TEST_DYN_LINK -Wno-overloaded-virtual -DFMT_HEADER_ONLY -DHAVE_HWLOC -DHAVE_NUMA -DHAVE_LZ4_COMPRESS_DEFAULT -c -o build/release/net/ip.o net/ip.cc
- In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/limits.h:168:0,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/syslimits.h:7,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/limits.h:34,
- from /usr/include/boost/asio/detail/socket_types.hpp:82,
- from /usr/include/boost/asio/ip/address_v4.hpp:21,
- from net/ip.hh:26,
- from net/ip.cc:23:
- fmt/fmt/format.h: In member function ‘void fmt::internal::ArgFormatterBase<Impl, Char>::visit_char(int)’:
- fmt/fmt/format.h:1856:20: error: expected unqualified-id before numeric constant
- const unsigned CHAR_WIDTH = 1;
- ^
- [4/39] CXX build/release/net/dhcp.o
- FAILED: build/release/net/dhcp.o
- g++ -MMD -MT build/release/net/dhcp.o -MF build/release/net/dhcp.o.d -O2 -I build/release/gen -std=gnu++1y -g -Wall -Werror -fvisibility=hidden -pthread -I. -U_FORTIFY_SOURCE -march=nehalem -Ifmt -DBOOST_TEST_DYN_LINK -Wno-overloaded-virtual -DFMT_HEADER_ONLY -DHAVE_HWLOC -DHAVE_NUMA -DHAVE_LZ4_COMPRESS_DEFAULT -c -o build/release/net/dhcp.o net/dhcp.cc
- In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/limits.h:168:0,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/syslimits.h:7,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/limits.h:34,
- from /usr/include/boost/asio/detail/socket_types.hpp:82,
- from /usr/include/boost/asio/ip/address_v4.hpp:21,
- from net/ip.hh:26,
- from net/dhcp.hh:25,
- from net/dhcp.cc:27:
- fmt/fmt/format.h: In member function ‘void fmt::internal::ArgFormatterBase<Impl, Char>::visit_char(int)’:
- fmt/fmt/format.h:1856:20: error: expected unqualified-id before numeric constant
- const unsigned CHAR_WIDTH = 1;
- ^
- [5/39] CXX build/release/core/scollectd.o
- FAILED: build/release/core/scollectd.o
- g++ -MMD -MT build/release/core/scollectd.o -MF build/release/core/scollectd.o.d -O2 -I build/release/gen -std=gnu++1y -g -Wall -Werror -fvisibility=hidden -pthread -I. -U_FORTIFY_SOURCE -march=nehalem -Ifmt -DBOOST_TEST_DYN_LINK -Wno-overloaded-virtual -DFMT_HEADER_ONLY -DHAVE_HWLOC -DHAVE_NUMA -DHAVE_LZ4_COMPRESS_DEFAULT -c -o build/release/core/scollectd.o core/scollectd.cc
- In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/limits.h:168:0,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/syslimits.h:7,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/limits.h:34,
- from /usr/include/c++/6.3.1/climits:42,
- from /usr/include/boost/integer_fwd.hpp:12,
- from /usr/include/boost/integer.hpp:18,
- from /usr/include/boost/function/function_base.hpp:20,
- from /usr/include/boost/function/detail/prologue.hpp:17,
- from /usr/include/boost/function/function_template.hpp:13,
- from /usr/include/boost/function/detail/maybe_include.hpp:18,
- from /usr/include/boost/function/function1.hpp:11,
- from /usr/include/boost/program_options/value_semantic.hpp:13,
- from /usr/include/boost/program_options/options_description.hpp:13,
- from /usr/include/boost/program_options.hpp:15,
- from ./core/scollectd.hh:35,
- from core/scollectd-impl.hh:24,
- from core/scollectd.cc:31:
- fmt/fmt/format.h: In member function ‘void fmt::internal::ArgFormatterBase<Impl, Char>::visit_char(int)’:
- fmt/fmt/format.h:1856:20: error: expected unqualified-id before numeric constant
- const unsigned CHAR_WIDTH = 1;
- ^
- [6/39] CXX build/release/net/udp.o
- FAILED: build/release/net/udp.o
- g++ -MMD -MT build/release/net/udp.o -MF build/release/net/udp.o.d -O2 -I build/release/gen -std=gnu++1y -g -Wall -Werror -fvisibility=hidden -pthread -I. -U_FORTIFY_SOURCE -march=nehalem -Ifmt -DBOOST_TEST_DYN_LINK -Wno-overloaded-virtual -DFMT_HEADER_ONLY -DHAVE_HWLOC -DHAVE_NUMA -DHAVE_LZ4_COMPRESS_DEFAULT -c -o build/release/net/udp.o net/udp.cc
- In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/limits.h:168:0,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/syslimits.h:7,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/limits.h:34,
- from /usr/include/boost/asio/detail/socket_types.hpp:82,
- from /usr/include/boost/asio/ip/address_v4.hpp:21,
- from net/ip.hh:26,
- from net/udp.cc:22:
- fmt/fmt/format.h: In member function ‘void fmt::internal::ArgFormatterBase<Impl, Char>::visit_char(int)’:
- fmt/fmt/format.h:1856:20: error: expected unqualified-id before numeric constant
- const unsigned CHAR_WIDTH = 1;
- ^
- [7/39] CXX build/release/core/fstream.o
- FAILED: build/release/core/fstream.o
- g++ -MMD -MT build/release/core/fstream.o -MF build/release/core/fstream.o.d -O2 -I build/release/gen -std=gnu++1y -g -Wall -Werror -fvisibility=hidden -pthread -I. -U_FORTIFY_SOURCE -march=nehalem -Ifmt -DBOOST_TEST_DYN_LINK -Wno-overloaded-virtual -DFMT_HEADER_ONLY -DHAVE_HWLOC -DHAVE_NUMA -DHAVE_LZ4_COMPRESS_DEFAULT -c -o build/release/core/fstream.o core/fstream.cc
- In file included from core/fstream.hh:33:0,
- from core/fstream.cc:22:
- core/file.hh: In instantiation of ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’:
- core/file.hh:596:24: required from ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]’
- core/file.hh:582:38: required from ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]::<lambda(size_t)>’
- core/file.hh:618:6: required from ‘future<temporary_buffer<char_type> > file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]’
- core/fstream.cc:233:92: required from here
- core/file.hh:597:20: error: ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’ declared with greater visibility than the type of its field ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>::<rstate capture>’ [-Werror=attributes]
- [rstate] { return rstate->done(); },
- ^
- core/file.hh: In instantiation of ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable::<lambda()> mutable [with CharType = char]::<lambda(auto:21)>’:
- core/file.hh:610:9: required from ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable::<lambda()> mutable [with CharType = char]’
- core/file.hh:598:29: required from ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’
- core/file.hh:596:24: required from ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]’
- core/file.hh:582:38: required from ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]::<lambda(size_t)>’
- core/file.hh:618:6: required from ‘future<temporary_buffer<char_type> > file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]’
- core/fstream.cc:233:92: required from here
- core/file.hh:601:28: error: ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable::<lambda()> mutable [with CharType = char]::<lambda(auto:21)>’ declared with greater visibility than the type of its field ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable::<lambda()> mutable [with CharType = char]::<lambda(auto:21)>::<rstate capture>’ [-Werror=attributes]
- [rstate] (auto buf1) mutable {
- ^
- core/file.hh: In instantiation of ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’:
- core/file.hh:596:24: required from ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]’
- core/file.hh:582:38: required from ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]::<lambda(size_t)>’
- core/file.hh:618:6: required from ‘future<temporary_buffer<char_type> > file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]’
- core/fstream.cc:233:92: required from here
- core/file.hh:598:31: error: ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’ declared with greater visibility than the type of its field ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>::<rstate capture>’ [-Werror=attributes]
- [rstate, this, &pc] () mutable {
- ^
- core/file.hh:598:31: error: ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’ declared with greater visibility than the type of its field ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>::<this capture>’ [-Werror=attributes]
- core/file.hh:598:31: error: ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’ declared with greater visibility than the type of its field ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>::<pc capture>’ [-Werror=attributes]
- core/file.hh: In instantiation of ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’:
- core/file.hh:617:10: required from ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]’
- core/file.hh:582:38: required from ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]::<lambda(size_t)>’
- core/file.hh:618:6: required from ‘future<temporary_buffer<char_type> > file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]’
- core/fstream.cc:233:92: required from here
- core/file.hh:610:24: error: ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’ declared with greater visibility than the type of its field ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>::<rstate capture>’ [-Werror=attributes]
- }).then([rstate] () mutable {
- ^
- cc1plus: all warnings being treated as errors
- [8/39] CXX build/release/http/httpd.o
- FAILED: build/release/http/httpd.o
- g++ -MMD -MT build/release/http/httpd.o -MF build/release/http/httpd.o.d -O2 -I build/release/gen -std=gnu++1y -g -Wall -Werror -fvisibility=hidden -pthread -I. -U_FORTIFY_SOURCE -march=nehalem -Ifmt -DBOOST_TEST_DYN_LINK -Wno-overloaded-virtual -DFMT_HEADER_ONLY -DHAVE_HWLOC -DHAVE_NUMA -DHAVE_LZ4_COMPRESS_DEFAULT -c -o build/release/http/httpd.o http/httpd.cc
- In file included from ./core/iostream.hh:224:0,
- from ./core/reactor.hh:26,
- from http/httpd.cc:22:
- ./core/iostream-impl.hh: In instantiation of ‘struct input_stream<CharType>::consume(Consumer&)::<lambda()> [with Consumer = http_request_parser; CharType = char]::<lambda(using tmp_buf = class temporary_buffer<char>)>’:
- ./core/iostream-impl.hh:172:14: required from ‘input_stream<CharType>::consume(Consumer&)::<lambda()> [with Consumer = http_request_parser; CharType = char]’
- ./core/iostream-impl.hh:166:31: required from ‘struct input_stream<CharType>::consume(Consumer&) [with Consumer = http_request_parser; CharType = char]::<lambda()>’
- ./core/iostream-impl.hh:166:18: required from ‘future<> input_stream<CharType>::consume(Consumer&) [with Consumer = http_request_parser; CharType = char]’
- http/httpd.hh:181:45: required from here
- ./core/iostream-impl.hh:168:51: error: ‘input_stream<CharType>::consume(Consumer&)::<lambda()> [with Consumer = http_request_parser; CharType = char]::<lambda(input_stream<char>::tmp_buf)>’ declared with greater visibility than the type of its field ‘input_stream<CharType>::consume(Consumer&)::<lambda()> [with Consumer = http_request_parser; CharType = char]::<lambda(input_stream<char>::tmp_buf)>::<this capture>’ [-Werror=attributes]
- return _fd.get().then([this, &consumer] (tmp_buf buf) {
- ^
- ./core/iostream-impl.hh:168:51: error: ‘input_stream<CharType>::consume(Consumer&)::<lambda()> [with Consumer = http_request_parser; CharType = char]::<lambda(input_stream<char>::tmp_buf)>’ declared with greater visibility than the type of its field ‘input_stream<CharType>::consume(Consumer&)::<lambda()> [with Consumer = http_request_parser; CharType = char]::<lambda(input_stream<char>::tmp_buf)>::<consumer capture>’ [-Werror=attributes]
- ./core/iostream-impl.hh: In instantiation of ‘struct input_stream<CharType>::consume(Consumer&)::<lambda()> [with Consumer = http_request_parser; CharType = char]::<lambda(using unconsumed_remainder = class std::experimental::fundamentals_v1::optional<temporary_buffer<char> >)>’:
- ./core/iostream-impl.hh:203:14: required from ‘input_stream<CharType>::consume(Consumer&)::<lambda()> [with Consumer = http_request_parser; CharType = char]’
- ./core/iostream-impl.hh:166:31: required from ‘struct input_stream<CharType>::consume(Consumer&) [with Consumer = http_request_parser; CharType = char]::<lambda()>’
- ./core/iostream-impl.hh:166:18: required from ‘future<> input_stream<CharType>::consume(Consumer&) [with Consumer = http_request_parser; CharType = char]’
- http/httpd.hh:181:45: required from here
- ./core/iostream-impl.hh:194:52: error: ‘input_stream<CharType>::consume(Consumer&)::<lambda()> [with Consumer = http_request_parser; CharType = char]::<lambda(input_stream<char>::unconsumed_remainder)>’ declared with greater visibility than the type of its field ‘input_stream<CharType>::consume(Consumer&)::<lambda()> [with Consumer = http_request_parser; CharType = char]::<lambda(input_stream<char>::unconsumed_remainder)>::<this capture>’ [-Werror=attributes]
- return unconsumed.then([this, &consumer] (unconsumed_remainder u) {
- ^
- ./core/iostream-impl.hh:194:52: error: ‘input_stream<CharType>::consume(Consumer&)::<lambda()> [with Consumer = http_request_parser; CharType = char]::<lambda(input_stream<char>::unconsumed_remainder)>’ declared with greater visibility than the type of its field ‘input_stream<CharType>::consume(Consumer&)::<lambda()> [with Consumer = http_request_parser; CharType = char]::<lambda(input_stream<char>::unconsumed_remainder)>::<consumer capture>’ [-Werror=attributes]
- In file included from ./core/distributed.hh:24:0,
- from http/httpd.cc:26:
- ./core/sharded.hh: In instantiation of ‘struct seastar::sharded<Service>::start(Args&& ...)::<lambda(unsigned int)> mutable::<lambda()> mutable [with Args = {}; Service = httpd::http_server]::<lambda()>’:
- ./core/sharded.hh:338:62: required from ‘seastar::sharded<Service>::start(Args&& ...)::<lambda(unsigned int)> mutable::<lambda()> mutable [with Args = {}; Service = httpd::http_server]’
- ./core/sharded.hh:337:45: required from ‘struct seastar::sharded<Service>::start(Args&& ...)::<lambda(unsigned int)> mutable [with Args = {}; Service = httpd::http_server]::<lambda()>’
- ./core/sharded.hh:337:34: required from ‘seastar::sharded<Service>::start(Args&& ...)::<lambda(unsigned int)> mutable [with Args = {}; Service = httpd::http_server]’
- ./core/sharded.hh:336:66: required from ‘struct seastar::sharded<Service>::start(Args&& ...) [with Args = {}; Service = httpd::http_server]::<lambda(unsigned int)>’
- ./core/sharded.hh:335:29: required from ‘future<> seastar::sharded<Service>::start(Args&& ...) [with Args = {}; Service = httpd::http_server]’
- http/httpd.hh:416:36: required from here
- ./core/sharded.hh:338:68: error: ‘seastar::sharded<Service>::start(Args&& ...)::<lambda(unsigned int)> mutable::<lambda()> mutable [with Args = {}; Service = httpd::http_server]::<lambda()>’ declared with greater visibility than the type of its field ‘seastar::sharded<Service>::start(Args&& ...)::<lambda(unsigned int)> mutable::<lambda()> mutable [with Args = {}; Service = httpd::http_server]::<lambda()>::<this capture>’ [-Werror=attributes]
- _instances[engine().cpu_id()].service = apply([this] (Args... args) {
- ^
- ./core/sharded.hh: In instantiation of ‘struct seastar::sharded<Service>::start(Args&& ...)::<lambda(unsigned int)> mutable [with Args = {}; Service = httpd::http_server]::<lambda()>’:
- ./core/sharded.hh:337:34: required from ‘seastar::sharded<Service>::start(Args&& ...)::<lambda(unsigned int)> mutable [with Args = {}; Service = httpd::http_server]’
- ./core/sharded.hh:336:66: required from ‘struct seastar::sharded<Service>::start(Args&& ...) [with Args = {}; Service = httpd::http_server]::<lambda(unsigned int)>’
- ./core/sharded.hh:335:29: required from ‘future<> seastar::sharded<Service>::start(Args&& ...) [with Args = {}; Service = httpd::http_server]’
- http/httpd.hh:416:36: required from here
- ./core/sharded.hh:337:49: error: ‘seastar::sharded<Service>::start(Args&& ...)::<lambda(unsigned int)> mutable [with Args = {}; Service = httpd::http_server]::<lambda()>’ declared with greater visibility than the type of its field ‘seastar::sharded<Service>::start(Args&& ...)::<lambda(unsigned int)> mutable [with Args = {}; Service = httpd::http_server]::<lambda()>::<this capture>’ [-Werror=attributes]
- return smp::submit_to(c, [this, args] () mutable {
- ^
- ./core/sharded.hh: In instantiation of ‘struct seastar::sharded<Service>::stop()::<lambda(unsigned int)> mutable::<lambda()> mutable [with Service = httpd::http_server]::<lambda()>’:
- ./core/sharded.hh:388:14: required from ‘seastar::sharded<Service>::stop()::<lambda(unsigned int)> mutable::<lambda()> mutable [with Service = httpd::http_server]’
- ./core/sharded.hh:380:35: required from ‘struct seastar::sharded<Service>::stop()::<lambda(unsigned int)> mutable [with Service = httpd::http_server]::<lambda()>’
- ./core/sharded.hh:380:30: required from ‘seastar::sharded<Service>::stop()::<lambda(unsigned int)> mutable [with Service = httpd::http_server]’
- ./core/sharded.hh:379:78: required from ‘struct seastar::sharded<Service>::stop() [with Service = httpd::http_server]::<lambda(unsigned int)>’
- ./core/sharded.hh:379:29: required from ‘future<> seastar::sharded<Service>::stop() [with Service = httpd::http_server]’
- http/httpd.hh:420:35: required from here
- ./core/sharded.hh:386:49: error: ‘seastar::sharded<Service>::stop()::<lambda(unsigned int)> mutable::<lambda()> mutable [with Service = httpd::http_server]::<lambda()>’ declared with greater visibility than the type of its field ‘seastar::sharded<Service>::stop()::<lambda(unsigned int)> mutable::<lambda()> mutable [with Service = httpd::http_server]::<lambda()>::<this capture>’ [-Werror=attributes]
- return inst->stop().then([this, inst] {
- ^
- ./core/sharded.hh:386:49: error: ‘seastar::sharded<Service>::stop()::<lambda(unsigned int)> mutable::<lambda()> mutable [with Service = httpd::http_server]::<lambda()>’ declared with greater visibility than the type of its field ‘seastar::sharded<Service>::stop()::<lambda(unsigned int)> mutable::<lambda()> mutable [with Service = httpd::http_server]::<lambda()>::<inst capture>’ [-Werror=attributes]
- ./core/sharded.hh: In instantiation of ‘struct seastar::sharded<Service>::stop()::<lambda(unsigned int)> mutable [with Service = httpd::http_server]::<lambda()>’:
- ./core/sharded.hh:380:30: required from ‘seastar::sharded<Service>::stop()::<lambda(unsigned int)> mutable [with Service = httpd::http_server]’
- ./core/sharded.hh:379:78: required from ‘struct seastar::sharded<Service>::stop() [with Service = httpd::http_server]::<lambda(unsigned int)>’
- ./core/sharded.hh:379:29: required from ‘future<> seastar::sharded<Service>::stop() [with Service = httpd::http_server]’
- http/httpd.hh:420:35: required from here
- ./core/sharded.hh:380:39: error: ‘seastar::sharded<Service>::stop()::<lambda(unsigned int)> mutable [with Service = httpd::http_server]::<lambda()>’ declared with greater visibility than the type of its field ‘seastar::sharded<Service>::stop()::<lambda(unsigned int)> mutable [with Service = httpd::http_server]::<lambda()>::<this capture>’ [-Werror=attributes]
- return smp::submit_to(c, [this] () mutable {
- ^
- ./core/sharded.hh: In instantiation of ‘struct seastar::sharded<Service>::invoke_on_all(Func&&)::<lambda(unsigned int)> [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda()>’:
- ./core/sharded.hh:430:30: required from ‘seastar::sharded<Service>::invoke_on_all(Func&&)::<lambda(unsigned int)> [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]’
- ./core/sharded.hh:429:85: required from ‘struct seastar::sharded<Service>::invoke_on_all(Func&&) [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda(unsigned int)>’
- ./core/sharded.hh:429:29: required from ‘future<> seastar::sharded<Service>::invoke_on_all(Func&&) [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]’
- http/httpd.hh:426:10: required from here
- ./core/sharded.hh:430:45: error: ‘seastar::sharded<Service>::invoke_on_all(Func&&)::<lambda(unsigned int)> [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda()>’ declared with greater visibility than the type of its field ‘seastar::sharded<Service>::invoke_on_all(Func&&)::<lambda(unsigned int)> [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda()>::<this capture>’ [-Werror=attributes]
- return smp::submit_to(c, [this, func] {
- ^
- ./core/sharded.hh:430:45: error: ‘seastar::sharded<Service>::invoke_on_all(Func&&)::<lambda(unsigned int)> [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda()>’ declared with greater visibility than the type of its field ‘seastar::sharded<Service>::invoke_on_all(Func&&)::<lambda(unsigned int)> [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda()>::<func capture>’ [-Werror=attributes]
- ./core/sharded.hh: In instantiation of ‘struct seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...)::<lambda(unsigned int)> [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda()>’:
- ./core/sharded.hh:402:30: required from ‘seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...)::<lambda(unsigned int)> [with Args = {ipv4_addr}; Service = httpd::http_server]’
- ./core/sharded.hh:401:94: required from ‘struct seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...) [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda(unsigned int)>’
- ./core/sharded.hh:401:29: required from ‘future<> seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...) [with Args = {ipv4_addr}; Service = httpd::http_server]’
- http/httpd.hh:430:70: required from here
- ./core/sharded.hh:402:54: error: ‘seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...)::<lambda(unsigned int)> [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda()>’ declared with greater visibility than the type of its field ‘seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...)::<lambda(unsigned int)> [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda()>::<this capture>’ [-Werror=attributes]
- return smp::submit_to(c, [this, func, args...] {
- ^
- ./core/sharded.hh:402:54: error: ‘seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...)::<lambda(unsigned int)> [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda()>’ declared with greater visibility than the type of its field ‘seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...)::<lambda(unsigned int)> [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda()>::<args#0 capture>’ [-Werror=attributes]
- In file included from ./core/iostream-impl.hh:26:0,
- from ./core/iostream.hh:224,
- from ./core/reactor.hh:26,
- from http/httpd.cc:22:
- ./core/future-util.hh: In instantiation of ‘struct parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::start(Args&& ...) [with Args = {}; Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(class future<>)>’:
- ./core/future-util.hh:94:17: recursively required from ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::start(Args&& ...) [with Args = {}; Service = httpd::http_server]::<lambda(unsigned int)>]’
- ./core/future-util.hh:94:17: required from ‘struct parallel_for_each(Iterator, Iterator, Func&&) [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::start(Args&& ...) [with Args = {}; Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(struct parallel_for_each_state&)>’
- ./core/future-util.hh:88:19: required from ‘future<> parallel_for_each(Iterator, Iterator, Func&&) [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::start(Args&& ...) [with Args = {}; Service = httpd::http_server]::<lambda(unsigned int)>]’
- ./core/future-util.hh:136:29: required from ‘future<> parallel_for_each(Range&&, Func&&) [with Range = boost::integer_range<unsigned int>; Func = seastar::sharded<Service>::start(Args&& ...) [with Args = {}; Service = httpd::http_server]::<lambda(unsigned int)>]’
- ./core/sharded.hh:335:29: required from ‘future<> seastar::sharded<Service>::start(Args&& ...) [with Args = {}; Service = httpd::http_server]’
- http/httpd.hh:416:36: required from here
- ./core/future-util.hh:94:47: error: ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::start(Args&& ...) [with Args = {}; Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(future<>)>’ declared with greater visibility than the type of its field ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::start(Args&& ...) [with Args = {}; Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(future<>)>::<state capture>’ [-Werror=attributes]
- func(*begin++).then_wrapped([&] (future<> f) {
- ^
- ./core/future-util.hh: In instantiation of ‘struct parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::stop() [with Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(class future<>)>’:
- ./core/future-util.hh:94:17: recursively required from ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::stop() [with Service = httpd::http_server]::<lambda(unsigned int)>]’
- ./core/future-util.hh:94:17: required from ‘struct parallel_for_each(Iterator, Iterator, Func&&) [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::stop() [with Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(struct parallel_for_each_state&)>’
- ./core/future-util.hh:88:19: required from ‘future<> parallel_for_each(Iterator, Iterator, Func&&) [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::stop() [with Service = httpd::http_server]::<lambda(unsigned int)>]’
- ./core/future-util.hh:136:29: required from ‘future<> parallel_for_each(Range&&, Func&&) [with Range = boost::integer_range<unsigned int>; Func = seastar::sharded<Service>::stop() [with Service = httpd::http_server]::<lambda(unsigned int)>]’
- ./core/sharded.hh:379:29: required from ‘future<> seastar::sharded<Service>::stop() [with Service = httpd::http_server]’
- http/httpd.hh:420:35: required from here
- ./core/future-util.hh:94:47: error: ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::stop() [with Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(future<>)>’ declared with greater visibility than the type of its field ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::stop() [with Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(future<>)>::<state capture>’ [-Werror=attributes]
- ./core/future-util.hh: In instantiation of ‘struct parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(Func&&) [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(class future<>)>’:
- ./core/future-util.hh:94:17: recursively required from ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(Func&&) [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda(unsigned int)>]’
- ./core/future-util.hh:94:17: required from ‘struct parallel_for_each(Iterator, Iterator, Func&&) [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(Func&&) [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(struct parallel_for_each_state&)>’
- ./core/future-util.hh:88:19: required from ‘future<> parallel_for_each(Iterator, Iterator, Func&&) [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(Func&&) [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda(unsigned int)>]’
- ./core/future-util.hh:136:29: required from ‘future<> parallel_for_each(Range&&, Func&&) [with Range = boost::integer_range<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(Func&&) [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda(unsigned int)>]’
- ./core/sharded.hh:429:29: required from ‘future<> seastar::sharded<Service>::invoke_on_all(Func&&) [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]’
- http/httpd.hh:426:10: required from here
- ./core/future-util.hh:94:47: error: ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(Func&&) [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(future<>)>’ declared with greater visibility than the type of its field ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(Func&&) [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(future<>)>::<state capture>’ [-Werror=attributes]
- ./core/future-util.hh: In instantiation of ‘struct parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...) [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(class future<>)>’:
- ./core/future-util.hh:94:17: recursively required from ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...) [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda(unsigned int)>]’
- ./core/future-util.hh:94:17: required from ‘struct parallel_for_each(Iterator, Iterator, Func&&) [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...) [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(struct parallel_for_each_state&)>’
- ./core/future-util.hh:88:19: required from ‘future<> parallel_for_each(Iterator, Iterator, Func&&) [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...) [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda(unsigned int)>]’
- ./core/future-util.hh:136:29: required from ‘future<> parallel_for_each(Range&&, Func&&) [with Range = boost::integer_range<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...) [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda(unsigned int)>]’
- ./core/sharded.hh:401:29: required from ‘future<> seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...) [with Args = {ipv4_addr}; Service = httpd::http_server]’
- http/httpd.hh:430:70: required from here
- ./core/future-util.hh:94:47: error: ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...) [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(future<>)>’ declared with greater visibility than the type of its field ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...) [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(future<>)>::<state capture>’ [-Werror=attributes]
- cc1plus: all warnings being treated as errors
- [9/39] CXX build/release/net/tls.o
- FAILED: build/release/net/tls.o
- g++ -MMD -MT build/release/net/tls.o -MF build/release/net/tls.o.d -O2 -I build/release/gen -std=gnu++1y -g -Wall -Werror -fvisibility=hidden -pthread -I. -U_FORTIFY_SOURCE -march=nehalem -Ifmt -DBOOST_TEST_DYN_LINK -Wno-overloaded-virtual -DFMT_HEADER_ONLY -DHAVE_HWLOC -DHAVE_NUMA -DHAVE_LZ4_COMPRESS_DEFAULT -c -o build/release/net/tls.o net/tls.cc
- In file included from ./core/reactor.hh:64:0,
- from net/tls.cc:28:
- ./core/file.hh: In instantiation of ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’:
- ./core/file.hh:596:24: required from ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]’
- ./core/file.hh:582:38: required from ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]::<lambda(size_t)>’
- ./core/file.hh:618:6: required from ‘future<temporary_buffer<char_type> > file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]’
- net/tls.cc:77:53: required from here
- ./core/file.hh:597:20: error: ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’ declared with greater visibility than the type of its field ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>::<rstate capture>’ [-Werror=attributes]
- [rstate] { return rstate->done(); },
- ^
- ./core/file.hh: In instantiation of ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable::<lambda()> mutable [with CharType = char]::<lambda(auto:25)>’:
- ./core/file.hh:610:9: required from ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable::<lambda()> mutable [with CharType = char]’
- ./core/file.hh:598:29: required from ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’
- ./core/file.hh:596:24: required from ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]’
- ./core/file.hh:582:38: required from ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]::<lambda(size_t)>’
- ./core/file.hh:618:6: required from ‘future<temporary_buffer<char_type> > file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]’
- net/tls.cc:77:53: required from here
- ./core/file.hh:601:28: error: ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable::<lambda()> mutable [with CharType = char]::<lambda(auto:25)>’ declared with greater visibility than the type of its field ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable::<lambda()> mutable [with CharType = char]::<lambda(auto:25)>::<rstate capture>’ [-Werror=attributes]
- [rstate] (auto buf1) mutable {
- ^
- ./core/file.hh: In instantiation of ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’:
- ./core/file.hh:596:24: required from ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]’
- ./core/file.hh:582:38: required from ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]::<lambda(size_t)>’
- ./core/file.hh:618:6: required from ‘future<temporary_buffer<char_type> > file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]’
- net/tls.cc:77:53: required from here
- ./core/file.hh:598:31: error: ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’ declared with greater visibility than the type of its field ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>::<rstate capture>’ [-Werror=attributes]
- [rstate, this, &pc] () mutable {
- ^
- ./core/file.hh:598:31: error: ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’ declared with greater visibility than the type of its field ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>::<this capture>’ [-Werror=attributes]
- ./core/file.hh:598:31: error: ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’ declared with greater visibility than the type of its field ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>::<pc capture>’ [-Werror=attributes]
- ./core/file.hh: In instantiation of ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’:
- ./core/file.hh:617:10: required from ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]’
- ./core/file.hh:582:38: required from ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]::<lambda(size_t)>’
- ./core/file.hh:618:6: required from ‘future<temporary_buffer<char_type> > file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]’
- net/tls.cc:77:53: required from here
- ./core/file.hh:610:24: error: ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’ declared with greater visibility than the type of its field ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>::<rstate capture>’ [-Werror=attributes]
- }).then([rstate] () mutable {
- ^
- In file included from net/tls.cc:29:0:
- ./core/thread.hh: In instantiation of ‘struct seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::<lambda(seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::work&)> mutable [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}]::<lambda()>’:
- ./core/thread.hh:307:16: required from ‘seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::<lambda(seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::work&)> mutable [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}]’
- ./core/thread.hh:305:122: required from ‘struct seastar::async(seastar::thread_attributes, Func&&, Args&& ...) [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}; futurize_t<typename std::result_of<typename std::decay<_Tp>::type(std::decay_t<Args>...)>::type> = future<>]::<lambda(struct seastar::async(seastar::thread_attributes, Func&&, Args&& ...) [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}; futurize_t<typename std::result_of<typename std::decay<_Tp>::type(std::decay_t<Args>...)>::type> = future<>]::work&)>’
- ./core/thread.hh:305:19: required from ‘futurize_t<typename std::result_of<typename std::decay<_Tp>::type(std::decay_t<Args>...)>::type> seastar::async(seastar::thread_attributes, Func&&, Args&& ...) [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}; futurize_t<typename std::result_of<typename std::decay<_Tp>::type(std::decay_t<Args>...)>::type> = future<>]’
- ./core/thread.hh:329:17: required from ‘futurize_t<typename std::result_of<typename std::decay<_Tp>::type(std::decay_t<Args>...)>::type> seastar::async(Func&&, Args&& ...) [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}; futurize_t<typename std::result_of<typename std::decay<_Tp>::type(std::decay_t<Args>...)>::type> = future<>]’
- net/tls.cc:291:10: required from here
- ./core/thread.hh:307:45: error: ‘seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::<lambda(seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::work&)> mutable [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}]::<lambda()>’ declared with greater visibility than the type of its field ‘seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::<lambda(seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::work&)> mutable [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}]::<lambda()>::<w capture>’ [-Werror=attributes]
- w.th = thread(std::move(w.attr), [&w] {
- ^
- ./core/thread.hh: In instantiation of ‘struct seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::<lambda(seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::work&)> mutable [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}]::<lambda()>’:
- ./core/thread.hh:312:10: required from ‘seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::<lambda(seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::work&)> mutable [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}]’
- ./core/thread.hh:305:122: required from ‘struct seastar::async(seastar::thread_attributes, Func&&, Args&& ...) [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}; futurize_t<typename std::result_of<typename std::decay<_Tp>::type(std::decay_t<Args>...)>::type> = future<>]::<lambda(struct seastar::async(seastar::thread_attributes, Func&&, Args&& ...) [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}; futurize_t<typename std::result_of<typename std::decay<_Tp>::type(std::decay_t<Args>...)>::type> = future<>]::work&)>’
- ./core/thread.hh:305:19: required from ‘futurize_t<typename std::result_of<typename std::decay<_Tp>::type(std::decay_t<Args>...)>::type> seastar::async(seastar::thread_attributes, Func&&, Args&& ...) [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}; futurize_t<typename std::result_of<typename std::decay<_Tp>::type(std::decay_t<Args>...)>::type> = future<>]’
- ./core/thread.hh:329:17: required from ‘futurize_t<typename std::result_of<typename std::decay<_Tp>::type(std::decay_t<Args>...)>::type> seastar::async(Func&&, Args&& ...) [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}; futurize_t<typename std::result_of<typename std::decay<_Tp>::type(std::decay_t<Args>...)>::type> = future<>]’
- net/tls.cc:291:10: required from here
- ./core/thread.hh:310:54: error: ‘seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::<lambda(seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::work&)> mutable [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}]::<lambda()>’ declared with greater visibility than the type of its field ‘seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::<lambda(seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::work&)> mutable [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}]::<lambda()>::__ret’ [-Werror=attributes]
- return w.th.join().then([ret = std::move(ret)] () mutable {
- ^
- cc1plus: all warnings being treated as errors
- [10/39] CXX build/release/core/reactor.o
- FAILED: build/release/core/reactor.o
- g++ -MMD -MT build/release/core/reactor.o -MF build/release/core/reactor.o.d -O2 -I build/release/gen -std=gnu++1y -g -Wall -Werror -fvisibility=hidden -pthread -I. -U_FORTIFY_SOURCE -march=nehalem -Ifmt -DBOOST_TEST_DYN_LINK -Wno-overloaded-virtual -DFMT_HEADER_ONLY -DHAVE_HWLOC -DHAVE_NUMA -DHAVE_LZ4_COMPRESS_DEFAULT -c -o build/release/core/reactor.o core/reactor.cc
- In file included from core/iostream-impl.hh:26:0,
- from core/iostream.hh:224,
- from core/reactor.hh:26,
- from core/reactor.cc:28:
- core/future-util.hh: In instantiation of ‘struct parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = smp::invoke_on_all(Func&&) [with Func = void (*)()]::<lambda(unsigned int)>]::<lambda(class future<>)>’:
- core/future-util.hh:94:17: recursively required from ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = smp::invoke_on_all(Func&&) [with Func = void (*)()]::<lambda(unsigned int)>]’
- core/future-util.hh:94:17: required from ‘struct parallel_for_each(Iterator, Iterator, Func&&) [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = smp::invoke_on_all(Func&&) [with Func = void (*)()]::<lambda(unsigned int)>]::<lambda(struct parallel_for_each_state&)>’
- core/future-util.hh:88:19: required from ‘future<> parallel_for_each(Iterator, Iterator, Func&&) [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = smp::invoke_on_all(Func&&) [with Func = void (*)()]::<lambda(unsigned int)>]’
- core/future-util.hh:136:29: required from ‘future<> parallel_for_each(Range&&, Func&&) [with Range = boost::integer_range<unsigned int>; Func = smp::invoke_on_all(Func&&) [with Func = void (*)()]::<lambda(unsigned int)>]’
- core/reactor.hh:1071:33: required from ‘static future<> smp::invoke_on_all(Func&&) [with Func = void (*)()]’
- core/reactor.cc:2185:56: required from here
- core/future-util.hh:94:47: error: ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = smp::invoke_on_all(Func&&) [with Func = void (*)()]::<lambda(unsigned int)>]::<lambda(future<>)>’ declared with greater visibility than the type of its field ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = smp::invoke_on_all(Func&&) [with Func = void (*)()]::<lambda(unsigned int)>]::<lambda(future<>)>::<state capture>’ [-Werror=attributes]
- func(*begin++).then_wrapped([&] (future<> f) {
- ^
- cc1plus: all warnings being treated as errors
Advertisement
Add Comment
Please, Sign In to add comment