Temporary header file '/tmp/U7304441Ge/dump1.h' with the following content will be compiled to create GCC translation unit dump: // add defines #define __STDC_VERSION__ 201710L #define _GXX_NULLPTR_T #define CLUTTER_ENABLE_COMPOSITOR_API 1 #define _REGEX_NELTS(n) #define _Atomic #define PACKED #define getaddrinfo_a(a,b,c,d) // add includes #include "/usr/include/stdlib.h" #include "/usr/include/stxxl/bits/algo/adaptor.h" #include "/usr/include/stxxl/bits/algo/async_schedule.h" #include "/usr/include/stxxl/bits/algo/inmemsort.h" #include "/usr/include/stxxl/bits/algo/intksort.h" #include "/usr/include/stxxl/bits/algo/ksort.h" #include "/usr/include/stxxl/bits/algo/losertree.h" #include "/usr/include/stxxl/bits/algo/random_shuffle.h" #include "/usr/include/stxxl/bits/algo/run_cursor.h" #include "/usr/include/stxxl/bits/algo/scan.h" #include "/usr/include/stxxl/bits/algo/sort.h" #include "/usr/include/stxxl/bits/algo/sort_base.h" #include "/usr/include/stxxl/bits/algo/sort_helper.h" #include "/usr/include/stxxl/bits/algo/stable_ksort.h" #include "/usr/include/stxxl/bits/common/addressable_queues.h" #include "/usr/include/stxxl/bits/common/aligned_alloc.h" #include "/usr/include/stxxl/bits/common/binary_buffer.h" #include "/usr/include/stxxl/bits/common/cmdline.h" #include "/usr/include/stxxl/bits/common/condition_variable.h" #include "/usr/include/stxxl/bits/common/counting_ptr.h" #include "/usr/include/stxxl/bits/common/error_handling.h" #include "/usr/include/stxxl/bits/common/exceptions.h" #include "/usr/include/stxxl/bits/common/exithandler.h" #include "/usr/include/stxxl/bits/common/external_shared_ptr.h" #include "/usr/include/stxxl/bits/common/is_sorted.h" #include "/usr/include/stxxl/bits/common/log.h" #include "/usr/include/stxxl/bits/common/mutex.h" #include "/usr/include/stxxl/bits/common/new_alloc.h" #include "/usr/include/stxxl/bits/common/onoff_switch.h" #include "/usr/include/stxxl/bits/common/rand.h" #include "/usr/include/stxxl/bits/common/seed.h" #include "/usr/include/stxxl/bits/common/semaphore.h" #include "/usr/include/stxxl/bits/common/settings.h" #include "/usr/include/stxxl/bits/common/simple_vector.h" #include "/usr/include/stxxl/bits/common/state.h" #include "/usr/include/stxxl/bits/common/timer.h" #include "/usr/include/stxxl/bits/common/tmeta.h" #include "/usr/include/stxxl/bits/common/tuple.h" #include "/usr/include/stxxl/bits/common/types.h" #include "/usr/include/stxxl/bits/common/uint_types.h" #include "/usr/include/stxxl/bits/common/utils.h" #include "/usr/include/stxxl/bits/compat/hash_map.h" #include "/usr/include/stxxl/bits/compat/type_traits.h" #include "/usr/include/stxxl/bits/compat/unique_ptr.h" #include "/usr/include/stxxl/bits/config.h" #include "/usr/include/stxxl/bits/containers/btree/btree.h" #include "/usr/include/stxxl/bits/containers/btree/iterator.h" #include "/usr/include/stxxl/bits/containers/btree/iterator_map.h" #include "/usr/include/stxxl/bits/containers/btree/leaf.h" #include "/usr/include/stxxl/bits/containers/btree/node.h" #include "/usr/include/stxxl/bits/containers/btree/node_cache.h" #include "/usr/include/stxxl/bits/containers/btree/root_node.h" #include "/usr/include/stxxl/bits/containers/deque.h" #include "/usr/include/stxxl/bits/containers/hash_map/block_cache.h" #include "/usr/include/stxxl/bits/containers/hash_map/hash_map.h" #include "/usr/include/stxxl/bits/containers/hash_map/iterator.h" #include "/usr/include/stxxl/bits/containers/hash_map/iterator_map.h" #include "/usr/include/stxxl/bits/containers/hash_map/tuning.h" #include "/usr/include/stxxl/bits/containers/hash_map/util.h" #include "/usr/include/stxxl/bits/containers/map.h" #include "/usr/include/stxxl/bits/containers/matrix.h" #include "/usr/include/stxxl/bits/containers/matrix_arithmetic.h" #include "/usr/include/stxxl/bits/containers/matrix_low_level.h" #include "/usr/include/stxxl/bits/containers/pager.h" #include "/usr/include/stxxl/bits/containers/pq_ext_merger.h" #include "/usr/include/stxxl/bits/containers/pq_helpers.h" #include "/usr/include/stxxl/bits/containers/pq_losertree.h" #include "/usr/include/stxxl/bits/containers/pq_mergers.h" #include "/usr/include/stxxl/bits/containers/priority_queue.h" #include "/usr/include/stxxl/bits/containers/queue.h" #include "/usr/include/stxxl/bits/containers/sequence.h" #include "/usr/include/stxxl/bits/containers/sorter.h" #include "/usr/include/stxxl/bits/containers/stack.h" #include "/usr/include/stxxl/bits/containers/unordered_map.h" #include "/usr/include/stxxl/bits/containers/vector.h" #include "/usr/include/stxxl/bits/defines.h" #include "/usr/include/stxxl/bits/deprecated.h" #include "/usr/include/stxxl/bits/io/boostfd_file.h" #include "/usr/include/stxxl/bits/io/completion_handler.h" #include "/usr/include/stxxl/bits/io/create_file.h" #include "/usr/include/stxxl/bits/io/disk_queued_file.h" #include "/usr/include/stxxl/bits/io/disk_queues.h" #include "/usr/include/stxxl/bits/io/file.h" #include "/usr/include/stxxl/bits/io/fileperblock_file.h" #include "/usr/include/stxxl/bits/io/io.h" #include "/usr/include/stxxl/bits/io/iostats.h" #include "/usr/include/stxxl/bits/io/linuxaio_file.h" #include "/usr/include/stxxl/bits/io/linuxaio_queue.h" #include "/usr/include/stxxl/bits/io/linuxaio_request.h" #include "/usr/include/stxxl/bits/io/mem_file.h" #include "/usr/include/stxxl/bits/io/mmap_file.h" #include "/usr/include/stxxl/bits/io/request.h" #include "/usr/include/stxxl/bits/io/request_interface.h" #include "/usr/include/stxxl/bits/io/request_operations.h" #include "/usr/include/stxxl/bits/io/request_queue.h" #include "/usr/include/stxxl/bits/io/request_queue_impl_1q.h" #include "/usr/include/stxxl/bits/io/request_queue_impl_qwqr.h" #include "/usr/include/stxxl/bits/io/request_queue_impl_worker.h" #include "/usr/include/stxxl/bits/io/request_with_state.h" #include "/usr/include/stxxl/bits/io/request_with_waiters.h" #include "/usr/include/stxxl/bits/io/serving_request.h" #include "/usr/include/stxxl/bits/io/simdisk_file.h" #include "/usr/include/stxxl/bits/io/syscall_file.h" #include "/usr/include/stxxl/bits/io/ufs_file_base.h" #include "/usr/include/stxxl/bits/io/wbtl_file.h" #include "/usr/include/stxxl/bits/io/wfs_file_base.h" #include "/usr/include/stxxl/bits/io/wincall_file.h" #include "/usr/include/stxxl/bits/libstxxl.h" #include "/usr/include/stxxl/bits/mng/adaptor.h" #include "/usr/include/stxxl/bits/mng/bid.h" #include "/usr/include/stxxl/bits/mng/block_alloc.h" #include "/usr/include/stxxl/bits/mng/block_alloc_interleaved.h" #include "/usr/include/stxxl/bits/mng/block_manager.h" #include "/usr/include/stxxl/bits/mng/block_prefetcher.h" #include "/usr/include/stxxl/bits/mng/block_scheduler.h" #include "/usr/include/stxxl/bits/mng/buf_istream.h" #include "/usr/include/stxxl/bits/mng/buf_istream_reverse.h" #include "/usr/include/stxxl/bits/mng/buf_ostream.h" #include "/usr/include/stxxl/bits/mng/buf_writer.h" #include "/usr/include/stxxl/bits/mng/config.h" #include "/usr/include/stxxl/bits/mng/disk_allocator.h" #include "/usr/include/stxxl/bits/mng/prefetch_pool.h" #include "/usr/include/stxxl/bits/mng/read_write_pool.h" #include "/usr/include/stxxl/bits/mng/typed_block.h" #include "/usr/include/stxxl/bits/mng/write_pool.h" #include "/usr/include/stxxl/bits/msvc_compatibility.h" #include "/usr/include/stxxl/bits/namespace.h" #include "/usr/include/stxxl/bits/noncopyable.h" #include "/usr/include/stxxl/bits/parallel.h" #include "/usr/include/stxxl/bits/singleton.h" #include "/usr/include/stxxl/bits/stream/choose.h" #include "/usr/include/stxxl/bits/stream/sort_stream.h" #include "/usr/include/stxxl/bits/stream/sorted_runs.h" #include "/usr/include/stxxl/bits/stream/stream.h" #include "/usr/include/stxxl/bits/stream/unique.h" #include "/usr/include/stxxl/bits/unused.h" #include "/usr/include/stxxl/bits/utils/malloc.h" #include "/usr/include/stxxl/bits/verbose.h" #include "/usr/include/stxxl/bits/version.h" #include "/usr/include/stxxl/version.h" #include "/usr/include/stxxl.h" // add namespaces namespace stxxl{typedef int tmp_add_type_1;} stxxl::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace stxxl{namespace btree{typedef int tmp_add_type_2;}} stxxl::btree::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace stxxl{namespace compat{typedef int tmp_add_type_3;}} stxxl::compat::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace stxxl{namespace helper{typedef int tmp_add_type_4;}} stxxl::helper::tmp_add_type_4 tmp_add_func_4(){return 0;}; namespace stxxl{namespace parallel{typedef int tmp_add_type_5;}} stxxl::parallel::tmp_add_type_5 tmp_add_func_5(){return 0;}; namespace stxxl{namespace stream{typedef int tmp_add_type_6;}} stxxl::stream::tmp_add_type_6 tmp_add_func_6(){return 0;}; namespace stxxl{namespace hash_map{typedef int tmp_add_type_7;}} stxxl::hash_map::tmp_add_type_7 tmp_add_func_7(){return 0;}; namespace stxxl{namespace ksort_local{typedef int tmp_add_type_8;}} stxxl::ksort_local::tmp_add_type_8 tmp_add_func_8(){return 0;}; namespace stxxl{namespace matrix_local{typedef int tmp_add_type_9;}} stxxl::matrix_local::tmp_add_type_9 tmp_add_func_9(){return 0;}; namespace stxxl{namespace mng_local{typedef int tmp_add_type_10;}} stxxl::mng_local::tmp_add_type_10 tmp_add_func_10(){return 0;}; namespace stxxl{namespace potentially_parallel{typedef int tmp_add_type_11;}} stxxl::potentially_parallel::tmp_add_type_11 tmp_add_func_11(){return 0;}; namespace stxxl{namespace priority_queue_local{typedef int tmp_add_type_12;}} stxxl::priority_queue_local::tmp_add_type_12 tmp_add_func_12(){return 0;}; namespace stxxl{namespace sort_helper{typedef int tmp_add_type_13;}} stxxl::sort_helper::tmp_add_type_13 tmp_add_func_13(){return 0;}; namespace stxxl{namespace sort_local{typedef int tmp_add_type_14;}} stxxl::sort_local::tmp_add_type_14 tmp_add_func_14(){return 0;}; namespace stxxl{namespace stable_ksort_local{typedef int tmp_add_type_15;}} stxxl::stable_ksort_local::tmp_add_type_15 tmp_add_func_15(){return 0;}; // add classes _G_fpos64_t* tmp_add_class_0; _G_fpos_t* tmp_add_class_1; _IO_cookie_io_functions_t* tmp_add_class_2; file_clone_range* tmp_add_class_3; file_dedupe_range* tmp_add_class_4; file_dedupe_range_info* tmp_add_class_5; files_stat_struct* tmp_add_class_6; fscrypt_add_key_arg* tmp_add_class_7; fscrypt_get_key_status_arg* tmp_add_class_8; fscrypt_get_policy_ex_arg* tmp_add_class_9; fscrypt_key* tmp_add_class_10; fscrypt_key_specifier* tmp_add_class_11; fscrypt_policy_v1* tmp_add_class_12; fscrypt_policy_v2* tmp_add_class_13; fscrypt_provisioning_key_payload* tmp_add_class_14; fscrypt_remove_key_arg* tmp_add_class_15; fstrim_range* tmp_add_class_16; fsxattr* tmp_add_class_17; inodes_stat_t* tmp_add_class_18; io_event* tmp_add_class_19; iocb* tmp_add_class_20; itimerval* tmp_add_class_21; mallinfo2* tmp_add_class_22; mount_attr* tmp_add_class_23; omp_alloctrait_t* tmp_add_class_24; omp_depend_t* tmp_add_class_25; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/U7304441Ge/dump1.h" -I/usr/include/stxxl In file included from /usr/include/stxxl/deque:14, from /usr/include/stxxl/bits/containers/queue.h:19, from /usr/include/stxxl/queue:14, from /usr/include/stxxl/bits/containers/vector.h:20, from /usr/include/stxxl/vector:14, from /usr/include/stxxl/bits/mng/config.h:18, from /usr/include/stxxl/bits/algo/scan.h:19, from /usr/include/stxxl/scan:14, from /usr/include/stxxl/algorithm:14, from /usr/include/stxxl/bits/common/counting_ptr.h:19, from /usr/include/stxxl/bits/io/file.h:30, from /usr/include/stxxl/bits/mng/bid.h:23, from /usr/include/stxxl/bits/algo/adaptor.h:18, from /tmp/U7304441Ge/dump1.h:13: /usr/include/stxxl/bits/containers/deque.h:420:54: error: ‘vector’ in namespace ‘stxxl’ does not name a template type 420 | template > | ^~~~~~ /usr/include/stxxl/bits/containers/deque.h:420:60: error: expected ‘>’ before ‘<’ token 420 | template > | ^ /usr/include/stxxl/bits/containers/deque.h:422:1: error: expected class-name before ‘{’ token 422 | { | ^ /usr/include/stxxl/bits/containers/deque.h: In constructor ‘stxxl::deque::deque()’: /usr/include/stxxl/bits/containers/deque.h:465:46: error: ‘T’ was not declared in this scope 465 | : m_vector((STXXL_DEFAULT_BLOCK_SIZE(T)) / sizeof(value_type)), | ^ /usr/include/stxxl/bits/containers/deque.h: In constructor ‘stxxl::deque::deque(size_type)’: /usr/include/stxxl/bits/containers/deque.h:470:20: error: ‘STXXL_MAX’ was not declared in this scope; did you mean ‘STXXL_MSG’? 470 | : m_vector(STXXL_MAX(STXXL_DEFAULT_BLOCK_SIZE(ValueType) / sizeof(value_type), 2 * n)), | ^~~~~~~~~ | STXXL_MSG /usr/include/stxxl/bits/containers/deque.h:470:39: error: expected primary-expression before ‘>’ token 470 | : m_vector(STXXL_MAX(STXXL_DEFAULT_BLOCK_SIZE(ValueType) / sizeof(value_type), 2 * n)), | ^ /usr/include/stxxl/bits/containers/deque.h:470:75: error: expected primary-expression before ‘)’ token 470 | : m_vector(STXXL_MAX(STXXL_DEFAULT_BLOCK_SIZE(ValueType) / sizeof(value_type), 2 * n)), | ^ /usr/include/stxxl/bits/containers/deque.h: In member function ‘void stxxl::deque::clear()’: /usr/include/stxxl/bits/containers/deque.h:653:51: error: ‘T’ was not declared in this scope 653 | m_vector.resize((STXXL_DEFAULT_BLOCK_SIZE(T)) / sizeof(value_type)); | ^ In file included from /usr/include/stxxl/bits/containers/btree/btree.h:19, from /usr/include/stxxl/bits/containers/map.h:18, from /usr/include/stxxl/map:14, from /usr/include/stxxl/bits/mng/block_manager.h:25, from /usr/include/stxxl/bits/containers/queue.h:22: /usr/include/stxxl/bits/containers/btree/iterator_map.h: At global scope: /usr/include/stxxl/bits/containers/btree/iterator_map.h:60:18: error: ‘multimap’ in namespace ‘std’ does not name a template type 60 | typedef std::multimap multimap_type; | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/iterator_map.h:21:1: note: ‘std::multimap’ is defined in header ‘’; did you forget to ‘#include ’? 20 | #include +++ |+#include 21 | /usr/include/stxxl/bits/containers/btree/iterator_map.h:62:5: error: ‘multimap_type’ does not name a type 62 | multimap_type m_it2addr; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/iterator_map.h:65:22: error: ‘multimap_type’ has not been declared 65 | typedef typename multimap_type::value_type pair_type; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/iterator_map.h:66:22: error: ‘multimap_type’ has not been declared 66 | typedef typename multimap_type::iterator mmiterator_type; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/iterator_map.h:67:22: error: ‘multimap_type’ has not been declared 67 | typedef typename multimap_type::const_iterator mmconst_iterator_type; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/iterator_map.h: In member function ‘void stxxl::btree::iterator_map::change_btree_pointers(btree_type*)’: /usr/include/stxxl/bits/containers/btree/iterator_map.h:72:41: error: ‘m_it2addr’ was not declared in this scope 72 | for (mmconst_iterator_type it = m_it2addr.begin(); | ^~~~~~~~~ /usr/include/stxxl/bits/containers/btree/iterator_map.h:75:16: error: base operand of ‘->’ is not a pointer 75 | (it->second)->btree = b; | ^~ /usr/include/stxxl/bits/containers/btree/iterator_map.h: In member function ‘void stxxl::btree::iterator_map::register_iterator(iterator_base&)’: /usr/include/stxxl/bits/containers/btree/iterator_map.h:88:9: error: ‘m_it2addr’ was not declared in this scope 88 | m_it2addr.insert(pair_type(Key(it.bid, it.pos), &it)); | ^~~~~~~~~ In file included from /usr/include/c++/12/cassert:44, from /usr/include/stxxl/bits/containers/btree/iterator.h:17, from /usr/include/stxxl/bits/containers/btree/btree.h:18: /usr/include/stxxl/bits/containers/btree/iterator_map.h: In member function ‘void stxxl::btree::iterator_map::unregister_iterator(iterator_base&)’: /usr/include/stxxl/bits/containers/btree/iterator_map.h:94:9: error: ‘m_it2addr’ was not declared in this scope 94 | assert(!m_it2addr.empty()); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/iterator_map.h:104:13: error: base operand of ‘->’ is not a pointer 104 | assert(it.bid == i->first.bid); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/iterator_map.h:105:13: error: base operand of ‘->’ is not a pointer 105 | assert(it.pos == i->first.pos); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/iterator_map.h:107:18: error: base operand of ‘->’ is not a pointer 107 | if (i->second == &it) | ^~ /usr/include/stxxl/bits/containers/btree/iterator_map.h: In member function ‘void stxxl::btree::iterator_map::find(const bid_type&, stxxl::unsigned_type, stxxl::unsigned_type, OutputContainer&)’: /usr/include/stxxl/bits/containers/btree/iterator_map.h:125:39: error: ‘m_it2addr’ was not declared in this scope 125 | mmconst_iterator_type begin = m_it2addr.lower_bound(firstkey); | ^~~~~~~~~ /usr/include/stxxl/bits/containers/btree/iterator_map.h:131:13: error: base operand of ‘->’ is not a pointer 131 | assert(bid == i->first.bid); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/iterator_map.h:132:28: error: base operand of ‘->’ is not a pointer 132 | out.push_back(i->second); | ^~ /usr/include/stxxl/bits/containers/btree/iterator_map.h: In destructor ‘virtual stxxl::btree::iterator_map::~iterator_map()’: /usr/include/stxxl/bits/containers/btree/iterator_map.h:138:41: error: ‘m_it2addr’ was not declared in this scope 138 | for (mmconst_iterator_type it = m_it2addr.begin(); | ^~~~~~~~~ /usr/include/stxxl/bits/containers/btree/iterator_map.h:141:15: error: base operand of ‘->’ is not a pointer 141 | it->second->make_invalid(); | ^~ /usr/include/stxxl/bits/containers/btree/iterator_map.h: In member function ‘void stxxl::btree::iterator_map::swap(stxxl::btree::iterator_map&)’: /usr/include/stxxl/bits/containers/btree/iterator_map.h:147:19: error: ‘m_it2addr’ was not declared in this scope 147 | std::swap(m_it2addr, obj.m_it2addr); | ^~~~~~~~~ In file included from /usr/include/stxxl/bits/containers/hash_map/hash_map.h:17, from /usr/include/stxxl/bits/containers/unordered_map.h:18, from /usr/include/stxxl/unordered_map:14, from /usr/include/stxxl/bits/compat/hash_map.h:24, from /usr/include/stxxl/bits/containers/btree/node_cache.h:17, from /usr/include/stxxl/bits/containers/btree/leaf.h:17, from /usr/include/stxxl/bits/containers/btree/btree.h:20: /usr/include/c++/12/functional: At global scope: /usr/include/c++/12/functional:1147:23: error: ‘unordered_map’ in namespace ‘std’ does not name a template type 1147 | _GLIBCXX_STD_C::unordered_map<_Key, _Tp, _Hash, _Pred> _M_bad_char; | ^~~~~~~~~~~~~ /usr/include/c++/12/functional:65:1: note: ‘std::unordered_map’ is defined in header ‘’; did you forget to ‘#include ’? 64 | # include +++ |+#include 65 | #endif /usr/include/c++/12/functional: In constructor ‘std::__boyer_moore_map_base<_Key, _Tp, _Hash, _Pred>::__boyer_moore_map_base(_RAIter, std::size_t, _Hash&&, _Pred&&)’: /usr/include/c++/12/functional:1126:11: error: class ‘std::__boyer_moore_map_base<_Key, _Tp, _Hash, _Pred>’ does not have any field named ‘_M_bad_char’ 1126 | : _M_bad_char{ __patlen, std::move(__hf), std::move(__pred) } | ^~~~~~~~~~~ /usr/include/c++/12/functional:1130:15: error: ‘_M_bad_char’ was not declared in this scope; did you mean ‘__is_char’? 1130 | _M_bad_char[__pat[__i]] = __patlen - 1 - __i; | ^~~~~~~~~~~ | __is_char /usr/include/c++/12/functional: In member function ‘std::__boyer_moore_map_base<_Key, _Tp, _Hash, _Pred>::__diff_type std::__boyer_moore_map_base<_Key, _Tp, _Hash, _Pred>::_M_lookup(_Key, __diff_type) const’: /usr/include/c++/12/functional:1138:23: error: ‘_M_bad_char’ was not declared in this scope; did you mean ‘__is_char’? 1138 | auto __iter = _M_bad_char.find(__key); | ^~~~~~~~~~~ | __is_char /usr/include/c++/12/functional: In member function ‘_Pred std::__boyer_moore_map_base<_Key, _Tp, _Hash, _Pred>::_M_pred() const’: /usr/include/c++/12/functional:1145:32: error: ‘_M_bad_char’ was not declared in this scope; did you mean ‘__is_char’? 1145 | _M_pred() const { return _M_bad_char.key_eq(); } | ^~~~~~~~~~~ | __is_char /usr/include/c++/12/functional: At global scope: /usr/include/c++/12/functional:1250:23: error: ‘vector’ in namespace ‘std’ does not name a template type 1250 | _GLIBCXX_STD_C::vector<__diff_type> _M_good_suffix; | ^~~~~~ /usr/include/c++/12/functional:65:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 64 | # include +++ |+#include 65 | #endif /usr/include/c++/12/functional: In constructor ‘std::boyer_moore_searcher<_RAIter, _Hash, _BinaryPredicate>::boyer_moore_searcher(_RAIter, _RAIter, _Hash, _BinaryPredicate)’: /usr/include/c++/12/functional:1310:45: error: class ‘std::boyer_moore_searcher<_RAIter, _Hash, _BinaryPredicate>’ does not have any field named ‘_M_good_suffix’ 1310 | _M_pat(__pat), _M_pat_end(__pat_end), _M_good_suffix(__pat_end - __pat) | ^~~~~~~~~~~~~~ /usr/include/c++/12/functional:1320:11: error: ‘_M_good_suffix’ was not declared in this scope 1320 | _M_good_suffix[__p] = __last_prefix + (__patlen - 1 - __p); | ^~~~~~~~~~~~~~ /usr/include/c++/12/functional:1327:13: error: ‘_M_good_suffix’ was not declared in this scope 1327 | _M_good_suffix[__pos] = __patlen - 1 - __p + __slen; | ^~~~~~~~~~~~~~ /usr/include/c++/12/functional: In member function ‘std::pair<_ForwardIterator2, _ForwardIterator2> std::boyer_moore_searcher<_RAIter, _Hash, _BinaryPredicate>::operator()(_RandomAccessIterator2, _RandomAccessIterator2) const’: /usr/include/c++/12/functional:1358:27: error: ‘_M_good_suffix’ was not declared in this scope 1358 | _M_good_suffix[__j]); | ^~~~~~~~~~~~~~ In file included from /usr/include/stxxl/bits/mng/block_prefetcher.h:22, from /usr/include/stxxl/bits/mng/buf_istream.h:17, from /usr/include/stxxl/bits/stream/stream.h:19, from /usr/include/stxxl/bits/containers/hash_map/hash_map.h:23: /usr/include/stxxl/bits/io/request.h: At global scope: /usr/include/stxxl/bits/io/request.h:39:1: error: expected class-name before ‘{’ token 39 | { | ^ /usr/include/stxxl/bits/io/request.h: In member function ‘void stxxl::request::check_nref(bool)’: /usr/include/stxxl/bits/io/request.h:99:13: error: ‘get_reference_count’ was not declared in this scope 99 | if (get_reference_count() < 2) | ^~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/io/request.h: At global scope: /usr/include/stxxl/bits/io/request.h:113:9: error: ‘counting_ptr’ does not name a type 113 | typedef counting_ptr request_ptr; | ^~~~~~~~~~~~ In file included from /usr/include/stxxl/bits/algo/ksort.h:23, from /usr/include/stxxl/ksort:14, from /usr/include/stxxl/algorithm:17, from /usr/include/stxxl/bits/common/simple_vector.h:18, from /usr/include/stxxl/bits/algo/sort.h:24, from /usr/include/stxxl/sort:14, from /usr/include/stxxl/algorithm:16, from /usr/include/stxxl/bits/common/utils.h:23, from /usr/include/stxxl/bits/common/timer.h:22, from /usr/include/stxxl/bits/io/iostats.h:25, from /usr/include/stxxl/bits/mng/block_prefetcher.h:23: /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:38:49: error: ‘striping’ does not name a type 38 | interleaved_striping(int_type _nruns, const striping& strategy) | ^~~~~~~~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h: In constructor ‘stxxl::interleaved_striping::interleaved_striping(stxxl::int_type, const int&)’: /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:39:45: error: request for member ‘begin’ in ‘strategy’, which is of non-class type ‘const int’ 39 | : nruns(_nruns), begindisk(strategy.begin), diff(strategy.diff) | ^~~~~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:39:67: error: request for member ‘diff’ in ‘strategy’, which is of non-class type ‘const int’ 39 | : nruns(_nruns), begindisk(strategy.begin), diff(strategy.diff) | ^~~~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h: At global scope: /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:53:43: error: ‘FR’ does not name a type 53 | interleaved_FR(int_type _nruns, const FR& strategy) | ^~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h: In constructor ‘stxxl::interleaved_FR::interleaved_FR(stxxl::int_type, const int&)’: /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:54:49: error: request for member ‘begin’ in ‘strategy’, which is of non-class type ‘const int’ 54 | : interleaved_striping(_nruns, strategy.begin, strategy.diff) | ^~~~~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:54:65: error: request for member ‘diff’ in ‘strategy’, which is of non-class type ‘const int’ 54 | : interleaved_striping(_nruns, strategy.begin, strategy.diff) | ^~~~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h: At global scope: /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:66:10: error: ‘vector’ in namespace ‘std’ does not name a template type 66 | std::vector offsets; | ^~~~~~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:18:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 17 | #include +++ |+#include 18 | /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:68:43: error: ‘SR’ does not name a type 68 | interleaved_SR(int_type _nruns, const SR& strategy) | ^~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h: In constructor ‘stxxl::interleaved_SR::interleaved_SR(stxxl::int_type, const int&)’: /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:69:49: error: request for member ‘begin’ in ‘strategy’, which is of non-class type ‘const int’ 69 | : interleaved_striping(_nruns, strategy.begin, strategy.diff) | ^~~~~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:69:65: error: request for member ‘diff’ in ‘strategy’, which is of non-class type ‘const int’ 69 | : interleaved_striping(_nruns, strategy.begin, strategy.diff) | ^~~~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:73:13: error: ‘offsets’ was not declared in this scope; did you mean ‘offsetof’? 73 | offsets.push_back(rnd(rnd_type::value_type(diff))); | ^~~~~~~ | offsetof /usr/include/stxxl/bits/mng/block_alloc_interleaved.h: In member function ‘stxxl::unsigned_type stxxl::interleaved_SR::operator()(stxxl::unsigned_type) const’: /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:78:41: error: ‘offsets’ was not declared in this scope; did you mean ‘offsetof’? 78 | return begindisk + (i / nruns + offsets[i % nruns]) % diff; | ^~~~~~~ | offsetof /usr/include/stxxl/bits/mng/block_alloc_interleaved.h: At global scope: /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:84:10: error: ‘vector’ in namespace ‘std’ does not name a template type 84 | std::vector > perms; | ^~~~~~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:84:5: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 84 | std::vector > perms; | ^~~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:86:43: error: ‘RC’ does not name a type 86 | interleaved_RC(int_type _nruns, const RC& strategy) | ^~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h: In constructor ‘stxxl::interleaved_RC::interleaved_RC(stxxl::int_type, const int&)’: /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:87:49: error: request for member ‘begin’ in ‘strategy’, which is of non-class type ‘const int’ 87 | : interleaved_striping(_nruns, strategy.begin, strategy.diff), | ^~~~~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:87:65: error: request for member ‘diff’ in ‘strategy’, which is of non-class type ‘const int’ 87 | : interleaved_striping(_nruns, strategy.begin, strategy.diff), | ^~~~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:88:11: error: class ‘stxxl::interleaved_RC’ does not have any field named ‘perms’ 88 | perms(nruns, std::vector(diff)) | ^~~~~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:88:29: error: ‘vector’ is not a member of ‘std’ 88 | perms(nruns, std::vector(diff)) | ^~~~~~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:88:29: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:88:49: error: expected primary-expression before ‘>’ token 88 | perms(nruns, std::vector(diff)) | ^ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:93:17: error: ‘perms’ was not declared in this scope 93 | perms[i][j] = j; | ^~~~~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:96:33: error: ‘perms’ was not declared in this scope 96 | std::random_shuffle(perms[i].begin(), perms[i].end(), rnd _STXXL_FORCE_SEQUENTIAL); | ^~~~~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:96:71: error: expected ‘)’ before ‘_STXXL_FORCE_SEQUENTIAL’ 96 | std::random_shuffle(perms[i].begin(), perms[i].end(), rnd _STXXL_FORCE_SEQUENTIAL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:96:32: note: to match this ‘(’ 96 | std::random_shuffle(perms[i].begin(), perms[i].end(), rnd _STXXL_FORCE_SEQUENTIAL); | ^ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h: In member function ‘stxxl::unsigned_type stxxl::interleaved_RC::operator()(stxxl::unsigned_type) const’: /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:102:28: error: ‘perms’ was not declared in this scope 102 | return begindisk + perms[i % nruns][(i / nruns) % diff]; | ^~~~~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h: At global scope: /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:108:44: error: ‘single_disk’ does not name a type 108 | first_disk_only(int_type _nruns, const single_disk& strategy) | ^~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h: In constructor ‘stxxl::first_disk_only::first_disk_only(stxxl::int_type, const int&)’: /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:109:49: error: request for member ‘disk’ in ‘strategy’, which is of non-class type ‘const int’ 109 | : interleaved_striping(_nruns, strategy.disk, 1) | ^~~~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h: At global scope: /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:123:33: error: ‘striping’ was not declared in this scope; did you mean ‘strspn’? 123 | struct interleaved_alloc_traits | ^~~~~~~~ | strspn /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:123:41: error: template argument 1 is invalid 123 | struct interleaved_alloc_traits | ^ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:129:33: error: ‘FR’ was not declared in this scope 129 | struct interleaved_alloc_traits | ^~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:129:35: error: template argument 1 is invalid 129 | struct interleaved_alloc_traits | ^ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:135:33: error: ‘SR’ was not declared in this scope 135 | struct interleaved_alloc_traits | ^~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:135:35: error: template argument 1 is invalid 135 | struct interleaved_alloc_traits | ^ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:141:33: error: ‘RC’ was not declared in this scope 141 | struct interleaved_alloc_traits | ^~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:141:35: error: template argument 1 is invalid 141 | struct interleaved_alloc_traits | ^ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:147:33: error: ‘RC_disk’ was not declared in this scope 147 | struct interleaved_alloc_traits | ^~~~~~~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:147:40: error: template argument 1 is invalid 147 | struct interleaved_alloc_traits | ^ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:154:33: error: ‘RC_flash’ was not declared in this scope 154 | struct interleaved_alloc_traits | ^~~~~~~~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:154:41: error: template argument 1 is invalid 154 | struct interleaved_alloc_traits | ^ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:161:33: error: ‘single_disk’ was not declared in this scope 161 | struct interleaved_alloc_traits | ^~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_alloc_interleaved.h:161:44: error: template argument 1 is invalid 161 | struct interleaved_alloc_traits | ^ In file included from /usr/include/stxxl/bits/containers/stack.h:21, from /usr/include/stxxl/stack:14, from /usr/include/stxxl/bits/algo/random_shuffle.h:24, from /usr/include/stxxl/algorithm:20, from /usr/include/stxxl/bits/algo/intksort.h:16, from /usr/include/stxxl/bits/algo/ksort.h:24: /usr/include/stxxl/bits/io/request_operations.h:43:13: error: variable or field ‘wait_all’ declared void 43 | inline void wait_all(request_ptr req_array[], size_t count) | ^~~~~~~~ /usr/include/stxxl/bits/io/request_operations.h:43:22: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 43 | inline void wait_all(request_ptr req_array[], size_t count) | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/io/request_operations.h:43:54: error: expected primary-expression before ‘count’ 43 | inline void wait_all(request_ptr req_array[], size_t count) | ^~~~~ /usr/include/stxxl/bits/io/request_operations.h:92:22: error: ‘bool stxxl::poll_any’ redeclared as different kind of entity 92 | inline bool poll_any(request_ptr req_array[], size_t count, size_t& index) | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/request_operations.h:75:17: note: previous declaration ‘template RequestIterator stxxl::poll_any(RequestIterator, RequestIterator)’ 75 | RequestIterator poll_any(RequestIterator reqs_begin, RequestIterator reqs_end) | ^~~~~~~~ /usr/include/stxxl/bits/io/request_operations.h:92:22: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 92 | inline bool poll_any(request_ptr req_array[], size_t count, size_t& index) | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/io/request_operations.h:92:54: error: expected primary-expression before ‘count’ 92 | inline bool poll_any(request_ptr req_array[], size_t count, size_t& index) | ^~~~~ /usr/include/stxxl/bits/io/request_operations.h:92:67: error: expected primary-expression before ‘&’ token 92 | inline bool poll_any(request_ptr req_array[], size_t count, size_t& index) | ^ /usr/include/stxxl/bits/io/request_operations.h: In function ‘RequestIterator stxxl::wait_any(RequestIterator, RequestIterator)’: /usr/include/stxxl/bits/io/request_operations.h:106:5: error: ‘stats’ has not been declared 106 | stats::scoped_wait_timer wait_timer(stats::WAIT_OP_ANY); | ^~~~~ /usr/include/stxxl/bits/io/request_operations.h: At global scope: /usr/include/stxxl/bits/io/request_operations.h:149:24: error: ‘size_t stxxl::wait_any’ redeclared as different kind of entity 149 | inline size_t wait_any(request_ptr req_array[], size_t count) | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/request_operations.h:104:17: note: previous declaration ‘template RequestIterator stxxl::wait_any(RequestIterator, RequestIterator)’ 104 | RequestIterator wait_any(RequestIterator reqs_begin, RequestIterator reqs_end) | ^~~~~~~~ /usr/include/stxxl/bits/io/request_operations.h:149:24: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 149 | inline size_t wait_any(request_ptr req_array[], size_t count) | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/io/request_operations.h:149:56: error: expected primary-expression before ‘count’ 149 | inline size_t wait_any(request_ptr req_array[], size_t count) | ^~~~~ In file included from /usr/include/stxxl/bits/containers/stack.h:23: /usr/include/stxxl/bits/mng/typed_block.h:139:13: error: ‘BID’ does not name a type 139 | typedef BID bid_type; | ^~~ /usr/include/stxxl/bits/mng/typed_block.h:142:5: error: ‘bid_type’ does not name a type 142 | bid_type ref[nbids]; | ^~~~~~~~ /usr/include/stxxl/bits/mng/typed_block.h:145:5: error: ‘bid_type’ does not name a type 145 | bid_type& operator () (size_t i) | ^~~~~~~~ /usr/include/stxxl/bits/mng/typed_block.h:164:13: error: ‘BID’ does not name a type 164 | typedef BID bid_type; | ^~~ /usr/include/stxxl/bits/mng/typed_block.h:172:52: error: ‘BID’ was not declared in this scope 172 | : public block_w_bids)* NBids - sizeof(MetaInfoType)) / sizeof(Type)), RawSize, NBids> | ^~~ /usr/include/stxxl/bits/mng/typed_block.h:172:64: error: expected primary-expression before ‘)’ token 172 | : public block_w_bids)* NBids - sizeof(MetaInfoType)) / sizeof(Type)), RawSize, NBids> | ^ /usr/include/stxxl/bits/mng/typed_block.h:172:128: error: template argument 2 is invalid 172 | : public block_w_bids)* NBids - sizeof(MetaInfoType)) / sizeof(Type)), RawSize, NBids> | ^ /usr/include/stxxl/bits/mng/typed_block.h:186:52: error: ‘BID’ was not declared in this scope 186 | : public block_w_bids)* NBids) / sizeof(Type)), RawSize, NBids> | ^~~ /usr/include/stxxl/bits/mng/typed_block.h:186:64: error: expected primary-expression before ‘)’ token 186 | : public block_w_bids)* NBids) / sizeof(Type)), RawSize, NBids> | ^ /usr/include/stxxl/bits/mng/typed_block.h:186:105: error: template argument 2 is invalid 186 | : public block_w_bids)* NBids) / sizeof(Type)), RawSize, NBids> | ^ /usr/include/stxxl/bits/mng/typed_block.h:258:13: error: ‘BID’ does not name a type 258 | typedef BID bid_type; | ^~~ /usr/include/stxxl/bits/mng/typed_block.h:283:5: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 283 | request_ptr write(const bid_type& bid, | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/mng/typed_block.h:295:5: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 295 | request_ptr read(const bid_type& bid, | ^~~~~~~~~~~ | request In file included from /usr/include/stxxl/bits/mng/read_write_pool.h:16, from /usr/include/stxxl/bits/containers/stack.h:27: /usr/include/stxxl/bits/mng/write_pool.h:42:9: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 42 | request_ptr req; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/mng/write_pool.h:47:37: error: ‘request_ptr’ has not been declared 47 | busy_entry(block_type*& bl, request_ptr& r, bid_type& bi) | ^~~~~~~~~~~ /usr/include/stxxl/bits/mng/write_pool.h:50:18: error: expected type-specifier before ‘request_ptr’ 50 | operator request_ptr () { return req; } | ^~~~~~~~~~~ /usr/include/stxxl/bits/mng/write_pool.h:116:5: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 116 | request_ptr write(block_type*& block, bid_type bid) | ^~~~~~~~~~~ | request In file included from /usr/include/stxxl/bits/containers/queue.h:21: /usr/include/stxxl/bits/mng/write_pool.h:186:5: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 186 | STXXL_DEPRECATED(request_ptr get_request(bid_type bid)) | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/write_pool.h:224:28: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 224 | std::pair steal_request(bid_type bid) | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/mng/write_pool.h:224:39: error: template argument 2 is invalid 224 | std::pair steal_request(bid_type bid) | ^ /usr/include/stxxl/bits/mng/write_pool.h: In copy constructor ‘stxxl::write_pool::busy_entry::busy_entry(const stxxl::write_pool::busy_entry&)’: /usr/include/stxxl/bits/mng/write_pool.h:46:59: error: class ‘stxxl::write_pool::busy_entry’ does not have any field named ‘req’ 46 | busy_entry(const busy_entry& a) : block(a.block), req(a.req), bid(a.bid) { } | ^~~ /usr/include/stxxl/bits/mng/write_pool.h: In constructor ‘stxxl::write_pool::busy_entry::busy_entry(stxxl::write_pool::block_type*&, int&, stxxl::write_pool::bid_type&)’: /usr/include/stxxl/bits/mng/write_pool.h:48:26: error: class ‘stxxl::write_pool::busy_entry’ does not have any field named ‘req’ 48 | : block(bl), req(r), bid(bi) { } | ^~~ /usr/include/stxxl/bits/mng/write_pool.h: In member function ‘int stxxl::write_pool::steal_request(bid_type)’: /usr/include/stxxl/bits/mng/write_pool.h:232:17: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 232 | request_ptr req = i2->req; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/mng/write_pool.h:237:65: error: ‘req’ was not declared in this scope 237 | return std::pair(blk, req); | ^~~ /usr/include/stxxl/bits/mng/write_pool.h:242:39: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 242 | return std::pair((block_type*)NULL, request_ptr()); | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/mng/write_pool.h:242:50: error: template argument 2 is invalid 242 | return std::pair((block_type*)NULL, request_ptr()); | ^ In file included from /usr/include/stxxl/bits/mng/read_write_pool.h:17: /usr/include/stxxl/bits/mng/prefetch_pool.h: At global scope: /usr/include/stxxl/bits/mng/prefetch_pool.h:56:36: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 56 | typedef std::pair busy_entry; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/mng/prefetch_pool.h:56:47: error: template argument 2 is invalid 56 | typedef std::pair busy_entry; | ^ /usr/include/stxxl/bits/mng/prefetch_pool.h:57:22: error: expected nested-name-specifier before ‘compat_hash_map’ 57 | typedef typename compat_hash_map::result hash_map_type; | ^~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/prefetch_pool.h:57:22: error: expected ‘;’ at end of member declaration 57 | typedef typename compat_hash_map::result hash_map_type; | ^~~~~~~~~~~~~~~ | ; /usr/include/stxxl/bits/mng/prefetch_pool.h:57:37: error: expected unqualified-id before ‘<’ token 57 | typedef typename compat_hash_map::result hash_map_type; | ^ /usr/include/stxxl/bits/mng/prefetch_pool.h:59:22: error: ‘hash_map_type’ has not been declared 59 | typedef typename hash_map_type::iterator busy_blocks_iterator; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/prefetch_pool.h:64:5: error: ‘hash_map_type’ does not name a type 64 | hash_map_type busy_blocks; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/prefetch_pool.h:200:5: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 200 | request_ptr read(block_type*& block, bid_type bid) | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/mng/prefetch_pool.h:220:5: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 220 | request_ptr read(block_type*& block, bid_type bid, write_pool& w_pool) | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/mng/prefetch_pool.h: In member function ‘void stxxl::prefetch_pool::swap(stxxl::prefetch_pool&)’: /usr/include/stxxl/bits/mng/prefetch_pool.h:81:19: error: ‘busy_blocks’ was not declared in this scope 81 | std::swap(busy_blocks, obj.busy_blocks); | ^~~~~~~~~~~ /usr/include/stxxl/bits/mng/prefetch_pool.h: In destructor ‘virtual stxxl::prefetch_pool::~prefetch_pool()’: /usr/include/stxxl/bits/mng/prefetch_pool.h:96:39: error: ‘busy_blocks’ was not declared in this scope 96 | busy_blocks_iterator i2 = busy_blocks.begin(); | ^~~~~~~~~~~ /usr/include/stxxl/bits/mng/prefetch_pool.h:99:19: error: base operand of ‘->’ is not a pointer 99 | i2->second.second->wait(); | ^~ /usr/include/stxxl/bits/mng/prefetch_pool.h:100:26: error: base operand of ‘->’ is not a pointer 100 | delete i2->second.first; | ^~ /usr/include/stxxl/bits/mng/prefetch_pool.h: In member function ‘stxxl::unsigned_type stxxl::prefetch_pool::size() const’: /usr/include/stxxl/bits/mng/prefetch_pool.h:109:33: error: ‘busy_blocks’ was not declared in this scope 109 | { return free_blocks_size + busy_blocks.size(); } | ^~~~~~~~~~~ /usr/include/stxxl/bits/mng/prefetch_pool.h: In member function ‘bool stxxl::prefetch_pool::hint(bid_type)’: /usr/include/stxxl/bits/mng/prefetch_pool.h:132:13: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 132 | request_ptr req = block->read(bid); | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/mng/prefetch_pool.h:133:13: error: ‘busy_blocks’ was not declared in this scope 133 | busy_blocks[bid] = busy_entry(block, req); | ^~~~~~~~~~~ /usr/include/stxxl/bits/mng/prefetch_pool.h:133:50: error: ‘req’ was not declared in this scope 133 | busy_blocks[bid] = busy_entry(block, req); | ^~~ In file included from /usr/include/stxxl/bits/containers/btree/iterator.h:18: /usr/include/stxxl/bits/mng/prefetch_pool.h: In member function ‘bool stxxl::prefetch_pool::hint(bid_type, stxxl::write_pool&)’: /usr/include/stxxl/bits/mng/prefetch_pool.h:156:17: error: request for member ‘first’ in ‘wp_request’, which is of non-class type ‘stxxl::prefetch_pool::busy_entry’ {aka ‘int’} 156 | STXXL_VERBOSE1("prefetch_pool::hint2 bid=" << bid << " was in write cache at " << wp_request.first); | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/12/cassert:44, from /usr/include/stxxl/bits/common/aligned_alloc.h:18, from /usr/include/stxxl/bits/mng/typed_block.h:23: /usr/include/stxxl/bits/mng/prefetch_pool.h:157:17: error: request for member ‘first’ in ‘wp_request’, which is of non-class type ‘stxxl::prefetch_pool::busy_entry’ {aka ‘int’} 157 | assert(wp_request.first != 0); | ^~~~~~ /usr/include/stxxl/bits/mng/prefetch_pool.h:159:17: error: ‘busy_blocks’ was not declared in this scope 159 | busy_blocks[bid] = wp_request; | ^~~~~~~~~~~ /usr/include/stxxl/bits/mng/prefetch_pool.h:163:13: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 163 | request_ptr req = block->read(bid); | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/mng/prefetch_pool.h:164:13: error: ‘busy_blocks’ was not declared in this scope 164 | busy_blocks[bid] = busy_entry(block, req); | ^~~~~~~~~~~ /usr/include/stxxl/bits/mng/prefetch_pool.h:164:50: error: ‘req’ was not declared in this scope 164 | busy_blocks[bid] = busy_entry(block, req); | ^~~ /usr/include/stxxl/bits/mng/prefetch_pool.h: In member function ‘bool stxxl::prefetch_pool::invalidate(bid_type)’: /usr/include/stxxl/bits/mng/prefetch_pool.h:173:41: error: ‘busy_blocks’ was not declared in this scope 173 | busy_blocks_iterator cache_el = busy_blocks.find(bid); | ^~~~~~~~~~~ /usr/include/stxxl/bits/mng/prefetch_pool.h:179:21: error: base operand of ‘->’ is not a pointer 179 | if (cache_el->second.second->get_type() == request::READ) | ^~ /usr/include/stxxl/bits/mng/prefetch_pool.h:180:21: error: base operand of ‘->’ is not a pointer 180 | cache_el->second.second->cancel(); | ^~ /usr/include/stxxl/bits/mng/prefetch_pool.h:182:17: error: base operand of ‘->’ is not a pointer 182 | cache_el->second.second->wait(); | ^~ /usr/include/stxxl/bits/mng/prefetch_pool.h:184:39: error: base operand of ‘->’ is not a pointer 184 | free_blocks.push_back(cache_el->second.first); | ^~ /usr/include/stxxl/bits/mng/prefetch_pool.h: In member function ‘bool stxxl::prefetch_pool::in_prefetching(bid_type)’: /usr/include/stxxl/bits/mng/prefetch_pool.h:191:17: error: ‘busy_blocks’ was not declared in this scope 191 | return (busy_blocks.find(bid) != busy_blocks.end()); | ^~~~~~~~~~~ /usr/include/stxxl/bits/mng/read_write_pool.h: At global scope: /usr/include/stxxl/bits/mng/read_write_pool.h:100:5: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 100 | request_ptr write(block_type*& block, bid_type bid) | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/mng/read_write_pool.h:149:5: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 149 | request_ptr read(block_type*& block, bid_type bid) | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/containers/stack.h:40:66: error: expected primary-expression before ‘)’ token 40 | unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), | ^ /usr/include/stxxl/bits/containers/stack.h:41:28: error: ‘STXXL_DEFAULT_ALLOC_STRATEGY’ does not name a type 41 | class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:41:28: note: the macro ‘STXXL_DEFAULT_ALLOC_STRATEGY’ had not yet been defined In file included from /usr/include/stxxl/bits/mng/block_manager.h:43: /usr/include/stxxl/bits/mng/block_alloc.h:258: note: it was later defined here 258 | #define STXXL_DEFAULT_ALLOC_STRATEGY stxxl::RC | /usr/include/stxxl/bits/containers/stack.h:77:13: error: ‘BID’ does not name a type 77 | typedef BID bid_type; | ^~~ /usr/include/stxxl/bits/containers/stack.h:83:5: error: ‘simple_vector’ does not name a type 83 | simple_vector cache; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:84:14: error: expected nested-name-specifier before ‘simple_vector’ 84 | typename simple_vector::iterator front_page; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:84:14: error: expected ‘;’ at end of member declaration 84 | typename simple_vector::iterator front_page; | ^~~~~~~~~~~~~ | ; /usr/include/stxxl/bits/containers/stack.h:84:27: error: expected unqualified-id before ‘<’ token 84 | typename simple_vector::iterator front_page; | ^ /usr/include/stxxl/bits/containers/stack.h:85:14: error: expected nested-name-specifier before ‘simple_vector’ 85 | typename simple_vector::iterator back_page; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:85:14: error: expected ‘;’ at end of member declaration 85 | typename simple_vector::iterator back_page; | ^~~~~~~~~~~~~ | ; /usr/include/stxxl/bits/containers/stack.h:85:14: error: redeclaration of ‘int stxxl::normal_stack::simple_vector’ /usr/include/stxxl/bits/containers/stack.h:84:14: note: previous declaration ‘int stxxl::normal_stack::simple_vector’ 84 | typename simple_vector::iterator front_page; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:85:27: error: expected unqualified-id before ‘<’ token 85 | typename simple_vector::iterator back_page; | ^ /usr/include/stxxl/bits/containers/stack.h:86:10: error: ‘vector’ in namespace ‘std’ does not name a template type 86 | std::vector bids; | ^~~~~~ /usr/include/stxxl/bits/containers/stack.h:28:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 27 | #include +++ |+#include 28 | #include /usr/include/stxxl/bits/containers/stack.h: In constructor ‘stxxl::normal_stack::normal_stack()’: /usr/include/stxxl/bits/containers/stack.h:98:11: error: class ‘stxxl::normal_stack’ does not have any field named ‘cache’ 98 | cache(blocks_per_page * 2), | ^~~~~ /usr/include/stxxl/bits/containers/stack.h:99:11: error: class ‘stxxl::normal_stack’ does not have any field named ‘front_page’ 99 | front_page(cache.begin() + blocks_per_page), | ^~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:99:22: error: ‘cache’ was not declared in this scope 99 | front_page(cache.begin() + blocks_per_page), | ^~~~~ /usr/include/stxxl/bits/containers/stack.h:100:11: error: class ‘stxxl::normal_stack’ does not have any field named ‘back_page’ 100 | back_page(cache.begin()), | ^~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:101:11: error: class ‘stxxl::normal_stack’ does not have any field named ‘bids’ 101 | bids(0) | ^~~~ /usr/include/stxxl/bits/containers/stack.h:103:9: error: ‘bids’ was not declared in this scope 103 | bids.reserve(blocks_per_page); | ^~~~ /usr/include/stxxl/bits/containers/stack.h: In member function ‘void stxxl::normal_stack::swap(stxxl::normal_stack&)’: /usr/include/stxxl/bits/containers/stack.h:114:19: error: ‘cache’ was not declared in this scope 114 | std::swap(cache, obj.cache); | ^~~~~ /usr/include/stxxl/bits/containers/stack.h:115:19: error: ‘front_page’ was not declared in this scope 115 | std::swap(front_page, obj.front_page); | ^~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:116:19: error: ‘back_page’ was not declared in this scope 116 | std::swap(back_page, obj.back_page); | ^~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:117:19: error: ‘bids’ was not declared in this scope 117 | std::swap(bids, obj.bids); | ^~~~ /usr/include/stxxl/bits/containers/stack.h: In constructor ‘stxxl::normal_stack::normal_stack(const StackType&)’: /usr/include/stxxl/bits/containers/stack.h:134:11: error: class ‘stxxl::normal_stack’ does not have any field named ‘cache’ 134 | cache(blocks_per_page * 2), | ^~~~~ /usr/include/stxxl/bits/containers/stack.h:135:11: error: class ‘stxxl::normal_stack’ does not have any field named ‘front_page’ 135 | front_page(cache.begin() + blocks_per_page), | ^~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:135:22: error: ‘cache’ was not declared in this scope 135 | front_page(cache.begin() + blocks_per_page), | ^~~~~ /usr/include/stxxl/bits/containers/stack.h:136:11: error: class ‘stxxl::normal_stack’ does not have any field named ‘back_page’ 136 | back_page(cache.begin()), | ^~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:137:11: error: class ‘stxxl::normal_stack’ does not have any field named ‘bids’ 137 | bids(0) | ^~~~ /usr/include/stxxl/bits/containers/stack.h:139:9: error: ‘bids’ was not declared in this scope 139 | bids.reserve(blocks_per_page); | ^~~~ /usr/include/stxxl/bits/containers/stack.h:144:14: error: ‘vector’ is not a member of ‘std’ 144 | std::vector tmp(sz); | ^~~~~~ /usr/include/stxxl/bits/containers/stack.h:144:14: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/stack.h:144:31: error: expected primary-expression before ‘>’ token 144 | std::vector tmp(sz); | ^ /usr/include/stxxl/bits/containers/stack.h:147:13: error: ‘tmp’ was not declared in this scope; did you mean ‘top’? 147 | tmp[sz - i - 1] = stack_copy.top(); | ^~~ | top /usr/include/stxxl/bits/containers/stack.h:152:18: error: ‘tmp’ was not declared in this scope; did you mean ‘top’? 152 | push(tmp[i]); | ^~~ | top /usr/include/stxxl/bits/containers/stack.h: In destructor ‘virtual stxxl::normal_stack::~normal_stack()’: /usr/include/stxxl/bits/containers/stack.h:158:9: error: ‘block_manager’ has not been declared 158 | block_manager::get_instance()->delete_blocks(bids.begin(), bids.end()); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:158:54: error: ‘bids’ was not declared in this scope 158 | block_manager::get_instance()->delete_blocks(bids.begin(), bids.end()); | ^~~~ /usr/include/stxxl/bits/containers/stack.h: In member function ‘void stxxl::normal_stack::push(const value_type&)’: /usr/include/stxxl/bits/containers/stack.h:210:13: error: ‘bids’ was not declared in this scope 210 | bids.resize(bids.size() + blocks_per_page); | ^~~~ /usr/include/stxxl/bits/containers/stack.h:211:27: error: ‘vector’ in namespace ‘std’ does not name a template type 211 | typename std::vector::iterator cur_bid = bids.end() - blocks_per_page; | ^~~~~~ /usr/include/stxxl/bits/containers/stack.h:211:27: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/stack.h:211:33: error: expected unqualified-id before ‘<’ token 211 | typename std::vector::iterator cur_bid = bids.end() - blocks_per_page; | ^ /usr/include/stxxl/bits/containers/stack.h:212:13: error: ‘block_manager’ has not been declared 212 | block_manager::get_instance()->new_blocks(alloc_strategy, cur_bid, bids.end(), cur_bid - bids.begin()); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:212:71: error: ‘cur_bid’ was not declared in this scope 212 | block_manager::get_instance()->new_blocks(alloc_strategy, cur_bid, bids.end(), cur_bid - bids.begin()); | ^~~~~~~ /usr/include/stxxl/bits/containers/stack.h:214:27: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 214 | simple_vector requests(blocks_per_page); | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/containers/stack.h:218:17: error: ‘requests’ was not declared in this scope; did you mean ‘request’? 218 | requests[i] = (back_page + i)->write(*cur_bid); | ^~~~~~~~ | request /usr/include/stxxl/bits/containers/stack.h:218:32: error: ‘back_page’ was not declared in this scope 218 | requests[i] = (back_page + i)->write(*cur_bid); | ^~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:221:23: error: ‘back_page’ was not declared in this scope 221 | std::swap(back_page, front_page); | ^~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:221:34: error: ‘front_page’ was not declared in this scope 221 | std::swap(back_page, front_page); | ^~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:229:22: error: ‘requests’ was not declared in this scope; did you mean ‘request’? 229 | wait_all(requests.begin(), blocks_per_page); | ^~~~~~~~ | request /usr/include/stxxl/bits/containers/stack.h: In member function ‘void stxxl::normal_stack::pop()’: /usr/include/stxxl/bits/containers/stack.h:250:43: error: ‘bids’ was not declared in this scope 250 | if (UNLIKELY(cache_offset == 1 && bids.size() >= blocks_per_page)) | ^~~~ /usr/include/stxxl/bits/containers/stack.h:254:27: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 254 | simple_vector requests(blocks_per_page); | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/containers/stack.h:257:31: error: ‘vector’ in namespace ‘std’ does not name a template type 257 | typename std::vector::const_iterator cur_bid = bids.end(); | ^~~~~~ /usr/include/stxxl/bits/containers/stack.h:257:31: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/stack.h:257:37: error: expected unqualified-id before ‘<’ token 257 | typename std::vector::const_iterator cur_bid = bids.end(); | ^ /usr/include/stxxl/bits/containers/stack.h:260:21: error: ‘requests’ was not declared in this scope; did you mean ‘request’? 260 | requests[i] = (front_page + i)->read(*(--cur_bid)); | ^~~~~~~~ | request /usr/include/stxxl/bits/containers/stack.h:260:36: error: ‘front_page’ was not declared in this scope 260 | requests[i] = (front_page + i)->read(*(--cur_bid)); | ^~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:260:62: error: ‘cur_bid’ was not declared in this scope 260 | requests[i] = (front_page + i)->read(*(--cur_bid)); | ^~~~~~~ /usr/include/stxxl/bits/containers/stack.h:264:23: error: ‘front_page’ was not declared in this scope 264 | std::swap(front_page, back_page); | ^~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:264:35: error: ‘back_page’ was not declared in this scope 264 | std::swap(front_page, back_page); | ^~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:270:22: error: ‘requests’ was not declared in this scope; did you mean ‘request’? 270 | wait_all(requests.begin(), blocks_per_page); | ^~~~~~~~ | request /usr/include/stxxl/bits/containers/stack.h:272:13: error: ‘block_manager’ has not been declared 272 | block_manager::get_instance()->delete_blocks(bids.end() - blocks_per_page, bids.end()); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h: In member function ‘stxxl::normal_stack::value_type* stxxl::normal_stack::element(stxxl::unsigned_type)’: /usr/include/stxxl/bits/containers/stack.h:289:25: error: ‘back_page’ was not declared in this scope 289 | return &((*(back_page + offset / block_type::size))[offset % block_type::size]); | ^~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:292:21: error: ‘front_page’ was not declared in this scope 292 | return &((*(front_page + unbiased_offset / block_type::size))[unbiased_offset % block_type::size]); | ^~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h: At global scope: /usr/include/stxxl/bits/containers/stack.h:318:13: error: ‘BID’ does not name a type 318 | typedef BID bid_type; | ^~~ /usr/include/stxxl/bits/containers/stack.h:324:5: error: ‘simple_vector’ does not name a type 324 | simple_vector cache; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:325:14: error: expected nested-name-specifier before ‘simple_vector’ 325 | typename simple_vector::iterator cache_buffers; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:325:14: error: expected ‘;’ at end of member declaration 325 | typename simple_vector::iterator cache_buffers; | ^~~~~~~~~~~~~ | ; /usr/include/stxxl/bits/containers/stack.h:325:27: error: expected unqualified-id before ‘<’ token 325 | typename simple_vector::iterator cache_buffers; | ^ /usr/include/stxxl/bits/containers/stack.h:326:14: error: expected nested-name-specifier before ‘simple_vector’ 326 | typename simple_vector::iterator overlap_buffers; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:326:14: error: expected ‘;’ at end of member declaration 326 | typename simple_vector::iterator overlap_buffers; | ^~~~~~~~~~~~~ | ; /usr/include/stxxl/bits/containers/stack.h:326:14: error: redeclaration of ‘int stxxl::grow_shrink_stack::simple_vector’ /usr/include/stxxl/bits/containers/stack.h:325:14: note: previous declaration ‘int stxxl::grow_shrink_stack::simple_vector’ 325 | typename simple_vector::iterator cache_buffers; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:326:27: error: expected unqualified-id before ‘<’ token 326 | typename simple_vector::iterator overlap_buffers; | ^ /usr/include/stxxl/bits/containers/stack.h:327:5: error: ‘simple_vector’ does not name a type 327 | simple_vector requests; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:328:10: error: ‘vector’ in namespace ‘std’ does not name a template type 328 | std::vector bids; | ^~~~~~ /usr/include/stxxl/bits/containers/stack.h:328:5: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 328 | std::vector bids; | ^~~ /usr/include/stxxl/bits/containers/stack.h: In constructor ‘stxxl::grow_shrink_stack::grow_shrink_stack()’: /usr/include/stxxl/bits/containers/stack.h:340:11: error: class ‘stxxl::grow_shrink_stack’ does not have any field named ‘cache’ 340 | cache(blocks_per_page * 2), | ^~~~~ /usr/include/stxxl/bits/containers/stack.h:341:11: error: class ‘stxxl::grow_shrink_stack’ does not have any field named ‘cache_buffers’ 341 | cache_buffers(cache.begin()), | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:341:25: error: ‘cache’ was not declared in this scope 341 | cache_buffers(cache.begin()), | ^~~~~ /usr/include/stxxl/bits/containers/stack.h:342:11: error: class ‘stxxl::grow_shrink_stack’ does not have any field named ‘overlap_buffers’ 342 | overlap_buffers(cache.begin() + blocks_per_page), | ^~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:343:11: error: class ‘stxxl::grow_shrink_stack’ does not have any field named ‘requests’ 343 | requests(blocks_per_page), | ^~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:344:11: error: class ‘stxxl::grow_shrink_stack’ does not have any field named ‘bids’ 344 | bids(0) | ^~~~ /usr/include/stxxl/bits/containers/stack.h:346:9: error: ‘bids’ was not declared in this scope 346 | bids.reserve(blocks_per_page); | ^~~~ /usr/include/stxxl/bits/containers/stack.h: In member function ‘void stxxl::grow_shrink_stack::swap(stxxl::grow_shrink_stack&)’: /usr/include/stxxl/bits/containers/stack.h:359:19: error: ‘cache’ was not declared in this scope 359 | std::swap(cache, obj.cache); | ^~~~~ /usr/include/stxxl/bits/containers/stack.h:360:19: error: ‘cache_buffers’ was not declared in this scope 360 | std::swap(cache_buffers, obj.cache_buffers); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:361:19: error: ‘overlap_buffers’ was not declared in this scope 361 | std::swap(overlap_buffers, obj.overlap_buffers); | ^~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:362:19: error: ‘requests’ was not declared in this scope; did you mean ‘request’? 362 | std::swap(requests, obj.requests); | ^~~~~~~~ | request /usr/include/stxxl/bits/containers/stack.h:363:19: error: ‘bids’ was not declared in this scope 363 | std::swap(bids, obj.bids); | ^~~~ /usr/include/stxxl/bits/containers/stack.h: In constructor ‘stxxl::grow_shrink_stack::grow_shrink_stack(const StackType&)’: /usr/include/stxxl/bits/containers/stack.h:380:11: error: class ‘stxxl::grow_shrink_stack’ does not have any field named ‘cache’ 380 | cache(blocks_per_page * 2), | ^~~~~ /usr/include/stxxl/bits/containers/stack.h:381:11: error: class ‘stxxl::grow_shrink_stack’ does not have any field named ‘cache_buffers’ 381 | cache_buffers(cache.begin()), | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:381:25: error: ‘cache’ was not declared in this scope 381 | cache_buffers(cache.begin()), | ^~~~~ /usr/include/stxxl/bits/containers/stack.h:382:11: error: class ‘stxxl::grow_shrink_stack’ does not have any field named ‘overlap_buffers’ 382 | overlap_buffers(cache.begin() + blocks_per_page), | ^~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:383:11: error: class ‘stxxl::grow_shrink_stack’ does not have any field named ‘requests’ 383 | requests(blocks_per_page), | ^~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:384:11: error: class ‘stxxl::grow_shrink_stack’ does not have any field named ‘bids’ 384 | bids(0) | ^~~~ /usr/include/stxxl/bits/containers/stack.h:386:9: error: ‘bids’ was not declared in this scope 386 | bids.reserve(blocks_per_page); | ^~~~ /usr/include/stxxl/bits/containers/stack.h:391:14: error: ‘vector’ is not a member of ‘std’ 391 | std::vector tmp(sz); | ^~~~~~ /usr/include/stxxl/bits/containers/stack.h:391:14: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/stack.h:391:31: error: expected primary-expression before ‘>’ token 391 | std::vector tmp(sz); | ^ /usr/include/stxxl/bits/containers/stack.h:395:13: error: ‘tmp’ was not declared in this scope; did you mean ‘top’? 395 | tmp[sz - i - 1] = stack_copy.top(); | ^~~ | top /usr/include/stxxl/bits/containers/stack.h:400:18: error: ‘tmp’ was not declared in this scope; did you mean ‘top’? 400 | push(tmp[i]); | ^~~ | top /usr/include/stxxl/bits/containers/stack.h: In destructor ‘virtual stxxl::grow_shrink_stack::~grow_shrink_stack()’: /usr/include/stxxl/bits/containers/stack.h:407:17: error: ‘requests’ was not declared in this scope; did you mean ‘request’? 407 | if (requests[0].get()) | ^~~~~~~~ | request /usr/include/stxxl/bits/containers/stack.h:412:9: error: ‘block_manager’ has not been declared 412 | block_manager::get_instance()->delete_blocks(bids.begin(), bids.end()); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:412:54: error: ‘bids’ was not declared in this scope 412 | block_manager::get_instance()->delete_blocks(bids.begin(), bids.end()); | ^~~~ /usr/include/stxxl/bits/containers/stack.h: In member function ‘void stxxl::grow_shrink_stack::push(const value_type&)’: /usr/include/stxxl/bits/containers/stack.h:463:13: error: ‘bids’ was not declared in this scope 463 | bids.resize(bids.size() + blocks_per_page); | ^~~~ /usr/include/stxxl/bits/containers/stack.h:464:27: error: ‘vector’ in namespace ‘std’ does not name a template type 464 | typename std::vector::iterator cur_bid = bids.end() - blocks_per_page; | ^~~~~~ /usr/include/stxxl/bits/containers/stack.h:464:27: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/stack.h:464:33: error: expected unqualified-id before ‘<’ token 464 | typename std::vector::iterator cur_bid = bids.end() - blocks_per_page; | ^ /usr/include/stxxl/bits/containers/stack.h:465:13: error: ‘block_manager’ has not been declared 465 | block_manager::get_instance()->new_blocks(alloc_strategy, cur_bid, bids.end(), cur_bid - bids.begin()); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:465:71: error: ‘cur_bid’ was not declared in this scope 465 | block_manager::get_instance()->new_blocks(alloc_strategy, cur_bid, bids.end(), cur_bid - bids.begin()); | ^~~~~~~ /usr/include/stxxl/bits/containers/stack.h:469:21: error: ‘requests’ was not declared in this scope; did you mean ‘request’? 469 | if (requests[i].get()) | ^~~~~~~~ | request /usr/include/stxxl/bits/containers/stack.h:472:17: error: ‘requests’ was not declared in this scope; did you mean ‘request’? 472 | requests[i] = (cache_buffers + i)->write(*cur_bid); | ^~~~~~~~ | request /usr/include/stxxl/bits/containers/stack.h:472:32: error: ‘cache_buffers’ was not declared in this scope 472 | requests[i] = (cache_buffers + i)->write(*cur_bid); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:475:23: error: ‘cache_buffers’ was not declared in this scope 475 | std::swap(cache_buffers, overlap_buffers); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:475:38: error: ‘overlap_buffers’ was not declared in this scope 475 | std::swap(cache_buffers, overlap_buffers); | ^~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:488:32: error: ‘cache_buffers’ was not declared in this scope 488 | current_element = &((*(cache_buffers + cache_offset / block_type::size))[cache_offset % block_type::size]); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h: In member function ‘void stxxl::grow_shrink_stack::pop()’: /usr/include/stxxl/bits/containers/stack.h:502:43: error: ‘bids’ was not declared in this scope 502 | if (UNLIKELY(cache_offset == 1 && bids.size() >= blocks_per_page)) | ^~~~ /usr/include/stxxl/bits/containers/stack.h:506:17: error: ‘requests’ was not declared in this scope; did you mean ‘request’? 506 | if (requests[0].get()) | ^~~~~~~~ | request /usr/include/stxxl/bits/containers/stack.h:509:23: error: ‘cache_buffers’ was not declared in this scope 509 | std::swap(cache_buffers, overlap_buffers); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:509:38: error: ‘overlap_buffers’ was not declared in this scope 509 | std::swap(cache_buffers, overlap_buffers); | ^~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:514:31: error: ‘vector’ in namespace ‘std’ does not name a template type 514 | typename std::vector::const_iterator cur_bid = bids.end() - blocks_per_page; | ^~~~~~ /usr/include/stxxl/bits/containers/stack.h:514:31: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/stack.h:514:37: error: expected unqualified-id before ‘<’ token 514 | typename std::vector::const_iterator cur_bid = bids.end() - blocks_per_page; | ^ /usr/include/stxxl/bits/containers/stack.h:516:21: error: ‘requests’ was not declared in this scope; did you mean ‘request’? 516 | requests[i] = (overlap_buffers + i)->read(*(--cur_bid)); | ^~~~~~~~ | request /usr/include/stxxl/bits/containers/stack.h:516:67: error: ‘cur_bid’ was not declared in this scope 516 | requests[i] = (overlap_buffers + i)->read(*(--cur_bid)); | ^~~~~~~ /usr/include/stxxl/bits/containers/stack.h:519:13: error: ‘block_manager’ has not been declared 519 | block_manager::get_instance()->delete_blocks(bids.end() - blocks_per_page, bids.end()); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:531:32: error: ‘cache_buffers’ was not declared in this scope 531 | current_element = &((*(cache_buffers + cur_offset / block_type::size))[cur_offset % block_type::size]); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h: At global scope: /usr/include/stxxl/bits/containers/stack.h:556:13: error: ‘BID’ does not name a type 556 | typedef BID bid_type; | ^~~ /usr/include/stxxl/bits/containers/stack.h:564:10: error: ‘vector’ in namespace ‘std’ does not name a template type 564 | std::vector bids; | ^~~~~~ /usr/include/stxxl/bits/containers/stack.h:564:5: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 564 | std::vector bids; | ^~~ /usr/include/stxxl/bits/containers/stack.h: In member function ‘void stxxl::grow_shrink_stack2::swap(stxxl::grow_shrink_stack2&)’: /usr/include/stxxl/bits/containers/stack.h:623:19: error: ‘bids’ was not declared in this scope 623 | std::swap(bids, obj.bids); | ^~~~ /usr/include/stxxl/bits/containers/stack.h: In destructor ‘virtual stxxl::grow_shrink_stack2::~grow_shrink_stack2()’: /usr/include/stxxl/bits/containers/stack.h:640:40: error: ‘bids’ was not declared in this scope 640 | const int_type bids_size = bids.size(); | ^~~~ /usr/include/stxxl/bits/containers/stack.h:648:27: error: ‘vector’ in namespace ‘std’ does not name a template type 648 | typename std::vector::iterator cur = bids.begin(); | ^~~~~~ /usr/include/stxxl/bits/containers/stack.h:648:27: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/stack.h:648:33: error: expected unqualified-id before ‘<’ token 648 | typename std::vector::iterator cur = bids.begin(); | ^ /usr/include/stxxl/bits/containers/stack.h:649:27: error: ‘vector’ in namespace ‘std’ does not name a template type 649 | typename std::vector::const_iterator end = bids.end(); | ^~~~~~ /usr/include/stxxl/bits/containers/stack.h:649:27: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/stack.h:649:33: error: expected unqualified-id before ‘<’ token 649 | typename std::vector::const_iterator end = bids.end(); | ^ /usr/include/stxxl/bits/containers/stack.h:650:21: error: ‘cur’ was not declared in this scope 650 | for ( ; cur != end; ++cur) | ^~~ /usr/include/stxxl/bits/containers/stack.h:650:28: error: ‘end’ was not declared in this scope; did you mean ‘std::end’? 650 | for ( ; cur != end; ++cur) | ^~~ | std::end In file included from /usr/include/c++/12/string:52, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/stxxl/bits/mng/bid.h:20: /usr/include/c++/12/bits/range_access.h:116:37: note: ‘std::end’ declared here 116 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/stxxl/bits/containers/stack.h:664:9: error: ‘block_manager’ has not been declared 664 | block_manager::get_instance()->delete_blocks(bids.begin(), bids.end()); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:664:54: error: ‘bids’ was not declared in this scope 664 | block_manager::get_instance()->delete_blocks(bids.begin(), bids.end()); | ^~~~ /usr/include/stxxl/bits/containers/stack.h: In member function ‘void stxxl::grow_shrink_stack2::push(const value_type&)’: /usr/include/stxxl/bits/containers/stack.h:700:13: error: ‘bids’ was not declared in this scope 700 | bids.resize(bids.size() + 1); | ^~~~ /usr/include/stxxl/bits/containers/stack.h:701:27: error: ‘vector’ in namespace ‘std’ does not name a template type 701 | typename std::vector::iterator cur_bid = bids.end() - 1; | ^~~~~~ /usr/include/stxxl/bits/containers/stack.h:701:27: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/stack.h:701:33: error: expected unqualified-id before ‘<’ token 701 | typename std::vector::iterator cur_bid = bids.end() - 1; | ^ /usr/include/stxxl/bits/containers/stack.h:702:13: error: ‘block_manager’ has not been declared 702 | block_manager::get_instance()->new_blocks(alloc_strategy, cur_bid, bids.end(), cur_bid - bids.begin()); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:702:71: error: ‘cur_bid’ was not declared in this scope 702 | block_manager::get_instance()->new_blocks(alloc_strategy, cur_bid, bids.end(), cur_bid - bids.begin()); | ^~~~~~~ /usr/include/stxxl/bits/containers/stack.h: In member function ‘void stxxl::grow_shrink_stack2::pop()’: /usr/include/stxxl/bits/containers/stack.h:750:45: error: ‘bids’ was not declared in this scope 750 | if (UNLIKELY(cache_offset == 1 && (!bids.empty()))) | ^~~~ /usr/include/stxxl/bits/containers/stack.h:754:13: error: ‘bid_type’ was not declared in this scope; did you mean ‘size_type’? 754 | bid_type last_block = bids.back(); | ^~~~~~~~ | size_type /usr/include/stxxl/bits/containers/stack.h:756:31: error: ‘last_block’ was not declared in this scope 756 | pool->read(cache, last_block)->wait(); | ^~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:757:13: error: ‘block_manager’ has not been declared 757 | block_manager::get_instance()->delete_block(last_block); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h: In member function ‘void stxxl::grow_shrink_stack2::set_prefetch_aggr(stxxl::unsigned_type)’: /usr/include/stxxl/bits/containers/stack.h:778:40: error: ‘bids’ was not declared in this scope 778 | const int_type bids_size = bids.size(); | ^~~~ /usr/include/stxxl/bits/containers/stack.h: In member function ‘void stxxl::grow_shrink_stack2::rehint()’: /usr/include/stxxl/bits/containers/stack.h:802:36: error: ‘bids’ was not declared in this scope 802 | const int_type bids_size = bids.size(); | ^~~~ /usr/include/stxxl/bits/containers/stack.h: At global scope: /usr/include/stxxl/bits/containers/stack.h:1003:60: error: expected primary-expression before ‘)’ token 1003 | unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), | ^ /usr/include/stxxl/bits/containers/stack.h:1005:31: error: ‘stack’ in namespace ‘std’ does not name a template type 1005 | class IntStackType = std::stack, | ^~~~~ /usr/include/stxxl/bits/containers/stack.h:28:1: note: ‘std::stack’ is defined in header ‘’; did you forget to ‘#include ’? 27 | #include +++ |+#include 28 | #include /usr/include/stxxl/bits/containers/stack.h:1005:36: error: expected ‘>’ before ‘<’ token 1005 | class IntStackType = std::stack, | ^ /usr/include/stxxl/bits/containers/stack.h:1013:73: error: ‘AllocStr’ was not declared in this scope 1013 | typedef stack_config_generator cfg; | ^~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:1013:83: error: ‘SizeType’ was not declared in this scope 1013 | typedef stack_config_generator cfg; | ^~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:1013:91: error: template argument 4 is invalid 1013 | typedef stack_config_generator cfg; | ^ /usr/include/stxxl/bits/containers/stack.h:1013:91: error: template argument 5 is invalid /usr/include/stxxl/bits/containers/stack.h:1020:41: error: ‘MigrCritSize’ was not declared in this scope 1020 | migrating_stack, ExtStackType>::result MigrOrNotStackType; | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/stack.h:1020:81: error: template argument 1 is invalid 1020 | migrating_stack, ExtStackType>::result MigrOrNotStackType; | ^ /usr/include/stxxl/bits/containers/stack.h:1020:96: error: template argument 2 is invalid 1020 | migrating_stack, ExtStackType>::result MigrOrNotStackType; | ^ /usr/include/stxxl/bits/algo/random_shuffle.h: In function ‘void stxxl::random_shuffle(ExtIterator, ExtIterator, RandomNumberGenerator&, unsigned_type, AllocStrategy)’: /usr/include/stxxl/bits/algo/random_shuffle.h:56:13: error: wrong number of template arguments (8, should be at least 1) 56 | >::result stack_type; | ^ /usr/include/stxxl/bits/containers/stack.h:1011:7: note: provided for ‘template class stxxl::STACK_GENERATOR’ 1011 | class STACK_GENERATOR | ^~~~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/random_shuffle.h:57:22: error: ‘stack_type’ is not a class, namespace, or enumeration 57 | typedef typename stack_type::block_type block_type; | ^~~~~~~~~~ /usr/include/stxxl/bits/algo/random_shuffle.h:76:22: error: expected nested-name-specifier before ‘VECTOR_GENERATOR’ 76 | typedef typename VECTOR_GENERATOR< | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/random_shuffle.h:76:38: error: expected initializer before ‘<’ token 76 | typedef typename VECTOR_GENERATOR< | ^ /usr/include/stxxl/bits/algo/random_shuffle.h:79:5: error: ‘temp_vector_type’ was not declared in this scope 79 | temp_vector_type* temp_vector; | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/random_shuffle.h:79:23: error: ‘temp_vector’ was not declared in this scope 79 | temp_vector_type* temp_vector; | ^~~~~~~~~~~ /usr/include/stxxl/bits/algo/random_shuffle.h:92:30: error: ‘streamify_traits’ in namespace ‘stxxl::stream’ does not name a template type 92 | typedef typename stream::streamify_traits::stream_type input_stream; | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/random_shuffle.h:92:46: error: expected unqualified-id before ‘<’ token 92 | typedef typename stream::streamify_traits::stream_type input_stream; | ^ /usr/include/stxxl/bits/algo/random_shuffle.h:93:5: error: ‘input_stream’ was not declared in this scope 93 | input_stream in = stream::streamify(first, last); | ^~~~~~~~~~~~ /usr/include/stxxl/bits/algo/random_shuffle.h:99:33: error: request for member ‘push’ in ‘buckets[random_bucket]->’, which is of non-class type ‘stack_type’ {aka ‘int’} 99 | buckets[random_bucket]->push(*in); // reading the current input element | ^~~~ /usr/include/stxxl/bits/algo/random_shuffle.h:99:39: error: ‘in’ was not declared in this scope; did you mean ‘i’? 99 | buckets[random_bucket]->push(*in); // reading the current input element | ^~ | i /usr/include/stxxl/bits/mng/read_write_pool.h: In instantiation of ‘class stxxl::read_write_pool’: /usr/include/stxxl/bits/algo/random_shuffle.h:105:9: required from here /usr/include/stxxl/bits/mng/read_write_pool.h:30:43: error: ‘stxxl::read_write_pool::block_type’ {aka ‘int’} is not a class, struct, or union type 30 | typedef typename block_type::bid_type bid_type; | ^~~~~~~~ /usr/include/stxxl/bits/algo/random_shuffle.h:114:9: error: request for member ‘size’ in ‘buckets[i]->’, which is of non-class type ‘stack_type’ {aka ‘int’} 114 | STXXL_VERBOSE1("random_shuffle: bucket no " << i << " contains " << buckets[i]->size() << " elements"); | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/random_shuffle.h:119:21: error: request for member ‘set_prefetch_aggr’ in ‘buckets[i]->’, which is of non-class type ‘stack_type’ {aka ‘int’} 119 | buckets[i]->set_prefetch_aggr(PageSize); | ^~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/random_shuffle.h:120:28: error: request for member ‘size’ in ‘buckets[i]->’, which is of non-class type ‘stack_type’ {aka ‘int’} 120 | size = buckets[i]->size(); | ^~~~ /usr/include/stxxl/bits/algo/random_shuffle.h:129:45: error: request for member ‘top’ in ‘buckets[i]->’, which is of non-class type ‘stack_type’ {aka ‘int’} 129 | temp_array[j] = buckets[i]->top(); | ^~~ /usr/include/stxxl/bits/algo/random_shuffle.h:130:29: error: request for member ‘pop’ in ‘buckets[i]->’, which is of non-class type ‘stack_type’ {aka ‘int’} 130 | buckets[i]->pop(); | ^~~ /usr/include/stxxl/bits/algo/random_shuffle.h:134:13: error: ‘potentially_parallel’ has not been declared 134 | potentially_parallel:: | ^~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/random_shuffle.h:150:31: error: expected type-specifier before ‘temp_vector_type’ 150 | temp_vector = new temp_vector_type(size); | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/random_shuffle.h:153:49: error: request for member ‘top’ in ‘buckets[i]->’, which is of non-class type ‘stack_type’ {aka ‘int’} 153 | (*temp_vector)[j] = buckets[i]->top(); | ^~~ /usr/include/stxxl/bits/algo/random_shuffle.h:154:29: error: request for member ‘pop’ in ‘buckets[i]->’, which is of non-class type ‘stack_type’ {aka ‘int’} 154 | buckets[i]->pop(); | ^~~ /usr/include/stxxl/bits/algo/random_shuffle.h: At global scope: /usr/include/stxxl/bits/algo/random_shuffle.h:192:6: error: variable or field ‘random_shuffle’ declared void 192 | void random_shuffle( | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/random_shuffle.h:193:12: error: ‘vector_iterator’ is not a member of ‘stxxl’; did you mean ‘deque_iterator’? 193 | stxxl::vector_iterator first, | ^ /usr/include/stxxl/bits/algo/random_shuffle.h:194:59: error: ‘first’ was not declared in this scope 194 | BlockSize, PageType, PageSize> first, | ^~~~~ /usr/include/stxxl/bits/algo/random_shuffle.h:195:12: error: ‘vector_iterator’ is not a member of ‘stxxl’; did you mean ‘deque_iterator’? 195 | stxxl::vector_iterator last, | ^ /usr/include/stxxl/bits/algo/random_shuffle.h:196:59: error: ‘last’ was not declared in this scope 196 | BlockSize, PageType, PageSize> last, | ^~~~ /usr/include/stxxl/bits/algo/random_shuffle.h:197:26: error: expected primary-expression before ‘&’ token 197 | RandomNumberGenerator& rand, | ^ /usr/include/stxxl/bits/algo/random_shuffle.h:198:19: error: expected primary-expression before ‘M’ 198 | unsigned_type M) | ^ /usr/include/stxxl/bits/algo/random_shuffle.h:368:6: error: variable or field ‘random_shuffle’ declared void 368 | void random_shuffle( | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/random_shuffle.h:369:12: error: ‘vector_iterator’ is not a member of ‘stxxl’; did you mean ‘deque_iterator’? 369 | stxxl::vector_iterator first, | ^ /usr/include/stxxl/bits/algo/random_shuffle.h:370:59: error: ‘first’ was not declared in this scope 370 | BlockSize, PageType, PageSize> first, | ^~~~~ /usr/include/stxxl/bits/algo/random_shuffle.h:371:12: error: ‘vector_iterator’ is not a member of ‘stxxl’; did you mean ‘deque_iterator’? 371 | stxxl::vector_iterator last, | ^ /usr/include/stxxl/bits/algo/random_shuffle.h:372:59: error: ‘last’ was not declared in this scope 372 | BlockSize, PageType, PageSize> last, | ^~~~ /usr/include/stxxl/bits/algo/random_shuffle.h:373:19: error: expected primary-expression before ‘M’ 373 | unsigned_type M) | ^ In file included from /usr/include/c++/12/parallel/multiway_merge.h:48, from /usr/include/c++/12/parallel/multiway_mergesort.h:40, from /usr/include/c++/12/parallel/sort.h:44, from /usr/include/c++/12/parallel/algo.h:45, from /usr/include/c++/12/parallel/algorithm:37, from /usr/include/stxxl/bits/parallel.h:80, from /usr/include/stxxl/bits/algo/intksort.h:20: /usr/include/c++/12/parallel/multiseq_selection.h: In function ‘void __gnu_parallel::multiseq_partition(_RanSeqs, _RanSeqs, _RankType, _RankIterator, _Compare)’: /usr/include/c++/12/parallel/multiseq_selection.h:203:12: error: ‘vector’ is not a member of ‘std’ 203 | std::vector > __sample; | ^~~~~~ /usr/include/c++/12/parallel/multiseq_selection.h:46:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 45 | #include +++ |+#include 46 | /usr/include/c++/12/parallel/multiseq_selection.h:203:53: error: expected primary-expression before ‘>’ token 203 | std::vector > __sample; | ^ /usr/include/c++/12/parallel/multiseq_selection.h:203:55: error: ‘__sample’ was not declared in this scope; did you mean ‘std::__sample’? 203 | std::vector > __sample; | ^~~~~~~~ | std::__sample In file included from /usr/include/c++/12/functional:64: /usr/include/c++/12/bits/stl_algo.h:5796:5: note: ‘std::__sample’ declared here 5796 | __sample(_ForwardIterator __first, _ForwardIterator __last, | ^~~~~~~~ /usr/include/c++/12/parallel/multiseq_selection.h:274:20: error: ‘priority_queue’ is not a member of ‘std’ 274 | std::priority_queue, | ^~~~~~~~~~~~~~ /usr/include/c++/12/parallel/multiseq_selection.h:46:1: note: ‘std::priority_queue’ is defined in header ‘’; did you forget to ‘#include ’? 45 | #include +++ |+#include 46 | /usr/include/c++/12/parallel/multiseq_selection.h:274:68: error: expected primary-expression before ‘,’ token 274 | std::priority_queue, | ^ /usr/include/c++/12/parallel/multiseq_selection.h:275:22: error: ‘vector’ is not a member of ‘std’ 275 | std::vector >, | ^~~~~~ /usr/include/c++/12/parallel/multiseq_selection.h:275:22: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/c++/12/parallel/multiseq_selection.h:275:63: error: expected primary-expression before ‘>’ token 275 | std::vector >, | ^ /usr/include/c++/12/parallel/multiseq_selection.h:275:64: error: expected primary-expression before ‘,’ token 275 | std::vector >, | ^ /usr/include/c++/12/parallel/multiseq_selection.h:276:73: error: expected primary-expression before ‘>’ token 276 | _LexicographicReverse<_ValueType, _SeqNumber, _Compare> > | ^ /usr/include/c++/12/parallel/multiseq_selection.h:281:19: error: ‘__pq’ was not declared in this scope 281 | __pq.push(std::make_pair(__S(__i)[__b[__i]], __i)); | ^~~~ /usr/include/c++/12/parallel/multiseq_selection.h:283:38: error: ‘__pq’ was not declared in this scope 283 | for (; __skew != 0 && !__pq.empty(); --__skew) | ^~~~ /usr/include/c++/12/parallel/multiseq_selection.h:300:20: error: ‘priority_queue’ is not a member of ‘std’ 300 | std::priority_queue, | ^~~~~~~~~~~~~~ /usr/include/c++/12/parallel/multiseq_selection.h:300:20: note: ‘std::priority_queue’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/c++/12/parallel/multiseq_selection.h:300:68: error: expected primary-expression before ‘,’ token 300 | std::priority_queue, | ^ /usr/include/c++/12/parallel/multiseq_selection.h:301:22: error: ‘vector’ is not a member of ‘std’ 301 | std::vector >, | ^~~~~~ /usr/include/c++/12/parallel/multiseq_selection.h:301:22: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/c++/12/parallel/multiseq_selection.h:301:63: error: expected primary-expression before ‘>’ token 301 | std::vector >, | ^ /usr/include/c++/12/parallel/multiseq_selection.h:301:64: error: expected primary-expression before ‘,’ token 301 | std::vector >, | ^ /usr/include/c++/12/parallel/multiseq_selection.h:302:66: error: expected primary-expression before ‘>’ token 302 | _Lexicographic<_ValueType, _SeqNumber, _Compare> > | ^ /usr/include/c++/12/parallel/multiseq_selection.h:307:19: error: ‘__pq’ was not declared in this scope 307 | __pq.push(std::make_pair(__S(__i)[__a[__i] - 1], __i)); | ^~~~ /usr/include/c++/12/parallel/multiseq_selection.h:311:41: error: ‘__pq’ was not declared in this scope 311 | _SeqNumber __source = __pq.top().second; | ^~~~ /usr/include/c++/12/parallel/multiseq_selection.h: In function ‘_Tp __gnu_parallel::multiseq_selection(_RanSeqs, _RanSeqs, _RankType, _RankType&, _Compare)’: /usr/include/c++/12/parallel/multiseq_selection.h:454:12: error: ‘vector’ is not a member of ‘std’ 454 | std::vector > __sample; | ^~~~~~ /usr/include/c++/12/parallel/multiseq_selection.h:454:12: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/c++/12/parallel/multiseq_selection.h:454:46: error: expected primary-expression before ‘>’ token 454 | std::vector > __sample; | ^ /usr/include/c++/12/parallel/multiseq_selection.h:454:48: error: ‘__sample’ was not declared in this scope; did you mean ‘std::__sample’? 454 | std::vector > __sample; | ^~~~~~~~ | std::__sample /usr/include/c++/12/bits/stl_algo.h:5796:5: note: ‘std::__sample’ declared here 5796 | __sample(_ForwardIterator __first, _ForwardIterator __last, | ^~~~~~~~ /usr/include/c++/12/parallel/multiseq_selection.h:518:20: error: ‘priority_queue’ is not a member of ‘std’ 518 | std::priority_queue, | ^~~~~~~~~~~~~~ /usr/include/c++/12/parallel/multiseq_selection.h:518:20: note: ‘std::priority_queue’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/c++/12/parallel/multiseq_selection.h:518:61: error: expected primary-expression before ‘,’ token 518 | std::priority_queue, | ^ /usr/include/c++/12/parallel/multiseq_selection.h:519:22: error: ‘vector’ is not a member of ‘std’ 519 | std::vector >, | ^~~~~~ /usr/include/c++/12/parallel/multiseq_selection.h:519:22: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/c++/12/parallel/multiseq_selection.h:519:56: error: expected primary-expression before ‘>’ token 519 | std::vector >, | ^ /usr/include/c++/12/parallel/multiseq_selection.h:519:57: error: expected primary-expression before ‘,’ token 519 | std::vector >, | ^ /usr/include/c++/12/parallel/multiseq_selection.h:520:66: error: expected primary-expression before ‘>’ token 520 | _LexicographicReverse<_Tp, _SeqNumber, _Compare> > | ^ /usr/include/c++/12/parallel/multiseq_selection.h:525:19: error: ‘__pq’ was not declared in this scope 525 | __pq.push(std::make_pair(__S(__i)[__b[__i]], __i)); | ^~~~ /usr/include/c++/12/parallel/multiseq_selection.h:527:38: error: ‘__pq’ was not declared in this scope 527 | for (; __skew != 0 && !__pq.empty(); --__skew) | ^~~~ /usr/include/c++/12/parallel/multiseq_selection.h:544:20: error: ‘priority_queue’ is not a member of ‘std’ 544 | std::priority_queue, | ^~~~~~~~~~~~~~ /usr/include/c++/12/parallel/multiseq_selection.h:544:20: note: ‘std::priority_queue’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/c++/12/parallel/multiseq_selection.h:544:61: error: expected primary-expression before ‘,’ token 544 | std::priority_queue, | ^ /usr/include/c++/12/parallel/multiseq_selection.h:545:22: error: ‘vector’ is not a member of ‘std’ 545 | std::vector >, | ^~~~~~ /usr/include/c++/12/parallel/multiseq_selection.h:545:22: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/c++/12/parallel/multiseq_selection.h:545:56: error: expected primary-expression before ‘>’ token 545 | std::vector >, | ^ /usr/include/c++/12/parallel/multiseq_selection.h:545:57: error: expected primary-expression before ‘,’ token 545 | std::vector >, | ^ /usr/include/c++/12/parallel/multiseq_selection.h:546:59: error: expected primary-expression before ‘>’ token 546 | _Lexicographic<_Tp, _SeqNumber, _Compare> > __pq(__lcomp); | ^ /usr/include/c++/12/parallel/multiseq_selection.h:550:19: error: ‘__pq’ was not declared in this scope 550 | __pq.push(std::make_pair(__S(__i)[__a[__i] - 1], __i)); | ^~~~ /usr/include/c++/12/parallel/multiseq_selection.h:554:41: error: ‘__pq’ was not declared in this scope 554 | _SeqNumber __source = __pq.top().second; | ^~~~ /usr/include/c++/12/parallel/multiway_merge.h: At global scope: /usr/include/c++/12/parallel/multiway_merge.h:1040:6: error: ‘std::vector’ has not been declared 1040 | std::vector > *__pieces) | ^~~ /usr/include/c++/12/parallel/multiway_merge.h:1040:17: error: expected ‘,’ or ‘...’ before ‘<’ token 1040 | std::vector > *__pieces) | ^ /usr/include/c++/12/parallel/multiway_merge.h: In function ‘void __gnu_parallel::multiway_merge_sampling_splitting(_RAIterIterator, _RAIterIterator, _DifferenceType, _DifferenceType, _Compare, int)’: /usr/include/c++/12/parallel/multiway_merge.h:1084:15: error: ‘__pieces’ was not declared in this scope 1084 | __pieces[__slab][__seq].first = std::upper_bound | ^~~~~~~~ /usr/include/c++/12/parallel/multiway_merge.h:1091:15: error: ‘__pieces’ was not declared in this scope 1091 | __pieces[__slab][__seq].first = 0; | ^~~~~~~~ /usr/include/c++/12/parallel/multiway_merge.h:1093:15: error: ‘__pieces’ was not declared in this scope 1093 | __pieces[__slab][__seq].second = std::upper_bound | ^~~~~~~~ /usr/include/c++/12/parallel/multiway_merge.h:1100:15: error: ‘__pieces’ was not declared in this scope 1100 | __pieces[__slab][__seq].second = | ^~~~~~~~ /usr/include/c++/12/parallel/multiway_merge.h: At global scope: /usr/include/c++/12/parallel/multiway_merge.h:1125:8: error: ‘std::vector’ has not been declared 1125 | std::vector > *__pieces) | ^~~ /usr/include/c++/12/parallel/multiway_merge.h:1125:19: error: expected ‘,’ or ‘...’ before ‘<’ token 1125 | std::vector > *__pieces) | ^ /usr/include/c++/12/parallel/multiway_merge.h: In function ‘void __gnu_parallel::multiway_merge_exact_splitting(_RAIterIterator, _RAIterIterator, _DifferenceType, _DifferenceType, _Compare, int)’: /usr/include/c++/12/parallel/multiway_merge.h:1142:12: error: ‘vector’ is not a member of ‘std’ 1142 | std::vector<_RAIter1>* __offsets = | ^~~~~~ /usr/include/c++/12/parallel/multiway_merge.h:49:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 48 | #include +++ |+#include 49 | #if _GLIBCXX_PARALLEL_ASSERTIONS /usr/include/c++/12/parallel/multiway_merge.h:1142:27: error: expected primary-expression before ‘>’ token 1142 | std::vector<_RAIter1>* __offsets = | ^ /usr/include/c++/12/parallel/multiway_merge.h:1142:30: error: ‘__offsets’ was not declared in this scope; did you mean ‘__off_t’? 1142 | std::vector<_RAIter1>* __offsets = | ^~~~~~~~~ | __off_t /usr/include/c++/12/parallel/multiway_merge.h:1143:18: error: ‘vector’ in namespace ‘std’ does not name a template type 1143 | new std::vector<_RAIter1>[__num_threads]; | ^~~~~~ /usr/include/c++/12/parallel/multiway_merge.h:1143:13: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 1143 | new std::vector<_RAIter1>[__num_threads]; | ^~~ /usr/include/c++/12/parallel/multiway_merge.h:1143:33: error: expected primary-expression before ‘>’ token 1143 | new std::vector<_RAIter1>[__num_threads]; | ^ /usr/include/c++/12/parallel/multiway_merge.h: In lambda function: /usr/include/c++/12/parallel/multiway_merge.h:1143:49: error: expected ‘{’ before ‘;’ token 1143 | new std::vector<_RAIter1>[__num_threads]; | ^ /usr/include/c++/12/parallel/multiway_merge.h: In function ‘void __gnu_parallel::multiway_merge_exact_splitting(_RAIterIterator, _RAIterIterator, _DifferenceType, _DifferenceType, _Compare, int)’: /usr/include/c++/12/parallel/multiway_merge.h:1144:12: error: ‘vector’ is not a member of ‘std’ 1144 | std::vector > __se(__k); | ^~~~~~ /usr/include/c++/12/parallel/multiway_merge.h:1144:12: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/c++/12/parallel/multiway_merge.h:1144:49: error: expected primary-expression before ‘>’ token 1144 | std::vector > __se(__k); | ^ /usr/include/c++/12/parallel/multiway_merge.h:1146:38: error: ‘__se’ was not declared in this scope 1146 | copy(__seqs_begin, __seqs_end, __se.begin()); | ^~~~ /usr/include/c++/12/parallel/multiway_merge.h:1179:19: error: ‘__pieces’ was not declared in this scope 1179 | __pieces[__slab][__seq].first = 0; | ^~~~~~~~ /usr/include/c++/12/parallel/multiway_merge.h:1182:17: error: ‘__pieces’ was not declared in this scope 1182 | __pieces[__slab][__seq].first = | ^~~~~~~~ /usr/include/c++/12/parallel/multiway_merge.h:1185:17: error: ‘__pieces’ was not declared in this scope 1185 | __pieces[__slab][__seq].second = | ^~~~~~~~ /usr/include/c++/12/parallel/multiway_merge.h:1190:19: error: ‘__pieces’ was not declared in this scope 1190 | __pieces[__slab][__seq].second = | ^~~~~~~~ /usr/include/c++/12/parallel/multiway_merge.h: In function ‘_RAIter3 __gnu_parallel::parallel_multiway_merge(_RAIterIterator, _RAIterIterator, _RAIter3, _Splitter, _DifferenceTp, _Compare, _ThreadIndex)’: /usr/include/c++/12/parallel/multiway_merge.h:1274:14: error: ‘vector’ is not a member of ‘std’ 1274 | std::vector >* __pieces; | ^~~~~~ /usr/include/c++/12/parallel/multiway_merge.h:1274:14: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/c++/12/parallel/multiway_merge.h:1274:65: error: expected primary-expression before ‘>’ token 1274 | std::vector >* __pieces; | ^ /usr/include/c++/12/parallel/multiway_merge.h:1274:68: error: ‘__pieces’ was not declared in this scope 1274 | std::vector >* __pieces; | ^~~~~~~~ /usr/include/c++/12/parallel/multiway_merge.h:1285:33: error: ‘vector’ in namespace ‘std’ does not name a template type 1285 | __pieces = new std::vector< | ^~~~~~ /usr/include/c++/12/parallel/multiway_merge.h:1285:28: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 1285 | __pieces = new std::vector< | ^~~ /usr/include/c++/12/parallel/multiway_merge.h:1286:57: error: expected primary-expression before ‘>’ token 1286 | std::pair<_DifferenceType, _DifferenceType> >[__num_threads]; | ^ /usr/include/c++/12/parallel/multiway_merge.h: In lambda function: /usr/include/c++/12/parallel/multiway_merge.h:1286:73: error: expected ‘{’ before ‘;’ token 1286 | std::pair<_DifferenceType, _DifferenceType> >[__num_threads]; | ^ /usr/include/c++/12/parallel/multiway_mergesort.h: At global scope: /usr/include/c++/12/parallel/multiway_mergesort.h:86:12: error: ‘vector’ in namespace ‘std’ does not name a template type 86 | std::vector<_Piece<_DifferenceType> >* _M_pieces; | ^~~~~~ /usr/include/c++/12/parallel/multiway_mergesort.h:41:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 40 | #include +++ |+#include 41 | /usr/include/c++/12/parallel/multiway_mergesort.h: In member function ‘void __gnu_parallel::_SplitConsistently::operator()(__gnu_parallel::_ThreadIndex, __gnu_parallel::_PMWMSSortingData<_RAIter>*, _Compare&, typename std::iterator_traits<_Iter>::difference_type) const’: /usr/include/c++/12/parallel/multiway_mergesort.h:140:14: error: ‘vector’ is not a member of ‘std’ 140 | std::vector’; did you forget to ‘#include ’? /usr/include/c++/12/parallel/multiway_mergesort.h:141:55: error: expected primary-expression before ‘>’ token 141 | _SortingPlacesIterator> > | ^ /usr/include/c++/12/parallel/multiway_mergesort.h:144:11: error: ‘__seqs’ was not declared in this scope 144 | __seqs[__s] = std::make_pair(__sd->_M_temporary[__s], | ^~~~~~ /usr/include/c++/12/parallel/multiway_mergesort.h:149:14: error: ‘vector’ is not a member of ‘std’ 149 | std::vector<_SortingPlacesIterator> __offsets(__sd->_M_num_threads); | ^~~~~~ /usr/include/c++/12/parallel/multiway_mergesort.h:149:14: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/c++/12/parallel/multiway_mergesort.h:149:43: error: expected primary-expression before ‘>’ token 149 | std::vector<_SortingPlacesIterator> __offsets(__sd->_M_num_threads); | ^ /usr/include/c++/12/parallel/multiway_mergesort.h:153:30: error: ‘__seqs’ was not declared in this scope 153 | multiseq_partition(__seqs.begin(), __seqs.end(), | ^~~~~~ /usr/include/c++/12/parallel/multiway_mergesort.h:154:58: error: ‘__offsets’ was not declared in this scope; did you mean ‘__off_t’? 154 | __sd->_M_starts[__iam + 1], __offsets.begin(), | ^~~~~~~~~ | __off_t /usr/include/c++/12/parallel/multiway_mergesort.h:162:19: error: ‘__offsets’ was not declared in this scope; did you mean ‘__off_t’? 162 | = __offsets[__seq] - __seqs[__seq].first; | ^~~~~~~~~ | __off_t /usr/include/c++/12/parallel/multiway_mergesort.h:162:38: error: ‘__seqs’ was not declared in this scope; did you mean ‘__seq’? 162 | = __offsets[__seq] - __seqs[__seq].first; | ^~~~~~ | __seq /usr/include/c++/12/parallel/multiway_mergesort.h: In function ‘void __gnu_parallel::parallel_sort_mwms_pu(_PMWMSSortingData<_RAIter>*, _Compare&)’: /usr/include/c++/12/parallel/multiway_mergesort.h:359:20: error: ‘vector’ in namespace ‘std’ does not name a template type 359 | typedef std::vector< | ^~~~~~ /usr/include/c++/12/parallel/multiway_mergesort.h:359:15: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 359 | typedef std::vector< | ^~~ /usr/include/c++/12/parallel/multiway_mergesort.h:362:7: error: ‘_SeqVector’ was not declared in this scope 362 | _SeqVector __seqs(__sd->_M_num_threads); | ^~~~~~~~~~ /usr/include/c++/12/parallel/multiway_mergesort.h:366:11: error: ‘__seqs’ was not declared in this scope 366 | __seqs[__s] = | ^~~~~~ /usr/include/c++/12/parallel/multiway_mergesort.h:375:43: error: wrong number of template arguments (2, should be 5) 375 | _RAIter, _Compare, _DifferenceType>()(__seqs.begin(), __seqs.end(), | ^ /usr/include/c++/12/parallel/multiway_mergesort.h:270:12: note: provided for ‘template struct __gnu_parallel::__possibly_stable_multiway_merge’ 270 | struct __possibly_stable_multiway_merge | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/parallel/multiway_mergesort.h:375:47: error: ‘__seqs’ was not declared in this scope 375 | _RAIter, _Compare, _DifferenceType>()(__seqs.begin(), __seqs.end(), | ^~~~~~ /usr/include/c++/12/parallel/multiway_mergesort.h: In function ‘void __gnu_parallel::parallel_sort_mwms(_RAIter, _RAIter, _Compare, _ThreadIndex)’: /usr/include/c++/12/parallel/multiway_mergesort.h:443:24: error: ‘vector’ in namespace ‘std’ does not name a template type 443 | = new std::vector<_Piece<_DifferenceType> >[__num_threads]; | ^~~~~~ /usr/include/c++/12/parallel/multiway_mergesort.h:443:19: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 443 | = new std::vector<_Piece<_DifferenceType> >[__num_threads]; | ^~~ /usr/include/c++/12/parallel/multiway_mergesort.h:443:55: error: expected primary-expression before ‘>’ token 443 | = new std::vector<_Piece<_DifferenceType> >[__num_threads]; | ^ /usr/include/c++/12/parallel/multiway_mergesort.h: In lambda function: /usr/include/c++/12/parallel/multiway_mergesort.h:443:71: error: expected ‘{’ before ‘;’ token 443 | = new std::vector<_Piece<_DifferenceType> >[__num_threads]; | ^ In file included from /usr/include/stxxl/bits/algo/ksort.h:26: /usr/include/stxxl/bits/algo/async_schedule.h: In function ‘void stxxl::compute_prefetch_schedule(const RunType&, int_type*, int_type, int_type)’: /usr/include/stxxl/bits/algo/async_schedule.h:53:5: error: ‘simple_vector’ was not declared in this scope 53 | simple_vector disks(L); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/async_schedule.h:53:27: error: expected primary-expression before ‘>’ token 53 | simple_vector disks(L); | ^ /usr/include/stxxl/bits/algo/async_schedule.h:55:9: error: ‘disks’ was not declared in this scope 55 | disks[i] = input[i].bid.storage->get_device_id(); | ^~~~~ /usr/include/stxxl/bits/algo/async_schedule.h:56:31: error: ‘disks’ was not declared in this scope 56 | compute_prefetch_schedule(disks.begin(), disks.end(), out_first, m, D); | ^~~~~ /usr/include/stxxl/bits/algo/async_schedule.h: In function ‘void stxxl::compute_prefetch_schedule(BidIteratorType, BidIteratorType, int_type*, int_type, int_type)’: /usr/include/stxxl/bits/algo/async_schedule.h:68:5: error: ‘simple_vector’ was not declared in this scope 68 | simple_vector disks(L); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/async_schedule.h:68:27: error: expected primary-expression before ‘>’ token 68 | simple_vector disks(L); | ^ /usr/include/stxxl/bits/algo/async_schedule.h:71:9: error: ‘disks’ was not declared in this scope 71 | disks[i] = it->storage->get_device_id(); | ^~~~~ /usr/include/stxxl/bits/algo/async_schedule.h:72:31: error: ‘disks’ was not declared in this scope 72 | compute_prefetch_schedule(disks.begin(), disks.end(), out_first, m, D); | ^~~~~ In file included from /usr/include/stxxl/bits/io/request_queue_impl_worker.h:31, from /usr/include/stxxl/bits/io/request_queue_impl_qwqr.h:21, from /usr/include/stxxl/bits/io/disk_queues.h:25, from /usr/include/stxxl/bits/mng/buf_writer.h:20, from /usr/include/stxxl/bits/algo/ksort.h:28: /usr/include/stxxl/bits/io/request_queue.h: At global scope: /usr/include/stxxl/bits/io/request_queue.h:32:30: error: ‘request_ptr’ has not been declared 32 | virtual void add_request(request_ptr& req) = 0; | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/request_queue.h:33:33: error: ‘request_ptr’ has not been declared 33 | virtual bool cancel_request(request_ptr& req) = 0; | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/request_queue_impl_qwqr.h:36:23: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 36 | typedef std::list queue_type; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/io/request_queue_impl_qwqr.h:36:34: error: template argument 1 is invalid 36 | typedef std::list queue_type; | ^ /usr/include/stxxl/bits/io/request_queue_impl_qwqr.h:36:34: error: template argument 2 is invalid /usr/include/stxxl/bits/io/request_queue_impl_qwqr.h:64:22: error: ‘request_ptr’ has not been declared 64 | void add_request(request_ptr& req); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/request_queue_impl_qwqr.h:65:25: error: ‘request_ptr’ has not been declared 65 | bool cancel_request(request_ptr& req); | ^~~~~~~~~~~ In file included from /usr/include/stxxl/bits/io/linuxaio_file.h:21, from /usr/include/stxxl/bits/io/linuxaio_queue.h:17, from /usr/include/stxxl/bits/io/disk_queues.h:26: /usr/include/stxxl/bits/io/ufs_file_base.h:33:38: error: invalid use of incomplete type ‘class stxxl::file’ 33 | class ufs_file_base : public virtual file | ^~~~ /usr/include/stxxl/bits/io/request.h:35:7: note: forward declaration of ‘class stxxl::file’ 35 | class file; | ^~~~ /usr/include/stxxl/bits/io/ufs_file_base.h:43:5: error: ‘offset_type’ does not name a type 43 | offset_type _size(); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/ufs_file_base.h:44:20: error: ‘offset_type’ has not been declared 44 | void _set_size(offset_type newsize); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/ufs_file_base.h:49:5: error: ‘offset_type’ does not name a type 49 | offset_type size(); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/ufs_file_base.h:50:19: error: ‘offset_type’ has not been declared 50 | void set_size(offset_type newsize); | ^~~~~~~~~~~ In file included from /usr/include/stxxl/bits/io/linuxaio_file.h:22: /usr/include/stxxl/bits/io/disk_queued_file.h:30:41: error: invalid use of incomplete type ‘class stxxl::file’ 30 | class disk_queued_file : public virtual file | ^~~~ /usr/include/stxxl/bits/io/request.h:35:7: note: forward declaration of ‘class stxxl::file’ 35 | class file; | ^~~~ /usr/include/stxxl/bits/io/disk_queued_file.h:39:5: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 39 | request_ptr aread( | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/io/disk_queued_file.h:45:5: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 45 | request_ptr awrite( | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/io/linuxaio_file.h:61:30: error: ‘offset_type’ has not been declared 61 | void serve(void* buffer, offset_type offset, size_type bytes, | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/linuxaio_file.h:61:50: error: ‘size_type’ has not been declared 61 | void serve(void* buffer, offset_type offset, size_type bytes, | ^~~~~~~~~ /usr/include/stxxl/bits/io/linuxaio_file.h:63:5: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 63 | request_ptr aread(void* buffer, offset_type pos, size_type bytes, | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/io/linuxaio_file.h:65:5: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 65 | request_ptr awrite(void* buffer, offset_type pos, size_type bytes, | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/io/linuxaio_file.h:51:24: error: ‘DEFAULT_LINUXAIO_QUEUE’ was not declared in this scope 51 | int queue_id = DEFAULT_LINUXAIO_QUEUE, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/io/linuxaio_file.h:52:28: error: ‘NO_ALLOCATOR’ was not declared in this scope 52 | int allocator_id = NO_ALLOCATOR, | ^~~~~~~~~~~~ /usr/include/stxxl/bits/io/linuxaio_file.h:53:34: error: ‘DEFAULT_DEVICE_ID’ was not declared in this scope 53 | unsigned int device_id = DEFAULT_DEVICE_ID, | ^~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/io/linuxaio_file.h: In constructor ‘stxxl::linuxaio_file::linuxaio_file(const std::string&, int, int, int, unsigned int, int)’: /usr/include/stxxl/bits/io/linuxaio_file.h:55:11: error: type ‘stxxl::file’ is not a direct base of ‘stxxl::linuxaio_file’ 55 | : file(device_id), | ^~~~ /usr/include/stxxl/bits/io/linuxaio_queue.h: At global scope: /usr/include/stxxl/bits/io/linuxaio_queue.h:46:23: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 46 | typedef std::list queue_type; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/io/linuxaio_queue.h:46:34: error: template argument 1 is invalid 46 | typedef std::list queue_type; | ^ /usr/include/stxxl/bits/io/linuxaio_queue.h:46:34: error: template argument 2 is invalid /usr/include/stxxl/bits/io/linuxaio_queue.h:87:22: error: ‘request_ptr’ has not been declared 87 | void add_request(request_ptr& req); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/linuxaio_queue.h:88:25: error: ‘request_ptr’ has not been declared 88 | bool cancel_request(request_ptr& req); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/linuxaio_queue.h:89:27: error: ‘request_ptr’ has not been declared 89 | void complete_request(request_ptr& req); | ^~~~~~~~~~~ In file included from /usr/include/c++/12/cassert:44, from /usr/include/stxxl/bits/parallel.h:32: /usr/include/stxxl/bits/io/linuxaio_request.h: In constructor ‘stxxl::linuxaio_request::linuxaio_request(const stxxl::completion_handler&, stxxl::file*, void*, stxxl::request_interface::offset_type, stxxl::request_interface::size_type, stxxl::request_interface::request_type)’: /usr/include/stxxl/bits/io/linuxaio_request.h:52:9: error: cannot ‘dynamic_cast’ ‘file’ (of type ‘class stxxl::file*’) to type ‘class stxxl::linuxaio_file*’ (source is a pointer to incomplete type) 52 | assert(dynamic_cast(file)); | ^~~~~~ /usr/include/stxxl/bits/io/disk_queues.h: At global scope: /usr/include/stxxl/bits/io/disk_queues.h:42:18: error: ‘map’ in namespace ‘std’ does not name a template type 42 | typedef std::map request_queue_map; | ^~~ /usr/include/stxxl/bits/io/disk_queues.h:29:1: note: ‘std::map’ is defined in header ‘’; did you forget to ‘#include ’? 28 | #include +++ |+#include 29 | /usr/include/stxxl/bits/io/disk_queues.h:45:5: error: ‘request_queue_map’ does not name a type; did you mean ‘request_queue’? 45 | request_queue_map queues; | ^~~~~~~~~~~~~~~~~ | request_queue /usr/include/stxxl/bits/io/disk_queues.h:52:22: error: ‘request_ptr’ has not been declared 52 | void add_request(request_ptr& req, DISKID disk) | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/disk_queues.h:85:25: error: ‘request_ptr’ has not been declared 85 | bool cancel_request(request_ptr& req, DISKID disk) | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/disk_queues.h: In constructor ‘stxxl::disk_queues::disk_queues()’: /usr/include/stxxl/bits/io/disk_queues.h:48:16: error: ‘stxxl::stats’ has not been declared 48 | stxxl::stats::get_instance(); // initialize stats before ourselves | ^~~~~ /usr/include/stxxl/bits/io/disk_queues.h: In member function ‘void stxxl::disk_queues::add_request(int&, DISKID)’: /usr/include/stxxl/bits/io/disk_queues.h:57:9: error: ‘request_queue_map’ has not been declared 57 | request_queue_map::iterator qi = queues.find(disk); | ^~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/io/disk_queues.h:59:13: error: ‘qi’ was not declared in this scope; did you mean ‘q’? 59 | if (qi == queues.end()) | ^~ | q /usr/include/stxxl/bits/io/disk_queues.h:59:19: error: ‘queues’ was not declared in this scope 59 | if (qi == queues.end()) | ^~~~~~ /usr/include/stxxl/bits/io/disk_queues.h:63:53: error: request for member ‘get’ in ‘req’, which is of non-class type ‘int’ 63 | if (dynamic_cast(req.get())) | ^~~ /usr/include/stxxl/bits/io/disk_queues.h:65:57: error: base operand of ‘->’ is not a pointer 65 | dynamic_cast(req->get_file())->get_desired_queue_length() | ^~ /usr/include/stxxl/bits/io/disk_queues.h: In member function ‘bool stxxl::disk_queues::cancel_request(int&, DISKID)’: /usr/include/stxxl/bits/io/disk_queues.h:90:13: error: ‘queues’ was not declared in this scope 90 | if (queues.find(disk) != queues.end()) | ^~~~~~ /usr/include/stxxl/bits/io/disk_queues.h: In member function ‘stxxl::request_queue* stxxl::disk_queues::get_queue(DISKID)’: /usr/include/stxxl/bits/io/disk_queues.h:98:13: error: ‘queues’ was not declared in this scope 98 | if (queues.find(disk) != queues.end()) | ^~~~~~ /usr/include/stxxl/bits/io/disk_queues.h: In destructor ‘stxxl::disk_queues::~disk_queues()’: /usr/include/stxxl/bits/io/disk_queues.h:107:14: error: ‘request_queue_map’ has not been declared 107 | for (request_queue_map::iterator i = queues.begin(); i != queues.end(); i++) | ^~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/io/disk_queues.h:107:62: error: ‘i’ was not declared in this scope 107 | for (request_queue_map::iterator i = queues.begin(); i != queues.end(); i++) | ^ /usr/include/stxxl/bits/io/disk_queues.h:107:67: error: ‘queues’ was not declared in this scope 107 | for (request_queue_map::iterator i = queues.begin(); i != queues.end(); i++) | ^~~~~~ /usr/include/stxxl/bits/io/disk_queues.h: In member function ‘void stxxl::disk_queues::set_priority_op(stxxl::request_queue::priority_op)’: /usr/include/stxxl/bits/io/disk_queues.h:118:14: error: ‘request_queue_map’ has not been declared 118 | for (request_queue_map::iterator i = queues.begin(); i != queues.end(); i++) | ^~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/io/disk_queues.h:118:62: error: ‘i’ was not declared in this scope 118 | for (request_queue_map::iterator i = queues.begin(); i != queues.end(); i++) | ^ /usr/include/stxxl/bits/io/disk_queues.h:118:67: error: ‘queues’ was not declared in this scope 118 | for (request_queue_map::iterator i = queues.begin(); i != queues.end(); i++) | ^~~~~~ /usr/include/stxxl/bits/mng/buf_writer.h: At global scope: /usr/include/stxxl/bits/mng/buf_writer.h:45:5: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 45 | request_ptr* write_reqs; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/mng/buf_writer.h:48:10: error: ‘vector’ in namespace ‘std’ does not name a template type 48 | std::vector free_write_blocks; // contains free write blocks | ^~~~~~ /usr/include/stxxl/bits/mng/buf_writer.h:21:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 20 | #include +++ |+#include 21 | #include /usr/include/stxxl/bits/mng/buf_writer.h:49:10: error: ‘vector’ in namespace ‘std’ does not name a template type 49 | std::vector busy_write_blocks; // blocks that are in writing, notice that if block is not in free_ | ^~~~~~ /usr/include/stxxl/bits/mng/buf_writer.h:49:5: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 49 | std::vector busy_write_blocks; // blocks that are in writing, notice that if block is not in free_ | ^~~ /usr/include/stxxl/bits/mng/buf_writer.h:66:18: error: ‘priority_queue’ in namespace ‘std’ does not name a template type 66 | typedef std::priority_queue, batch_entry_cmp> batch_type; | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/buf_writer.h:21:1: note: ‘std::priority_queue’ is defined in header ‘’; did you forget to ‘#include ’? 20 | #include +++ |+#include 21 | #include /usr/include/stxxl/bits/mng/buf_writer.h:67:5: error: ‘batch_type’ does not name a type; did you mean ‘block_type’? 67 | batch_type batch_write_blocks; // sorted sequence of blocks to write | ^~~~~~~~~~ | block_type /usr/include/stxxl/bits/mng/buf_writer.h: In constructor ‘stxxl::buffered_writer::buffered_writer(stxxl::unsigned_type, stxxl::unsigned_type)’: /usr/include/stxxl/bits/mng/buf_writer.h:79:9: error: ‘write_reqs’ was not declared in this scope; did you mean ‘write_bids’? 79 | write_reqs = new request_ptr[nwriteblocks]; | ^~~~~~~~~~ | write_bids /usr/include/stxxl/bits/mng/buf_writer.h:79:26: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 79 | write_reqs = new request_ptr[nwriteblocks]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/mng/buf_writer.h:84:13: error: ‘free_write_blocks’ was not declared in this scope; did you mean ‘nwriteblocks’? 84 | free_write_blocks.push_back(i); | ^~~~~~~~~~~~~~~~~ | nwriteblocks /usr/include/stxxl/bits/mng/buf_writer.h: In member function ‘stxxl::buffered_writer::block_type* stxxl::buffered_writer::get_free_block()’: /usr/include/stxxl/bits/mng/buf_writer.h:93:19: error: ‘vector’ is not a member of ‘std’ 93 | for (std::vector::iterator it = busy_write_blocks.begin(); | ^~~~~~ /usr/include/stxxl/bits/mng/buf_writer.h:93:19: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/mng/buf_writer.h:93:34: error: expected primary-expression before ‘>’ token 93 | for (std::vector::iterator it = busy_write_blocks.begin(); | ^ /usr/include/stxxl/bits/mng/buf_writer.h:93:37: error: ‘::iterator’ has not been declared; did you mean ‘std::iterator’? 93 | for (std::vector::iterator it = busy_write_blocks.begin(); | ^~~~~~~~ | std::iterator In file included from /usr/include/c++/12/string:45: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: ‘std::iterator’ declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /usr/include/stxxl/bits/mng/buf_writer.h:94:14: error: ‘it’ was not declared in this scope; did you mean ‘int’? 94 | it != busy_write_blocks.end(); ++it) | ^~ | int /usr/include/stxxl/bits/mng/buf_writer.h:94:20: error: ‘busy_write_blocks’ was not declared in this scope; did you mean ‘nwriteblocks’? 94 | it != busy_write_blocks.end(); ++it) | ^~~~~~~~~~~~~~~~~ | nwriteblocks /usr/include/stxxl/bits/mng/buf_writer.h:96:17: error: ‘write_reqs’ was not declared in this scope; did you mean ‘write_bids’? 96 | if (write_reqs[ibuffer = (*it)]->poll()) | ^~~~~~~~~~ | write_bids /usr/include/stxxl/bits/mng/buf_writer.h:99:17: error: ‘free_write_blocks’ was not declared in this scope; did you mean ‘nwriteblocks’? 99 | free_write_blocks.push_back(ibuffer); | ^~~~~~~~~~~~~~~~~ | nwriteblocks /usr/include/stxxl/bits/mng/buf_writer.h:104:22: error: ‘free_write_blocks’ was not declared in this scope; did you mean ‘nwriteblocks’? 104 | if (UNLIKELY(free_write_blocks.empty())) | ^~~~~~~~~~~~~~~~~ | nwriteblocks /usr/include/stxxl/bits/mng/buf_writer.h:106:29: error: ‘busy_write_blocks’ was not declared in this scope; did you mean ‘nwriteblocks’? 106 | int_type size = busy_write_blocks.size(); | ^~~~~~~~~~~~~~~~~ | nwriteblocks /usr/include/stxxl/bits/mng/buf_writer.h:107:13: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 107 | request_ptr* reqs = new request_ptr[size]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/mng/buf_writer.h:107:26: error: ‘reqs’ was not declared in this scope; did you mean ‘request’? 107 | request_ptr* reqs = new request_ptr[size]; | ^~~~ | request /usr/include/stxxl/bits/mng/buf_writer.h:107:37: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 107 | request_ptr* reqs = new request_ptr[size]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/mng/buf_writer.h:111:27: error: ‘write_reqs’ was not declared in this scope; did you mean ‘write_bids’? 111 | reqs[i] = write_reqs[busy_write_blocks[i]]; | ^~~~~~~~~~ | write_bids /usr/include/stxxl/bits/mng/buf_writer.h:120:19: error: ‘free_write_blocks’ was not declared in this scope; did you mean ‘nwriteblocks’? 120 | ibuffer = free_write_blocks.back(); | ^~~~~~~~~~~~~~~~~ | nwriteblocks /usr/include/stxxl/bits/mng/buf_writer.h: In member function ‘stxxl::buffered_writer::block_type* stxxl::buffered_writer::write(block_type*, const bid_type&)’: /usr/include/stxxl/bits/mng/buf_writer.h:132:13: error: ‘batch_write_blocks’ was not declared in this scope 132 | if (batch_write_blocks.size() >= writebatchsize) | ^~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/buf_writer.h:140:21: error: ‘write_reqs’ was not declared in this scope; did you mean ‘write_bids’? 140 | if (write_reqs[ibuffer].valid()) | ^~~~~~~~~~ | write_bids /usr/include/stxxl/bits/mng/buf_writer.h:143:17: error: ‘write_reqs’ was not declared in this scope; did you mean ‘write_bids’? 143 | write_reqs[ibuffer] = write_buffers[ibuffer].write(write_bids[ibuffer]); | ^~~~~~~~~~ | write_bids /usr/include/stxxl/bits/mng/buf_writer.h:145:17: error: ‘busy_write_blocks’ was not declared in this scope; did you mean ‘nwriteblocks’? 145 | busy_write_blocks.push_back(ibuffer); | ^~~~~~~~~~~~~~~~~ | nwriteblocks /usr/include/stxxl/bits/mng/buf_writer.h:152:9: error: ‘batch_write_blocks’ was not declared in this scope 152 | batch_write_blocks.push(batch_entry(bid.offset, ibuffer)); | ^~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/buf_writer.h: In member function ‘void stxxl::buffered_writer::flush()’: /usr/include/stxxl/bits/mng/buf_writer.h:160:17: error: ‘batch_write_blocks’ was not declared in this scope 160 | while (!batch_write_blocks.empty()) | ^~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/buf_writer.h:165:17: error: ‘write_reqs’ was not declared in this scope; did you mean ‘write_bids’? 165 | if (write_reqs[ibuffer].valid()) | ^~~~~~~~~~ | write_bids /usr/include/stxxl/bits/mng/buf_writer.h:168:13: error: ‘write_reqs’ was not declared in this scope; did you mean ‘write_bids’? 168 | write_reqs[ibuffer] = write_buffers[ibuffer].write(write_bids[ibuffer]); | ^~~~~~~~~~ | write_bids /usr/include/stxxl/bits/mng/buf_writer.h:170:13: error: ‘busy_write_blocks’ was not declared in this scope; did you mean ‘nwriteblocks’? 170 | busy_write_blocks.push_back(ibuffer); | ^~~~~~~~~~~~~~~~~ | nwriteblocks /usr/include/stxxl/bits/mng/buf_writer.h:172:19: error: ‘vector’ is not a member of ‘std’ 172 | for (std::vector::const_iterator it = | ^~~~~~ /usr/include/stxxl/bits/mng/buf_writer.h:172:19: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/mng/buf_writer.h:172:34: error: expected primary-expression before ‘>’ token 172 | for (std::vector::const_iterator it = | ^ /usr/include/stxxl/bits/mng/buf_writer.h:172:37: error: ‘::const_iterator’ has not been declared 172 | for (std::vector::const_iterator it = | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/buf_writer.h:174:14: error: ‘it’ was not declared in this scope; did you mean ‘int’? 174 | it != busy_write_blocks.end(); it++) | ^~ | int /usr/include/stxxl/bits/mng/buf_writer.h:174:20: error: ‘busy_write_blocks’ was not declared in this scope; did you mean ‘nwriteblocks’? 174 | it != busy_write_blocks.end(); it++) | ^~~~~~~~~~~~~~~~~ | nwriteblocks /usr/include/stxxl/bits/mng/buf_writer.h:177:13: error: ‘write_reqs’ was not declared in this scope; did you mean ‘write_bids’? 177 | write_reqs[ibuffer]->wait(); | ^~~~~~~~~~ | write_bids /usr/include/stxxl/bits/mng/buf_writer.h:180:9: error: ‘batch_write_blocks’ was not declared in this scope 180 | assert(batch_write_blocks.empty()); | ^~~~~~ /usr/include/stxxl/bits/mng/buf_writer.h:181:9: error: ‘free_write_blocks’ was not declared in this scope; did you mean ‘nwriteblocks’? 181 | free_write_blocks.clear(); | ^~~~~~~~~~~~~~~~~ | nwriteblocks /usr/include/stxxl/bits/mng/buf_writer.h:182:9: error: ‘busy_write_blocks’ was not declared in this scope; did you mean ‘nwriteblocks’? 182 | busy_write_blocks.clear(); | ^~~~~~~~~~~~~~~~~ | nwriteblocks /usr/include/stxxl/bits/mng/buf_writer.h: In destructor ‘stxxl::buffered_writer::~buffered_writer()’: /usr/include/stxxl/bits/mng/buf_writer.h:192:17: error: ‘batch_write_blocks’ was not declared in this scope 192 | while (!batch_write_blocks.empty()) | ^~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/buf_writer.h:197:17: error: ‘write_reqs’ was not declared in this scope; did you mean ‘write_bids’? 197 | if (write_reqs[ibuffer].valid()) | ^~~~~~~~~~ | write_bids /usr/include/stxxl/bits/mng/buf_writer.h:200:13: error: ‘write_reqs’ was not declared in this scope; did you mean ‘write_bids’? 200 | write_reqs[ibuffer] = write_buffers[ibuffer].write(write_bids[ibuffer]); | ^~~~~~~~~~ | write_bids /usr/include/stxxl/bits/mng/buf_writer.h:202:13: error: ‘busy_write_blocks’ was not declared in this scope; did you mean ‘nwriteblocks’? 202 | busy_write_blocks.push_back(ibuffer); | ^~~~~~~~~~~~~~~~~ | nwriteblocks /usr/include/stxxl/bits/mng/buf_writer.h:204:19: error: ‘vector’ is not a member of ‘std’ 204 | for (std::vector::const_iterator it = | ^~~~~~ /usr/include/stxxl/bits/mng/buf_writer.h:204:19: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/mng/buf_writer.h:204:34: error: expected primary-expression before ‘>’ token 204 | for (std::vector::const_iterator it = | ^ /usr/include/stxxl/bits/mng/buf_writer.h:204:37: error: ‘::const_iterator’ has not been declared 204 | for (std::vector::const_iterator it = | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/buf_writer.h:206:14: error: ‘it’ was not declared in this scope; did you mean ‘int’? 206 | it != busy_write_blocks.end(); it++) | ^~ | int /usr/include/stxxl/bits/mng/buf_writer.h:206:20: error: ‘busy_write_blocks’ was not declared in this scope; did you mean ‘nwriteblocks’? 206 | it != busy_write_blocks.end(); it++) | ^~~~~~~~~~~~~~~~~ | nwriteblocks /usr/include/stxxl/bits/mng/buf_writer.h:209:13: error: ‘write_reqs’ was not declared in this scope; did you mean ‘write_bids’? 209 | write_reqs[ibuffer]->wait(); | ^~~~~~~~~~ | write_bids /usr/include/stxxl/bits/mng/buf_writer.h:212:18: error: ‘write_reqs’ was not declared in this scope; did you mean ‘write_bids’? 212 | delete[] write_reqs; | ^~~~~~~~~~ | write_bids In file included from /usr/include/stxxl/bits/algo/ksort.h:31: /usr/include/stxxl/bits/algo/inmemsort.h: In function ‘void stxxl::stl_in_memory_sort(ExtIterator, ExtIterator, StrictWeakOrdering)’: /usr/include/stxxl/bits/algo/inmemsort.h:36:5: error: ‘simple_vector’ was not declared in this scope 36 | simple_vector blocks(nblocks); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/inmemsort.h:36:29: error: expected primary-expression before ‘>’ token 36 | simple_vector blocks(nblocks); | ^ /usr/include/stxxl/bits/algo/inmemsort.h:37:19: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 37 | simple_vector reqs(nblocks); | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/inmemsort.h:41:9: error: ‘reqs’ was not declared in this scope; did you mean ‘request’? 41 | reqs[i] = blocks[i].read(*(first.bid() + i)); | ^~~~ | request /usr/include/stxxl/bits/algo/inmemsort.h:41:19: error: ‘blocks’ was not declared in this scope; did you mean ‘nblocks’? 41 | reqs[i] = blocks[i].read(*(first.bid() + i)); | ^~~~~~ | nblocks /usr/include/stxxl/bits/algo/inmemsort.h:43:14: error: ‘reqs’ was not declared in this scope; did you mean ‘request’? 43 | wait_all(reqs.begin(), nblocks); | ^~~~ | request /usr/include/stxxl/bits/algo/inmemsort.h:48:32: error: ‘blocks’ was not declared in this scope; did you mean ‘nblocks’? 48 | sort(make_element_iterator(blocks.begin(), first.block_offset()), | ^~~~~~ | nblocks /usr/include/stxxl/bits/algo/ksort.h: At global scope: /usr/include/stxxl/bits/algo/ksort.h:111:5: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 111 | request_ptr* req; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/ksort.h: In member function ‘void stxxl::ksort_local::write_completion_handler::operator()(stxxl::request*)’: /usr/include/stxxl/bits/algo/ksort.h:114:11: error: ‘req’ was not declared in this scope 114 | * req = block->read(bid); | ^~~ /usr/include/stxxl/bits/algo/ksort.h: At global scope: /usr/include/stxxl/bits/algo/ksort.h:133:5: error: ‘request_ptr’ has not been declared 133 | request_ptr* write_reqs, | ^~~~~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h:134:5: error: ‘request_ptr’ has not been declared 134 | request_ptr* read_reqs, | ^~~~~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h: In function ‘void stxxl::ksort_local::create_runs(InputBidIterator, RunType**, stxxl::unsigned_type, stxxl::unsigned_type, KeyExtractor)’: /usr/include/stxxl/bits/algo/ksort.h:193:5: error: ‘block_manager’ was not declared in this scope 193 | block_manager* bm = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h:193:20: error: ‘bm’ was not declared in this scope; did you mean ‘tm’? 193 | block_manager* bm = block_manager::get_instance(); | ^~ | tm /usr/include/stxxl/bits/algo/ksort.h:193:25: error: ‘block_manager’ is not a class, namespace, or enumeration 193 | block_manager* bm = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h:199:5: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 199 | request_ptr* read_reqs = new request_ptr[m2]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/ksort.h:199:18: error: ‘read_reqs’ was not declared in this scope 199 | request_ptr* read_reqs = new request_ptr[m2]; | ^~~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h:199:34: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 199 | request_ptr* read_reqs = new request_ptr[m2]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/ksort.h:200:18: error: ‘write_reqs’ was not declared in this scope 200 | request_ptr* write_reqs = new request_ptr[m2]; | ^~~~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h:200:35: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 200 | request_ptr* write_reqs = new request_ptr[m2]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/ksort.h: In function ‘bool stxxl::ksort_local::check_ksorted_runs(RunType**, stxxl::unsigned_type, stxxl::unsigned_type, KeyExtractor)’: /usr/include/stxxl/bits/algo/ksort.h:359:9: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 359 | request_ptr* reqs = new request_ptr[m]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/ksort.h:359:22: error: ‘reqs’ was not declared in this scope 359 | request_ptr* reqs = new request_ptr[m]; | ^~~~ /usr/include/stxxl/bits/algo/ksort.h:359:33: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 359 | request_ptr* reqs = new request_ptr[m]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/ksort.h: In function ‘void stxxl::ksort_local::merge_runs(RunType**, stxxl::unsigned_type, RunType*, stxxl::unsigned_type, KeyExtractor)’: /usr/include/stxxl/bits/algo/ksort.h:446:13: error: ‘block_prefetcher’ does not name a type 446 | typedef block_prefetcher prefetcher_type; | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h:447:36: error: ‘prefetcher_type’ was not declared in this scope 447 | typedef run_cursor2 run_cursor_type; | ^~~~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h:447:51: error: template argument 2 is invalid 447 | typedef run_cursor2 run_cursor_type; | ^ /usr/include/stxxl/bits/algo/ksort.h:465:27: error: ‘config’ has not been declared 465 | size_t disks_number = config::get_instance()->disks_number(); | ^~~~~~ /usr/include/stxxl/bits/algo/ksort.h:484:9: error: ‘config’ has not been declared 484 | config::get_instance()->get_max_device_id()); | ^~~~~~ /usr/include/stxxl/bits/algo/ksort.h:491:20: error: expected ‘;’ before ‘prefetcher’ 491 | prefetcher_type prefetcher(consume_seq.begin(), | ^~~~~~~~~~~ | ; /usr/include/stxxl/bits/algo/ksort.h:503:68: error: template argument 2 is invalid 503 | run_cursor2_cmp > | ^ /usr/include/stxxl/bits/algo/ksort.h:504:13: error: ‘prefetcher’ was not declared in this scope; did you mean ‘prefetch_seq’? 504 | losers(&prefetcher, nruns, cmp); | ^~~~~~~~~~ | prefetch_seq /usr/include/stxxl/bits/algo/ksort.h:510:16: error: request for member ‘multi_merge’ in ‘losers’, which is of non-class type ‘int’ 510 | losers.multi_merge(out_buffer->elem, out_buffer->elem + block_type::size); | ^~~~~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h:517:5: error: ‘block_manager’ was not declared in this scope 517 | block_manager* bm = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h:517:20: error: ‘bm’ was not declared in this scope; did you mean ‘_m’? 517 | block_manager* bm = block_manager::get_instance(); | ^~ | _m /usr/include/stxxl/bits/algo/ksort.h:517:25: error: ‘block_manager’ is not a class, namespace, or enumeration 517 | block_manager* bm = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h: At global scope: /usr/include/stxxl/bits/algo/ksort.h:532:1: error: ‘simple_vector’ does not name a type 532 | simple_vector< | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h: In function ‘void stxxl::ksort(ExtIterator, ExtIterator, KeyExtractor, unsigned_type)’: /usr/include/stxxl/bits/algo/ksort.h:727:13: error: ‘simple_vector’ does not name a type 727 | typedef simple_vector< | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h:739:5: error: ‘block_manager’ was not declared in this scope 739 | block_manager* mng = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h:739:20: error: ‘mng’ was not declared in this scope 739 | block_manager* mng = block_manager::get_instance(); | ^~~ /usr/include/stxxl/bits/algo/ksort.h:739:26: error: ‘block_manager’ is not a class, namespace, or enumeration 739 | block_manager* mng = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h:760:17: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 760 | request_ptr req; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/ksort.h:762:17: error: ‘req’ was not declared in this scope 762 | req = first_block->read(*first.bid()); | ^~~ /usr/include/stxxl/bits/algo/ksort.h:797:17: error: ‘run_type’ was not declared in this scope 797 | run_type* out = | ^~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h:797:27: error: ‘out’ was not declared in this scope; did you mean ‘count’? 797 | run_type* out = | ^~~ | count /usr/include/stxxl/bits/algo/ksort.h:798:34: error: ‘ksort_blocks’ is not a member of ‘stxxl::ksort_local’ 798 | ksort_local::ksort_blocks< | ^~~~~~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h:799:35: error: expected primary-expression before ‘,’ token 799 | block_type, alloc_strategy_type, | ^ /usr/include/stxxl/bits/algo/ksort.h:799:56: error: expected primary-expression before ‘,’ token 799 | block_type, alloc_strategy_type, | ^ /usr/include/stxxl/bits/algo/ksort.h:800:48: error: expected primary-expression before ‘,’ token 800 | bids_container_iterator, KeyExtractor | ^ /usr/include/stxxl/bits/algo/ksort.h:801:25: error: expected primary-expression before ‘>’ token 801 | >(first.bid(), n, M / block_type::raw_size, keyobj); | ^ /usr/include/stxxl/bits/algo/ksort.h:807:30: error: ‘reqs’ was not declared in this scope; did you mean ‘request’? 807 | request_ptr* reqs = new request_ptr[2]; | ^~~~ | request /usr/include/stxxl/bits/algo/ksort.h:807:41: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 807 | request_ptr* reqs = new request_ptr[2]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/ksort.h:839:26: error: ‘run_type’ is not a class, namespace, or enumeration 839 | typename run_type::iterator it = out->begin(); | ^~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h:839:45: error: expected ‘(’ before ‘it’ 839 | typename run_type::iterator it = out->begin(); | ^~ | ( /usr/include/stxxl/bits/algo/ksort.h:840:17: error: ‘it’ was not declared in this scope; did you mean ‘i’? 840 | it++; | ^~ | i /usr/include/stxxl/bits/algo/ksort.h:866:17: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 866 | request_ptr req; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/ksort.h:868:17: error: ‘req’ was not declared in this scope 868 | req = first_block->read(*first.bid()); | ^~~ /usr/include/stxxl/bits/algo/ksort.h:888:17: error: ‘run_type’ was not declared in this scope 888 | run_type* out = | ^~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h:888:27: error: ‘out’ was not declared in this scope; did you mean ‘count’? 888 | run_type* out = | ^~~ | count /usr/include/stxxl/bits/algo/ksort.h:889:34: error: ‘ksort_blocks’ is not a member of ‘stxxl::ksort_local’ 889 | ksort_local::ksort_blocks< | ^~~~~~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h:890:35: error: expected primary-expression before ‘,’ token 890 | block_type, alloc_strategy_type, | ^ /usr/include/stxxl/bits/algo/ksort.h:890:56: error: expected primary-expression before ‘,’ token 890 | block_type, alloc_strategy_type, | ^ /usr/include/stxxl/bits/algo/ksort.h:891:48: error: expected primary-expression before ‘,’ token 891 | bids_container_iterator, KeyExtractor | ^ /usr/include/stxxl/bits/algo/ksort.h:892:25: error: expected primary-expression before ‘>’ token 892 | >(first.bid(), n, M / block_type::raw_size, keyobj); | ^ /usr/include/stxxl/bits/algo/ksort.h:898:30: error: ‘reqs’ was not declared in this scope; did you mean ‘request’? 898 | request_ptr* reqs = new request_ptr[2]; | ^~~~ | request /usr/include/stxxl/bits/algo/ksort.h:898:41: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 898 | request_ptr* reqs = new request_ptr[2]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/ksort.h:915:26: error: ‘run_type’ is not a class, namespace, or enumeration 915 | typename run_type::iterator it = out->begin(); | ^~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h:915:45: error: expected ‘(’ before ‘it’ 915 | typename run_type::iterator it = out->begin(); | ^~ | ( /usr/include/stxxl/bits/algo/ksort.h:916:17: error: ‘it’ was not declared in this scope; did you mean ‘i’? 916 | it++; | ^~ | i /usr/include/stxxl/bits/algo/ksort.h:943:17: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 943 | request_ptr req; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/ksort.h:946:17: error: ‘req’ was not declared in this scope 946 | req = last_block->read(*last.bid()); | ^~~ /usr/include/stxxl/bits/algo/ksort.h:965:17: error: ‘run_type’ was not declared in this scope 965 | run_type* out = | ^~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h:965:27: error: ‘out’ was not declared in this scope; did you mean ‘count’? 965 | run_type* out = | ^~~ | count /usr/include/stxxl/bits/algo/ksort.h:966:34: error: ‘ksort_blocks’ is not a member of ‘stxxl::ksort_local’ 966 | ksort_local::ksort_blocks< | ^~~~~~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h:967:35: error: expected primary-expression before ‘,’ token 967 | block_type, alloc_strategy_type, | ^ /usr/include/stxxl/bits/algo/ksort.h:967:56: error: expected primary-expression before ‘,’ token 967 | block_type, alloc_strategy_type, | ^ /usr/include/stxxl/bits/algo/ksort.h:968:48: error: expected primary-expression before ‘,’ token 968 | bids_container_iterator, KeyExtractor | ^ /usr/include/stxxl/bits/algo/ksort.h:969:25: error: expected primary-expression before ‘>’ token 969 | >(first.bid(), n, M / block_type::raw_size, keyobj); | ^ /usr/include/stxxl/bits/algo/ksort.h:973:30: error: ‘reqs’ was not declared in this scope; did you mean ‘request’? 973 | request_ptr* reqs = new request_ptr[2]; | ^~~~ | request /usr/include/stxxl/bits/algo/ksort.h:973:41: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 973 | request_ptr* reqs = new request_ptr[2]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/ksort.h:990:26: error: ‘run_type’ is not a class, namespace, or enumeration 990 | typename run_type::iterator it = out->begin(); | ^~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h:990:45: error: expected ‘(’ before ‘it’ 990 | typename run_type::iterator it = out->begin(); | ^~ | ( /usr/include/stxxl/bits/algo/ksort.h:993:59: error: ‘it’ was not declared in this scope; did you mean ‘i’? 993 | for ( ; cur_bid != last.bid(); cur_bid++, it++) | ^~ | i /usr/include/stxxl/bits/algo/ksort.h:1011:17: error: ‘run_type’ was not declared in this scope 1011 | run_type* out = | ^~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h:1011:27: error: ‘out’ was not declared in this scope; did you mean ‘count’? 1011 | run_type* out = | ^~~ | count /usr/include/stxxl/bits/algo/ksort.h:1012:34: error: ‘ksort_blocks’ is not a member of ‘stxxl::ksort_local’ 1012 | ksort_local::ksort_blocks< | ^~~~~~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h:1013:35: error: expected primary-expression before ‘,’ token 1013 | block_type, alloc_strategy_type, | ^ /usr/include/stxxl/bits/algo/ksort.h:1013:56: error: expected primary-expression before ‘,’ token 1013 | block_type, alloc_strategy_type, | ^ /usr/include/stxxl/bits/algo/ksort.h:1014:48: error: expected primary-expression before ‘,’ token 1014 | bids_container_iterator, KeyExtractor | ^ /usr/include/stxxl/bits/algo/ksort.h:1015:25: error: expected primary-expression before ‘>’ token 1015 | >(first.bid(), n, M / block_type::raw_size, keyobj); | ^ /usr/include/stxxl/bits/algo/ksort.h:1017:26: error: ‘run_type’ is not a class, namespace, or enumeration 1017 | typename run_type::iterator it = out->begin(); | ^~~~~~~~ /usr/include/stxxl/bits/algo/ksort.h:1017:45: error: expected ‘(’ before ‘it’ 1017 | typename run_type::iterator it = out->begin(); | ^~ | ( /usr/include/stxxl/bits/algo/ksort.h:1020:59: error: ‘it’ was not declared in this scope; did you mean ‘int’? 1020 | for ( ; cur_bid != last.bid(); cur_bid++, it++) | ^~ | int /usr/include/stxxl/bits/algo/sort.h: At global scope: /usr/include/stxxl/bits/algo/sort.h:57:5: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 57 | request_ptr* req; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/sort.h: In member function ‘void stxxl::sort_local::read_next_after_write_completed::operator()(stxxl::request*)’: /usr/include/stxxl/bits/algo/sort.h:60:11: error: ‘req’ was not declared in this scope 60 | * req = block->read(bid); | ^~~ /usr/include/stxxl/bits/algo/sort.h: In function ‘void stxxl::sort_local::create_runs(InputBidIterator, RunType**, stxxl::int_type, stxxl::int_type, ValueCmp)’: /usr/include/stxxl/bits/algo/sort.h:84:5: error: ‘block_manager’ was not declared in this scope 84 | block_manager* bm = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/sort.h:84:20: error: ‘bm’ was not declared in this scope; did you mean ‘_m’? 84 | block_manager* bm = block_manager::get_instance(); | ^~ | _m /usr/include/stxxl/bits/algo/sort.h:84:25: error: ‘block_manager’ is not a class, namespace, or enumeration 84 | block_manager* bm = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/sort.h:89:5: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 89 | request_ptr* read_reqs1 = new request_ptr[m2]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/sort.h:89:18: error: ‘read_reqs1’ was not declared in this scope 89 | request_ptr* read_reqs1 = new request_ptr[m2]; | ^~~~~~~~~~ /usr/include/stxxl/bits/algo/sort.h:89:35: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 89 | request_ptr* read_reqs1 = new request_ptr[m2]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/sort.h:90:18: error: ‘read_reqs2’ was not declared in this scope 90 | request_ptr* read_reqs2 = new request_ptr[m2]; | ^~~~~~~~~~ /usr/include/stxxl/bits/algo/sort.h:90:35: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 90 | request_ptr* read_reqs2 = new request_ptr[m2]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/sort.h:91:18: error: ‘write_reqs’ was not declared in this scope 91 | request_ptr* write_reqs = new request_ptr[m2]; | ^~~~~~~~~~ /usr/include/stxxl/bits/algo/sort.h:91:35: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 91 | request_ptr* write_reqs = new request_ptr[m2]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/sort.h: In function ‘bool stxxl::sort_local::check_sorted_runs(RunType**, stxxl::unsigned_type, stxxl::unsigned_type, ValueCmp)’: /usr/include/stxxl/bits/algo/sort.h:222:9: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 222 | request_ptr* reqs = new request_ptr[m]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/sort.h:222:22: error: ‘reqs’ was not declared in this scope 222 | request_ptr* reqs = new request_ptr[m]; | ^~~~ /usr/include/stxxl/bits/algo/sort.h:222:33: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 222 | request_ptr* reqs = new request_ptr[m]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/sort.h: In function ‘void stxxl::sort_local::merge_runs(RunType**, stxxl::int_type, RunType*, stxxl::unsigned_type, ValueCmp)’: /usr/include/stxxl/bits/algo/sort.h:314:13: error: ‘block_prefetcher’ does not name a type 314 | typedef block_prefetcher prefetcher_type; | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/sort.h:315:37: error: ‘prefetcher_type’ was not declared in this scope 315 | typedef run_cursor2 run_cursor_type; | ^~~~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/sort.h:315:52: error: template argument 2 is invalid 315 | typedef run_cursor2 run_cursor_type; | ^ /usr/include/stxxl/bits/algo/sort.h:335:29: error: ‘config’ has not been declared 335 | int_type disks_number = config::get_instance()->disks_number(); | ^~~~~~ /usr/include/stxxl/bits/algo/sort.h:353:9: error: ‘config’ has not been declared 353 | config::get_instance()->get_max_device_id()); | ^~~~~~ /usr/include/stxxl/bits/algo/sort.h:360:20: error: expected ‘;’ before ‘prefetcher’ 360 | prefetcher_type prefetcher(consume_seq.begin(), | ^~~~~~~~~~~ | ; /usr/include/stxxl/bits/algo/sort.h:382:14: error: ‘vector’ is not a member of ‘std’ 382 | std::vector seqs(nruns); | ^~~~~~ /usr/include/stxxl/bits/algo/sort.h:31:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 30 | #include +++ |+#include 31 | #include /usr/include/stxxl/bits/algo/sort.h:382:29: error: expected primary-expression before ‘>’ token 382 | std::vector seqs(nruns); | ^ /usr/include/stxxl/bits/algo/sort.h:383:14: error: ‘vector’ is not a member of ‘std’ 383 | std::vector buffers(nruns); | ^~~~~~ /usr/include/stxxl/bits/algo/sort.h:383:14: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/algo/sort.h:383:31: error: expected primary-expression before ‘*’ token 383 | std::vector buffers(nruns); | ^ /usr/include/stxxl/bits/algo/sort.h:383:32: error: expected primary-expression before ‘>’ token 383 | std::vector buffers(nruns); | ^ /usr/include/stxxl/bits/algo/sort.h:387:13: error: ‘buffers’ was not declared in this scope 387 | buffers[i] = prefetcher.pull_block(); // get first block of each run | ^~~~~~~ /usr/include/stxxl/bits/algo/sort.h:387:26: error: ‘prefetcher’ was not declared in this scope; did you mean ‘prefetch_seq’? 387 | buffers[i] = prefetcher.pull_block(); // get first block of each run | ^~~~~~~~~~ | prefetch_seq /usr/include/stxxl/bits/algo/sort.h:388:13: error: ‘seqs’ was not declared in this scope 388 | seqs[i] = std::make_pair(buffers[i]->begin(), buffers[i]->end()); | ^~~~ /usr/include/stxxl/bits/algo/sort.h:405:25: error: ‘prefetcher’ was not declared in this scope; did you mean ‘prefetch_seq’? 405 | if (prefetcher.empty()) | ^~~~~~~~~~ | prefetch_seq /usr/include/stxxl/bits/algo/sort.h:414:29: error: ‘seqs’ was not declared in this scope 414 | seqs, consume_seq[prefetcher.pos()].value, cmp); | ^~~~ /usr/include/stxxl/bits/algo/sort.h:422:49: error: ‘seqs’ was not declared in this scope 422 | stxxl::parallel::multiway_merge(seqs.begin(), seqs.end(), out_buffer->end() - rest, cmp, output_size); | ^~~~ /usr/include/stxxl/bits/algo/sort.h:430:69: error: ‘buffers’ was not declared in this scope 430 | sort_helper::refill_or_remove_empty_sequences(seqs, buffers, prefetcher); | ^~~~~~~ /usr/include/stxxl/bits/algo/sort.h:430:78: error: ‘prefetcher’ was not declared in this scope; did you mean ‘prefetch_seq’? 430 | sort_helper::refill_or_remove_empty_sequences(seqs, buffers, prefetcher); | ^~~~~~~~~~ | prefetch_seq /usr/include/stxxl/bits/algo/sort.h:431:34: error: ‘seqs’ was not declared in this scope 431 | } while (rest > 0 && seqs.size() > 0); | ^~~~ /usr/include/stxxl/bits/algo/sort.h:466:17: error: ‘prefetcher’ was not declared in this scope; did you mean ‘prefetch_seq’? 466 | losers(&prefetcher, nruns, run_cursor2_cmp_type(cmp)); | ^~~~~~~~~~ | prefetch_seq In file included from /usr/include/stxxl/bits/algo/ksort.h:30: /usr/include/stxxl/bits/algo/losertree.h: In instantiation of ‘class stxxl::loser_tree’: /usr/include/stxxl/bits/algo/sort.h:474:19: required from here /usr/include/stxxl/bits/algo/losertree.h:59:53: error: ‘int’ is not a class, struct, or union type 59 | typedef typename RunCursorType::prefetcher_type prefetcher_type; | ^~~~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/losertree.h:60:48: error: ‘int’ is not a class, struct, or union type 60 | typedef typename RunCursorType::value_type value_type; | ^~~~~~~~~~ /usr/include/stxxl/bits/algo/sort.h:474:20: error: ‘class stxxl::loser_tree’ has no member named ‘multi_merge’ 474 | losers.multi_merge(out_buffer->elem, out_buffer->elem + block_type::size); | ^~~~~~~~~~~ /usr/include/stxxl/bits/algo/sort.h:497:5: error: ‘block_manager’ was not declared in this scope 497 | block_manager* bm = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/sort.h:497:20: error: ‘bm’ was not declared in this scope; did you mean ‘_m’? 497 | block_manager* bm = block_manager::get_instance(); | ^~ | _m /usr/include/stxxl/bits/algo/sort.h:497:25: error: ‘block_manager’ is not a class, namespace, or enumeration 497 | block_manager* bm = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/sort.h: In function ‘stxxl::simple_vector >* stxxl::sort_local::sort_blocks(InputBidIterator, stxxl::unsigned_type, stxxl::unsigned_type, ValueCmp)’: /usr/include/stxxl/bits/algo/sort.h:533:5: error: ‘block_manager’ was not declared in this scope 533 | block_manager* mng = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/sort.h:533:20: error: ‘mng’ was not declared in this scope 533 | block_manager* mng = block_manager::get_instance(); | ^~~ /usr/include/stxxl/bits/algo/sort.h:533:26: error: ‘block_manager’ is not a class, namespace, or enumeration 533 | block_manager* mng = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/sort.h:557:31: error: ‘stats’ has not been declared 557 | double io_wait_after_rf = stats::get_instance()->get_io_wait_time(); | ^~~~~ /usr/include/stxxl/bits/algo/sort.h:615:29: error: ‘runs2bid_array_adaptor2’ was not declared in this scope 615 | runs2bid_array_adaptor2(new_runs, 0, new_nruns, blocks_in_new_run), | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/sort.h:615:83: error: expected primary-expression before ‘>’ token 615 | runs2bid_array_adaptor2(new_runs, 0, new_nruns, blocks_in_new_run), | ^ /usr/include/stxxl/bits/algo/sort.h:616:83: error: expected primary-expression before ‘>’ token 616 | runs2bid_array_adaptor2(new_runs, _n, new_nruns, blocks_in_new_run)); | ^ /usr/include/stxxl/bits/algo/sort.h:647:5: error: ‘stats’ has not been declared 647 | STXXL_VERBOSE(*stats::get_instance()); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/sort.h: In function ‘void stxxl::sort(ExtIterator, ExtIterator, StrictWeakOrdering, unsigned_type)’: /usr/include/stxxl/bits/algo/sort.h:688:5: error: ‘block_manager’ was not declared in this scope 688 | block_manager* mng = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/sort.h:688:20: error: ‘mng’ was not declared in this scope 688 | block_manager* mng = block_manager::get_instance(); | ^~~ /usr/include/stxxl/bits/algo/sort.h:688:26: error: ‘block_manager’ is not a class, namespace, or enumeration 688 | block_manager* mng = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/algo/sort.h:710:17: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 710 | request_ptr req; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/sort.h:712:17: error: ‘req’ was not declared in this scope 712 | req = first_block->read(*first.bid()); | ^~~ /usr/include/stxxl/bits/algo/sort.h:757:30: error: ‘reqs’ was not declared in this scope; did you mean ‘request’? 757 | request_ptr* reqs = new request_ptr[2]; | ^~~~ | request /usr/include/stxxl/bits/algo/sort.h:757:41: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 757 | request_ptr* reqs = new request_ptr[2]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/sort.h:819:17: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 819 | request_ptr req; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/sort.h:821:17: error: ‘req’ was not declared in this scope 821 | req = first_block->read(*first.bid()); | ^~~ /usr/include/stxxl/bits/algo/sort.h:851:30: error: ‘reqs’ was not declared in this scope; did you mean ‘request’? 851 | request_ptr* reqs = new request_ptr[2]; | ^~~~ | request /usr/include/stxxl/bits/algo/sort.h:851:41: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 851 | request_ptr* reqs = new request_ptr[2]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/sort.h:898:17: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 898 | request_ptr req; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/sort.h:901:17: error: ‘req’ was not declared in this scope 901 | req = last_block->read(*last.bid()); | ^~~ /usr/include/stxxl/bits/algo/sort.h:928:30: error: ‘reqs’ was not declared in this scope; did you mean ‘request’? 928 | request_ptr* reqs = new request_ptr[2]; | ^~~~ | request /usr/include/stxxl/bits/algo/sort.h:928:41: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 928 | request_ptr* reqs = new request_ptr[2]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/common/utils.h: At global scope: /usr/include/stxxl/bits/common/utils.h:55:20: error: ‘vector’ in namespace ‘std’ does not name a template type 55 | static inline std::vector | ^~~~~~ /usr/include/stxxl/bits/common/utils.h:32:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 31 | #include +++ |+#include 32 | /usr/include/stxxl/bits/mng/block_prefetcher.h:76:5: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 76 | request_ptr* read_reqs; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/mng/block_prefetcher.h: In constructor ‘stxxl::block_prefetcher::block_prefetcher(bid_iterator_type, bid_iterator_type, stxxl::int_type*, stxxl::int_type, stxxl::completion_handler)’: /usr/include/stxxl/bits/mng/block_prefetcher.h:128:9: error: ‘read_reqs’ was not declared in this scope; did you mean ‘read_bids’? 128 | read_reqs = new request_ptr[nreadblocks]; | ^~~~~~~~~ | read_bids /usr/include/stxxl/bits/mng/block_prefetcher.h:128:25: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 128 | read_reqs = new request_ptr[nreadblocks]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/mng/block_prefetcher.h: In member function ‘bool stxxl::block_prefetcher::block_consumed(block_type*&)’: /usr/include/stxxl/bits/mng/block_prefetcher.h:167:13: error: ‘read_reqs’ was not declared in this scope; did you mean ‘read_bids’? 167 | if (read_reqs[ibuffer].valid()) | ^~~~~~~~~ | read_bids /usr/include/stxxl/bits/mng/block_prefetcher.h:170:9: error: ‘read_reqs’ was not declared in this scope; did you mean ‘read_bids’? 170 | read_reqs[ibuffer] = NULL; | ^~~~~~~~~ | read_bids /usr/include/stxxl/bits/mng/block_prefetcher.h: In destructor ‘stxxl::block_prefetcher::~block_prefetcher()’: /usr/include/stxxl/bits/mng/block_prefetcher.h:214:17: error: ‘read_reqs’ was not declared in this scope; did you mean ‘read_bids’? 214 | if (read_reqs[i].valid()) | ^~~~~~~~~ | read_bids /usr/include/stxxl/bits/mng/block_prefetcher.h:217:18: error: ‘read_reqs’ was not declared in this scope; did you mean ‘read_bids’? 217 | delete[] read_reqs; | ^~~~~~~~~ | read_bids /usr/include/stxxl/bits/mng/buf_istream.h: In constructor ‘stxxl::buf_istream::buf_istream(bid_iterator_type, bid_iterator_type, stxxl::unsigned_type)’: /usr/include/stxxl/bits/mng/buf_istream.h:67:38: error: ‘config’ has not been declared 67 | const unsigned_type ndisks = config::get_instance()->disks_number(); | ^~~~~~ /usr/include/stxxl/bits/mng/buf_istream.h:68:38: error: ‘config’ has not been declared 68 | const unsigned_type mdevid = config::get_instance()->get_max_device_id(); | ^~~~~~ /usr/include/stxxl/bits/stream/stream.h: In constructor ‘stxxl::stream::vector_iterator2stream::vector_iterator2stream(InputIterator, InputIterator, stxxl::unsigned_type)’: /usr/include/stxxl/bits/stream/stream.h:147:31: error: ‘config’ has not been declared 147 | (2 * config::get_instance()->disks_number()) | ^~~~~~ /usr/include/stxxl/bits/stream/stream.h: At global scope: /usr/include/stxxl/bits/stream/stream.h:209:12: error: ‘vector_iterator’ is not a member of ‘stxxl’; did you mean ‘deque_iterator’? 209 | stxxl::vector_iterator | ^ /usr/include/stxxl/bits/stream/stream.h:111:7: note: provided for ‘template class stxxl::stream::vector_iterator2stream’ 111 | class vector_iterator2stream | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/stream.h:211:5: error: expected unqualified-id before ‘>’ token 211 | > | ^ /usr/include/stxxl/bits/stream/stream.h:230:12: error: ‘vector_iterator’ is not a member of ‘stxxl’; did you mean ‘deque_iterator’? 230 | stxxl::vector_iterator | ^ /usr/include/stxxl/bits/stream/stream.h:100:8: note: provided for ‘template struct stxxl::stream::streamify_traits’ 100 | struct streamify_traits | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/stream.h:232:5: error: expected unqualified-id before ‘>’ token 232 | > | ^ /usr/include/stxxl/bits/stream/stream.h:252:12: error: ‘const_vector_iterator’ is not a member of ‘stxxl’; did you mean ‘const_deque_iterator’? 252 | stxxl::const_vector_iterator | ^ /usr/include/stxxl/bits/stream/stream.h:111:7: note: provided for ‘template class stxxl::stream::vector_iterator2stream’ 111 | class vector_iterator2stream | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/stream.h:254:5: error: expected unqualified-id before ‘>’ token 254 | > | ^ /usr/include/stxxl/bits/stream/stream.h:273:12: error: ‘const_vector_iterator’ is not a member of ‘stxxl’; did you mean ‘const_deque_iterator’? 273 | stxxl::const_vector_iterator | ^ /usr/include/stxxl/bits/stream/stream.h:100:8: note: provided for ‘template struct stxxl::stream::streamify_traits’ 100 | struct streamify_traits | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/stream.h:275:5: error: expected unqualified-id before ‘>’ token 275 | > | ^ /usr/include/stxxl/bits/stream/stream.h:377:12: error: ‘vector_iterator’ is not a member of ‘stxxl’; did you mean ‘deque_iterator’? 377 | stxxl::vector_iterator | ^ /usr/include/stxxl/bits/stream/stream.h:290:7: note: provided for ‘template class stxxl::stream::vector_iterator2stream_sr’ 290 | class vector_iterator2stream_sr | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/stream.h:379:5: error: expected unqualified-id before ‘>’ token 379 | > | ^ /usr/include/stxxl/bits/stream/stream.h:400:12: error: ‘const_vector_iterator’ is not a member of ‘stxxl’; did you mean ‘const_deque_iterator’? 400 | stxxl::const_vector_iterator | ^ /usr/include/stxxl/bits/stream/stream.h:290:7: note: provided for ‘template class stxxl::stream::vector_iterator2stream_sr’ 290 | class vector_iterator2stream_sr | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/stream.h:402:5: error: expected unqualified-id before ‘>’ token 402 | > | ^ /usr/include/stxxl/bits/stream/stream.h:477:8: error: ‘vector_iterator’ in namespace ‘stxxl’ does not name a template type; did you mean ‘deque_iterator’? 477 | stxxl::vector_iterator run_type; | ^~~~~~ /usr/include/stxxl/bits/stream/sorted_runs.h:19:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 18 | #include +++ |+#include 19 | #include /usr/include/stxxl/bits/stream/sorted_runs.h:44:18: error: ‘vector’ in namespace ‘std’ does not name a template type 44 | typedef std::vector small_run_type; | ^~~~~~ /usr/include/stxxl/bits/stream/sorted_runs.h:44:13: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 44 | typedef std::vector small_run_type; | ^~~ /usr/include/stxxl/bits/stream/sorted_runs.h:46:27: error: ‘vector’ in namespace ‘std’ does not name a template type 46 | typedef typename std::vector::size_type run_index_type; | ^~~~~~ /usr/include/stxxl/bits/stream/sorted_runs.h:46:27: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/stream/sorted_runs.h:46:33: error: expected unqualified-id before ‘<’ token 46 | typedef typename std::vector::size_type run_index_type; | ^ /usr/include/stxxl/bits/stream/sorted_runs.h:54:10: error: ‘vector’ in namespace ‘std’ does not name a template type 54 | std::vector runs; | ^~~~~~ /usr/include/stxxl/bits/stream/sorted_runs.h:54:5: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 54 | std::vector runs; | ^~~ /usr/include/stxxl/bits/stream/sorted_runs.h:57:10: error: ‘vector’ in namespace ‘std’ does not name a template type 57 | std::vector runs_sizes; | ^~~~~~ /usr/include/stxxl/bits/stream/sorted_runs.h:57:5: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 57 | std::vector runs_sizes; | ^~~ /usr/include/stxxl/bits/stream/sorted_runs.h:63:5: error: ‘small_run_type’ does not name a type 63 | small_run_type small_run; | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sorted_runs.h:87:24: error: ‘run_type’ does not name a type 87 | void add_run(const run_type& run, size_type run_size) | ^~~~~~~~ /usr/include/stxxl/bits/stream/sorted_runs.h: In member function ‘void stxxl::stream::sorted_runs::clear()’: /usr/include/stxxl/bits/stream/sorted_runs.h:81:9: error: ‘runs’ was not declared in this scope 81 | runs.clear(); | ^~~~ /usr/include/stxxl/bits/stream/sorted_runs.h:82:9: error: ‘runs_sizes’ was not declared in this scope 82 | runs_sizes.clear(); | ^~~~~~~~~~ /usr/include/stxxl/bits/stream/sorted_runs.h:83:9: error: ‘small_run’ was not declared in this scope 83 | small_run.clear(); | ^~~~~~~~~ /usr/include/stxxl/bits/stream/sorted_runs.h: In member function ‘void stxxl::stream::sorted_runs::add_run(const int&, size_type)’: /usr/include/stxxl/bits/stream/sorted_runs.h:89:9: error: ‘runs’ was not declared in this scope; did you mean ‘run’? 89 | runs.push_back(run); | ^~~~ | run /usr/include/stxxl/bits/stream/sorted_runs.h:90:9: error: ‘runs_sizes’ was not declared in this scope; did you mean ‘run_size’? 90 | runs_sizes.push_back(run_size); | ^~~~~~~~~~ | run_size /usr/include/stxxl/bits/stream/sorted_runs.h: In member function ‘void stxxl::stream::sorted_runs::swap(stxxl::stream::sorted_runs&)’: /usr/include/stxxl/bits/stream/sorted_runs.h:99:19: error: ‘runs’ was not declared in this scope 99 | std::swap(runs, b.runs); | ^~~~ /usr/include/stxxl/bits/stream/sorted_runs.h:100:19: error: ‘runs_sizes’ was not declared in this scope 100 | std::swap(runs_sizes, b.runs_sizes); | ^~~~~~~~~~ /usr/include/stxxl/bits/stream/sorted_runs.h:101:19: error: ‘small_run’ was not declared in this scope 101 | std::swap(small_run, b.small_run); | ^~~~~~~~~ /usr/include/stxxl/bits/stream/sorted_runs.h: In member function ‘void stxxl::stream::sorted_runs::deallocate_blocks()’: /usr/include/stxxl/bits/stream/sorted_runs.h:112:9: error: ‘block_manager’ was not declared in this scope 112 | block_manager* bm = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sorted_runs.h:112:24: error: ‘bm’ was not declared in this scope; did you mean ‘tm’? 112 | block_manager* bm = block_manager::get_instance(); | ^~ | tm /usr/include/stxxl/bits/stream/sorted_runs.h:112:29: error: ‘block_manager’ is not a class, namespace, or enumeration 112 | block_manager* bm = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sorted_runs.h:113:39: error: ‘runs’ was not declared in this scope 113 | for (unsigned_type i = 0; i < runs.size(); ++i) | ^~~~ /usr/include/stxxl/bits/stream/sort_stream.h: At global scope: /usr/include/stxxl/bits/stream/sort_stream.h:49:77: error: expected ‘(’ before ‘)’ token 49 | unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(typename Input::value_type), | ^ | ( /usr/include/stxxl/bits/stream/sort_stream.h:50:22: error: ‘STXXL_DEFAULT_ALLOC_STRATEGY’ does not name a type 50 | class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:50:22: note: the macro ‘STXXL_DEFAULT_ALLOC_STRATEGY’ had not yet been defined /usr/include/stxxl/bits/mng/block_alloc.h:258: note: it was later defined here 258 | #define STXXL_DEFAULT_ALLOC_STRATEGY stxxl::RC | /usr/include/stxxl/bits/stream/sort_stream.h:65:13: error: ‘counting_ptr’ does not name a type 65 | typedef counting_ptr sorted_runs_type; | ^~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:77:5: error: ‘sorted_runs_type’ does not name a type; did you mean ‘sorted_runs_data_type’? 77 | sorted_runs_type m_result; | ^~~~~~~~~~~~~~~~ | sorted_runs_data_type /usr/include/stxxl/bits/stream/sort_stream.h:150:5: error: ‘sorted_runs_type’ does not name a type; did you mean ‘sorted_runs_data_type’? 150 | sorted_runs_type & result() | ^~~~~~~~~~~~~~~~ | sorted_runs_data_type /usr/include/stxxl/bits/stream/sort_stream.h: In constructor ‘stxxl::stream::basic_runs_creator::basic_runs_creator(Input&, CompareType, stxxl::unsigned_type)’: /usr/include/stxxl/bits/stream/sort_stream.h:134:11: error: class ‘stxxl::stream::basic_runs_creator’ does not have any field named ‘m_result’ 134 | m_result(new sorted_runs_data_type), | ^~~~~~~~ In file included from /usr/include/c++/12/cassert:44, from /usr/include/stxxl/bits/common/simple_vector.h:20: /usr/include/stxxl/bits/stream/sort_stream.h: In member function ‘void stxxl::stream::basic_runs_creator::compute_result()’: /usr/include/stxxl/bits/stream/sort_stream.h:215:9: error: ‘m_result’ was not declared in this scope 215 | assert(m_result->small_run.empty()); | ^~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:223:5: error: ‘block_manager’ was not declared in this scope 223 | block_manager* bm = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:223:20: error: ‘bm’ was not declared in this scope; did you mean ‘tm’? 223 | block_manager* bm = block_manager::get_instance(); | ^~ | tm /usr/include/stxxl/bits/stream/sort_stream.h:223:25: error: ‘block_manager’ is not a class, namespace, or enumeration 223 | block_manager* bm = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:224:5: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 224 | request_ptr* write_reqs = new request_ptr[m2]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/stream/sort_stream.h:224:18: error: ‘write_reqs’ was not declared in this scope 224 | request_ptr* write_reqs = new request_ptr[m2]; | ^~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:224:35: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 224 | request_ptr* write_reqs = new request_ptr[m2]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/stream/sort_stream.h:241:5: error: ‘m_result’ was not declared in this scope 241 | m_result->runs.push_back(run); | ^~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:282:22: error: ‘write_reqs1’ was not declared in this scope 282 | request_ptr* write_reqs1 = new request_ptr[cur_run_size - m2]; | ^~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:282:40: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 282 | request_ptr* write_reqs1 = new request_ptr[cur_run_size - m2]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/stream/sort_stream.h: At global scope: /usr/include/stxxl/bits/stream/sort_stream.h:359:77: error: expected ‘(’ before ‘)’ token 359 | unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(typename Input::value_type), | ^ | ( /usr/include/stxxl/bits/stream/sort_stream.h:360:22: error: ‘STXXL_DEFAULT_ALLOC_STRATEGY’ does not name a type 360 | class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:360:22: note: the macro ‘STXXL_DEFAULT_ALLOC_STRATEGY’ had not yet been defined /usr/include/stxxl/bits/mng/block_alloc.h:258: note: it was later defined here 258 | #define STXXL_DEFAULT_ALLOC_STRATEGY stxxl::RC | /usr/include/stxxl/bits/stream/sort_stream.h:427:13: error: ‘counting_ptr’ does not name a type 427 | typedef counting_ptr sorted_runs_type; | ^~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:428:13: error: ‘sorted_runs_type’ does not name a type; did you mean ‘sorted_runs_data_type’? 428 | typedef sorted_runs_type result_type; | ^~~~~~~~~~~~~~~~ | sorted_runs_data_type /usr/include/stxxl/bits/stream/sort_stream.h:439:5: error: ‘sorted_runs_type’ does not name a type; did you mean ‘sorted_runs_data_type’? 439 | sorted_runs_type m_result; | ^~~~~~~~~~~~~~~~ | sorted_runs_data_type /usr/include/stxxl/bits/stream/sort_stream.h:467:5: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 467 | request_ptr* m_write_reqs; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/stream/sort_stream.h:662:5: error: ‘sorted_runs_type’ does not name a type; did you mean ‘sorted_runs_data_type’? 662 | sorted_runs_type & result() | ^~~~~~~~~~~~~~~~ | sorted_runs_data_type /usr/include/stxxl/bits/stream/sort_stream.h: In member function ‘void stxxl::stream::runs_creator, CompareType, BlockSize, AllocStr>::compute_result()’: /usr/include/stxxl/bits/stream/sort_stream.h:504:45: error: ‘m_result’ was not declared in this scope 504 | if (m_cur_el <= block_type::size && m_result->elements == 0) | ^~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:515:9: error: ‘block_manager’ was not declared in this scope 515 | block_manager* bm = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:515:24: error: ‘bm’ was not declared in this scope; did you mean ‘tm’? 515 | block_manager* bm = block_manager::get_instance(); | ^~ | tm /usr/include/stxxl/bits/stream/sort_stream.h:515:29: error: ‘block_manager’ is not a class, namespace, or enumeration 515 | block_manager* bm = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:527:17: error: ‘m_write_reqs’ was not declared in this scope 527 | if (m_write_reqs[i].get()) | ^~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:530:13: error: ‘m_write_reqs’ was not declared in this scope 530 | m_write_reqs[i] = m_blocks1[i].write(run[i].bid); | ^~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:532:9: error: ‘m_result’ was not declared in this scope 532 | m_result->add_run(run, m_cur_el); | ^~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:536:17: error: ‘m_write_reqs’ was not declared in this scope 536 | if (m_write_reqs[i].get()) | ^~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h: In constructor ‘stxxl::stream::runs_creator, CompareType, BlockSize, AllocStr>::runs_creator(CompareType, stxxl::unsigned_type)’: /usr/include/stxxl/bits/stream/sort_stream.h:552:11: error: class ‘stxxl::stream::runs_creator, CompareType, BlockSize, AllocStr>’ does not have any field named ‘m_write_reqs’ 552 | m_write_reqs(NULL) | ^~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h: In member function ‘void stxxl::stream::runs_creator, CompareType, BlockSize, AllocStr>::clear()’: /usr/include/stxxl/bits/stream/sort_stream.h:574:14: error: ‘m_result’ was not declared in this scope 574 | if (!m_result) | ^~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:584:17: error: ‘m_write_reqs’ was not declared in this scope 584 | if (m_write_reqs[i].get()) | ^~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h: In member function ‘void stxxl::stream::runs_creator, CompareType, BlockSize, AllocStr>::allocate()’: /usr/include/stxxl/bits/stream/sort_stream.h:597:13: error: ‘m_write_reqs’ was not declared in this scope 597 | m_write_reqs = new request_ptr[m_m2]; | ^~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:597:32: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 597 | m_write_reqs = new request_ptr[m_m2]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/stream/sort_stream.h: In member function ‘void stxxl::stream::runs_creator, CompareType, BlockSize, AllocStr>::deallocate()’: /usr/include/stxxl/bits/stream/sort_stream.h:613:22: error: ‘m_write_reqs’ was not declared in this scope 613 | delete[] m_write_reqs; | ^~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h: In member function ‘void stxxl::stream::runs_creator, CompareType, BlockSize, AllocStr>::push(const value_type&)’: /usr/include/stxxl/bits/stream/sort_stream.h:638:9: error: ‘block_manager’ was not declared in this scope 638 | block_manager* bm = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:638:24: error: ‘bm’ was not declared in this scope; did you mean ‘tm’? 638 | block_manager* bm = block_manager::get_instance(); | ^~ | tm /usr/include/stxxl/bits/stream/sort_stream.h:638:29: error: ‘block_manager’ is not a class, namespace, or enumeration 638 | block_manager* bm = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:646:17: error: ‘m_write_reqs’ was not declared in this scope 646 | if (m_write_reqs[i].get()) | ^~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:649:13: error: ‘m_write_reqs’ was not declared in this scope 649 | m_write_reqs[i] = m_blocks1[i].write(run[i].bid); | ^~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:652:9: error: ‘m_result’ was not declared in this scope 652 | m_result->add_run(run, m_el_in_run); | ^~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h: In member function ‘stxxl::external_size_type stxxl::stream::runs_creator, CompareType, BlockSize, AllocStr>::size() const’: /usr/include/stxxl/bits/stream/sort_stream.h:678:16: error: ‘m_result’ was not declared in this scope 678 | return m_result->elements + m_cur_el; | ^~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h: At global scope: /usr/include/stxxl/bits/stream/sort_stream.h:738:13: error: ‘counting_ptr’ does not name a type 738 | typedef counting_ptr sorted_runs_type; | ^~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:739:13: error: ‘sorted_runs_type’ does not name a type; did you mean ‘sorted_runs_data_type’? 739 | typedef sorted_runs_type result_type; | ^~~~~~~~~~~~~~~~ | sorted_runs_data_type /usr/include/stxxl/bits/stream/sort_stream.h:747:5: error: ‘sorted_runs_type’ does not name a type; did you mean ‘sorted_runs_data_type’? 747 | sorted_runs_type result_; | ^~~~~~~~~~~~~~~~ | sorted_runs_data_type /usr/include/stxxl/bits/stream/sort_stream.h:859:5: error: ‘sorted_runs_type’ does not name a type; did you mean ‘sorted_runs_data_type’? 859 | sorted_runs_type & result() | ^~~~~~~~~~~~~~~~ | sorted_runs_data_type /usr/include/stxxl/bits/stream/sort_stream.h: In constructor ‘stxxl::stream::runs_creator, CompareType, BlockSize, AllocStr>::runs_creator(CompareType, stxxl::unsigned_type)’: /usr/include/stxxl/bits/stream/sort_stream.h:765:11: error: class ‘stxxl::stream::runs_creator, CompareType, BlockSize, AllocStr>’ does not have any field named ‘result_’ 765 | result_(new sorted_runs_data_type), | ^~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h: In member function ‘void stxxl::stream::runs_creator, CompareType, BlockSize, AllocStr>::push(const value_type&)’: /usr/include/stxxl/bits/stream/sort_stream.h:795:13: error: ‘block_manager’ was not declared in this scope 795 | block_manager* bm = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:795:28: error: ‘bm’ was not declared in this scope; did you mean ‘tm’? 795 | block_manager* bm = block_manager::get_instance(); | ^~ | tm /usr/include/stxxl/bits/stream/sort_stream.h:795:33: error: ‘block_manager’ is not a class, namespace, or enumeration 795 | block_manager* bm = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:797:13: error: ‘result_’ was not declared in this scope 797 | result_->runs.resize(irun + 1); | ^~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:813:11: error: ‘result_’ was not declared in this scope 813 | ++result_->elements; | ^~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h: In member function ‘void stxxl::stream::runs_creator, CompareType, BlockSize, AllocStr>::finish()’: /usr/include/stxxl/bits/stream/sort_stream.h:822:9: error: ‘result_’ was not declared in this scope 822 | result_->runs_sizes.resize(irun + 1); | ^~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:834:13: error: ‘block_manager’ was not declared in this scope 834 | block_manager* bm = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:834:28: error: ‘bm’ was not declared in this scope; did you mean ‘tm’? 834 | block_manager* bm = block_manager::get_instance(); | ^~ | tm /usr/include/stxxl/bits/stream/sort_stream.h:834:33: error: ‘block_manager’ is not a class, namespace, or enumeration 834 | block_manager* bm = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h: In function ‘bool stxxl::stream::check_sorted_runs(const RunsType&, CompareType)’: /usr/include/stxxl/bits/stream/sort_stream.h:885:9: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 885 | request_ptr* reqs = new request_ptr[nblocks]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/stream/sort_stream.h:885:22: error: ‘reqs’ was not declared in this scope 885 | request_ptr* reqs = new request_ptr[nblocks]; | ^~~~ /usr/include/stxxl/bits/stream/sort_stream.h:885:33: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 885 | request_ptr* reqs = new request_ptr[nblocks]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/stream/sort_stream.h: At global scope: /usr/include/stxxl/bits/stream/sort_stream.h:933:28: error: ‘STXXL_DEFAULT_ALLOC_STRATEGY’ does not name a type 933 | class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:933:28: note: the macro ‘STXXL_DEFAULT_ALLOC_STRATEGY’ had not yet been defined /usr/include/stxxl/bits/mng/block_alloc.h:258: note: it was later defined here 258 | #define STXXL_DEFAULT_ALLOC_STRATEGY stxxl::RC | /usr/include/stxxl/bits/stream/sort_stream.h:953:27: error: ‘vector’ in namespace ‘std’ does not name a template type 953 | typedef typename std::vector::size_type seqs_size_type; | ^~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:28:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 27 | #include +++ |+#include 28 | /usr/include/stxxl/bits/stream/sort_stream.h:953:33: error: expected unqualified-id before ‘<’ token 953 | typedef typename std::vector::size_type seqs_size_type; | ^ /usr/include/stxxl/bits/stream/sort_stream.h:994:10: error: ‘vector’ in namespace ‘std’ does not name a template type 994 | std::vector* seqs; | ^~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:994:5: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 994 | std::vector* seqs; | ^~~ /usr/include/stxxl/bits/stream/sort_stream.h:995:10: error: ‘vector’ in namespace ‘std’ does not name a template type 995 | std::vector* buffers; | ^~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:995:5: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 995 | std::vector* buffers; | ^~~ /usr/include/stxxl/bits/stream/sort_stream.h: In member function ‘void stxxl::stream::basic_runs_merger::deallocate_prefetcher()’: /usr/include/stxxl/bits/stream/sort_stream.h:1014:20: error: ‘seqs’ was not declared in this scope 1014 | delete seqs; | ^~~~ /usr/include/stxxl/bits/stream/sort_stream.h:1015:20: error: ‘buffers’ was not declared in this scope 1015 | delete buffers; | ^~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h: In member function ‘void stxxl::stream::basic_runs_merger::fill_buffer_block()’: /usr/include/stxxl/bits/stream/sort_stream.h:1044:30: error: ‘seqs’ was not declared in this scope 1044 | *seqs, m_consume_seq[m_prefetcher->pos()].value, m_cmp); | ^~~~ /usr/include/stxxl/bits/stream/sort_stream.h:1052:51: error: ‘seqs’ was not declared in this scope 1052 | stxxl::parallel::multiway_merge((*seqs).begin(), (*seqs).end(), m_buffer_block->end() - rest, m_cmp, output_size); | ^~~~ /usr/include/stxxl/bits/stream/sort_stream.h:1060:71: error: ‘buffers’ was not declared in this scope 1060 | sort_helper::refill_or_remove_empty_sequences(*seqs, *buffers, *m_prefetcher); | ^~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:1061:36: error: ‘seqs’ was not declared in this scope 1061 | } while (rest > 0 && (*seqs).size() > 0); | ^~~~ /usr/include/stxxl/bits/stream/sort_stream.h: In constructor ‘stxxl::stream::basic_runs_merger::basic_runs_merger(value_cmp, stxxl::unsigned_type)’: /usr/include/stxxl/bits/stream/sort_stream.h:1107:13: error: class ‘stxxl::stream::basic_runs_merger’ does not have any field named ‘seqs’ 1107 | , seqs(NULL), | ^~~~ /usr/include/stxxl/bits/stream/sort_stream.h:1108:11: error: class ‘stxxl::stream::basic_runs_merger’ does not have any field named ‘buffers’ 1108 | buffers(NULL), | ^~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h: In member function ‘void stxxl::stream::basic_runs_merger::initialize(const sorted_runs_type&)’: /usr/include/stxxl/bits/stream/sort_stream.h:1153:33: error: ‘config’ has not been declared 1153 | int_type disks_number = config::get_instance()->disks_number(); | ^~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:1222:13: error: ‘config’ has not been declared 1222 | config::get_instance()->get_max_device_id()); | ^~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:1238:13: error: ‘seqs’ was not declared in this scope 1238 | seqs = new std::vector(nruns); | ^~~~ /usr/include/stxxl/bits/stream/sort_stream.h:1238:29: error: ‘vector’ in namespace ‘std’ does not name a template type 1238 | seqs = new std::vector(nruns); | ^~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:1238:24: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 1238 | seqs = new std::vector(nruns); | ^~~ /usr/include/stxxl/bits/stream/sort_stream.h:1238:44: error: expected primary-expression before ‘>’ token 1238 | seqs = new std::vector(nruns); | ^ /usr/include/stxxl/bits/stream/sort_stream.h:1239:13: error: ‘buffers’ was not declared in this scope 1239 | buffers = new std::vector(nruns); | ^~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:1239:32: error: ‘vector’ in namespace ‘std’ does not name a template type 1239 | buffers = new std::vector(nruns); | ^~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:1239:27: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 1239 | buffers = new std::vector(nruns); | ^~~ /usr/include/stxxl/bits/stream/sort_stream.h:1239:49: error: expected primary-expression before ‘*’ token 1239 | buffers = new std::vector(nruns); | ^ /usr/include/stxxl/bits/stream/sort_stream.h:1239:50: error: expected primary-expression before ‘>’ token 1239 | buffers = new std::vector(nruns); | ^ /usr/include/stxxl/bits/stream/sort_stream.h: In member function ‘void stxxl::stream::basic_runs_merger::merge_recursively()’: /usr/include/stxxl/bits/stream/sort_stream.h:1336:5: error: ‘block_manager’ was not declared in this scope 1336 | block_manager* bm = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:1336:20: error: ‘bm’ was not declared in this scope; did you mean ‘tm’? 1336 | block_manager* bm = block_manager::get_instance(); | ^~ | tm /usr/include/stxxl/bits/stream/sort_stream.h:1336:25: error: ‘block_manager’ is not a class, namespace, or enumeration 1336 | block_manager* bm = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:1337:28: error: ‘config’ has not been declared 1337 | unsigned_type ndisks = config::get_instance()->disks_number(); | ^~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h: At global scope: /usr/include/stxxl/bits/stream/sort_stream.h:1485:28: error: ‘STXXL_DEFAULT_ALLOC_STRATEGY’ does not name a type 1485 | class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:1485:28: note: the macro ‘STXXL_DEFAULT_ALLOC_STRATEGY’ had not yet been defined /usr/include/stxxl/bits/mng/block_alloc.h:258: note: it was later defined here 258 | #define STXXL_DEFAULT_ALLOC_STRATEGY stxxl::RC | /usr/include/stxxl/bits/stream/sort_stream.h:1531:77: error: expected ‘(’ before ‘)’ token 1531 | unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(typename Input::value_type), | ^ | ( /usr/include/stxxl/bits/stream/sort_stream.h:1532:22: error: ‘STXXL_DEFAULT_ALLOC_STRATEGY’ does not name a type 1532 | class AllocStr = STXXL_DEFAULT_ALLOC_STRATEGY, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:1532:22: note: the macro ‘STXXL_DEFAULT_ALLOC_STRATEGY’ had not yet been defined /usr/include/stxxl/bits/mng/block_alloc.h:258: note: it was later defined here 258 | #define STXXL_DEFAULT_ALLOC_STRATEGY stxxl::RC | /usr/include/stxxl/bits/stream/sort_stream.h:1610:13: error: ‘BID’ does not name a type 1610 | typedef BID bid_type; | ^~~ /usr/include/stxxl/bits/stream/sort_stream.h:1611:40: error: ‘bid_type’ was not declared in this scope 1611 | typedef sort_helper::trigger_entry trigger_entry_type; | ^~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h:1611:60: error: template argument 1 is invalid 1611 | typedef sort_helper::trigger_entry trigger_entry_type; | ^ In file included from /usr/include/stxxl/bits/containers/hash_map/util.h:21, from /usr/include/stxxl/bits/containers/hash_map/iterator.h:20, from /usr/include/stxxl/bits/containers/hash_map/hash_map.h:26: /usr/include/stxxl/bits/containers/hash_map/tuning.h: In constructor ‘stxxl::hash_map::tuning::tuning()’: /usr/include/stxxl/bits/containers/hash_map/tuning.h:40:30: error: ‘config’ has not been declared 40 | : prefetch_page_size(config::get_instance()->disks_number() * 2), | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/tuning.h:42:27: error: ‘config’ has not been declared 42 | blockcache_size(config::get_instance()->disks_number() * 12) | ^~~~~~ In file included from /usr/include/stxxl/bits/containers/hash_map/util.h:22: /usr/include/stxxl/bits/containers/hash_map/block_cache.h: At global scope: /usr/include/stxxl/bits/containers/hash_map/block_cache.h:42:10: error: ‘vector’ in namespace ‘std’ does not name a template type 42 | std::vector blocks_; | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:27:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 26 | #include +++ |+#include 27 | #include /usr/include/stxxl/bits/containers/hash_map/block_cache.h:43:10: error: ‘vector’ in namespace ‘std’ does not name a template type 43 | std::vector reqs_; | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:43:5: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 43 | std::vector reqs_; | ^~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:44:10: error: ‘vector’ in namespace ‘std’ does not name a template type 44 | std::vector free_blocks_; | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:44:5: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 44 | std::vector free_blocks_; | ^~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h: In constructor ‘stxxl::hash_map::block_cache_write_buffer::block_cache_write_buffer(stxxl::unsigned_type)’: /usr/include/stxxl/bits/containers/hash_map/block_cache.h:50:9: error: ‘blocks_’ was not declared in this scope 50 | blocks_.reserve(size); | ^~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:51:9: error: ‘free_blocks_’ was not declared in this scope; did you mean ‘busy_blocks_’? 51 | free_blocks_.reserve(size); | ^~~~~~~~~~~~ | busy_blocks_ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:52:9: error: ‘reqs_’ was not declared in this scope; did you mean ‘request’? 52 | reqs_.resize(size); | ^~~~~ | request /usr/include/stxxl/bits/containers/hash_map/block_cache.h: In member function ‘stxxl::hash_map::block_cache_write_buffer::block_type* stxxl::hash_map::block_cache_write_buffer::write(block_type*, const bid_type&)’: /usr/include/stxxl/bits/containers/hash_map/block_cache.h:64:13: error: ‘free_blocks_’ was not declared in this scope; did you mean ‘busy_blocks_’? 64 | if (free_blocks_.empty()) { | ^~~~~~~~~~~~ | busy_blocks_ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:68:17: error: ‘reqs_’ was not declared in this scope; did you mean ‘request’? 68 | if (reqs_[i_buffer].valid()) | ^~~~~ | request /usr/include/stxxl/bits/containers/hash_map/block_cache.h:74:34: error: ‘free_blocks_’ was not declared in this scope; did you mean ‘busy_blocks_’? 74 | unsigned_type i_buffer = free_blocks_.back(); | ^~~~~~~~~~~~ | busy_blocks_ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:76:30: error: ‘blocks_’ was not declared in this scope 76 | block_type* buffer = blocks_[i_buffer]; | ^~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:79:9: error: ‘reqs_’ was not declared in this scope; did you mean ‘request’? 79 | reqs_[i_buffer] = blocks_[i_buffer]->write(bid); | ^~~~~ | request /usr/include/stxxl/bits/containers/hash_map/block_cache.h: In member function ‘void stxxl::hash_map::block_cache_write_buffer::flush()’: /usr/include/stxxl/bits/containers/hash_map/block_cache.h:90:17: error: ‘reqs_’ was not declared in this scope; did you mean ‘request’? 90 | if (reqs_[i_buffer].valid()) | ^~~~~ | request /usr/include/stxxl/bits/containers/hash_map/block_cache.h:94:9: error: ‘free_blocks_’ was not declared in this scope; did you mean ‘busy_blocks_’? 94 | free_blocks_.clear(); | ^~~~~~~~~~~~ | busy_blocks_ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:95:39: error: ‘blocks_’ was not declared in this scope 95 | for (unsigned_type i = 0; i < blocks_.size(); i++) | ^~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h: In member function ‘void stxxl::hash_map::block_cache_write_buffer::swap(stxxl::hash_map::block_cache_write_buffer&)’: /usr/include/stxxl/bits/containers/hash_map/block_cache.h:101:19: error: ‘blocks_’ was not declared in this scope 101 | std::swap(blocks_, obj.blocks_); | ^~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:102:19: error: ‘reqs_’ was not declared in this scope; did you mean ‘request’? 102 | std::swap(reqs_, obj.reqs_); | ^~~~~ | request /usr/include/stxxl/bits/containers/hash_map/block_cache.h:103:19: error: ‘free_blocks_’ was not declared in this scope; did you mean ‘busy_blocks_’? 103 | std::swap(free_blocks_, obj.free_blocks_); | ^~~~~~~~~~~~ | busy_blocks_ /usr/include/stxxl/bits/containers/hash_map/block_cache.h: In destructor ‘stxxl::hash_map::block_cache_write_buffer::~block_cache_write_buffer()’: /usr/include/stxxl/bits/containers/hash_map/block_cache.h:110:39: error: ‘blocks_’ was not declared in this scope 110 | for (unsigned_type i = 0; i < blocks_.size(); i++) | ^~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h: At global scope: /usr/include/stxxl/bits/containers/hash_map/block_cache.h:158:22: error: expected nested-name-specifier before ‘compat_hash_map’ 158 | typedef typename compat_hash_map blocks_; | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:166:5: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 166 | std::vector blocks_; | ^~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:168:10: error: ‘vector’ in namespace ‘std’ does not name a template type 168 | std::vector bids_; | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:168:5: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 168 | std::vector bids_; | ^~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:169:10: error: ‘vector’ in namespace ‘std’ does not name a template type 169 | std::vector retain_count_; | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:169:5: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 169 | std::vector retain_count_; | ^~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:172:10: error: ‘vector’ in namespace ‘std’ does not name a template type 172 | std::vector dirty_; | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:172:5: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 172 | std::vector dirty_; | ^~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:175:10: error: ‘vector’ in namespace ‘std’ does not name a template type 175 | std::vector valid_subblock_; | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:175:5: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 175 | std::vector valid_subblock_; | ^~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:178:10: error: ‘vector’ in namespace ‘std’ does not name a template type 178 | std::vector free_blocks_; | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:178:5: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 178 | std::vector free_blocks_; | ^~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:179:10: error: ‘vector’ in namespace ‘std’ does not name a template type 179 | std::vector reqs_; | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:179:5: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 179 | std::vector reqs_; | ^~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:181:5: error: ‘bid_map_type’ does not name a type; did you mean ‘bid_type’? 181 | bid_map_type bid_map_; | ^~~~~~~~~~~~ | bid_type /usr/include/stxxl/bits/containers/hash_map/block_cache.h: In constructor ‘stxxl::hash_map::block_cache::block_cache(stxxl::unsigned_type)’: /usr/include/stxxl/bits/containers/hash_map/block_cache.h:196:25: error: ‘config’ has not been declared 196 | : write_buffer_(config::get_instance()->disks_number() * 2), | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:197:11: error: class ‘stxxl::hash_map::block_cache’ does not have any field named ‘blocks_’ 197 | blocks_(cache_size), | ^~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:198:11: error: class ‘stxxl::hash_map::block_cache’ does not have any field named ‘bids_’ 198 | bids_(cache_size), | ^~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:199:11: error: class ‘stxxl::hash_map::block_cache’ does not have any field named ‘retain_count_’ 199 | retain_count_(cache_size), | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:200:11: error: class ‘stxxl::hash_map::block_cache’ does not have any field named ‘dirty_’ 200 | dirty_(cache_size, false), | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:201:11: error: class ‘stxxl::hash_map::block_cache’ does not have any field named ‘valid_subblock_’ 201 | valid_subblock_(cache_size), | ^~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:202:11: error: class ‘stxxl::hash_map::block_cache’ does not have any field named ‘free_blocks_’ 202 | free_blocks_(cache_size), | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:203:11: error: class ‘stxxl::hash_map::block_cache’ does not have any field named ‘reqs_’ 203 | reqs_(cache_size), | ^~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:214:13: error: ‘blocks_’ was not declared in this scope 214 | blocks_[i] = new block_type(); | ^~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:215:13: error: ‘free_blocks_’ was not declared in this scope 215 | free_blocks_[i] = i; | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h: In member function ‘stxxl::unsigned_type stxxl::hash_map::block_cache::size() const’: /usr/include/stxxl/bits/containers/hash_map/block_cache.h:222:16: error: ‘blocks_’ was not declared in this scope 222 | return blocks_.size(); | ^~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h: In destructor ‘stxxl::hash_map::block_cache::~block_cache()’: /usr/include/stxxl/bits/containers/hash_map/block_cache.h:229:35: error: expected ‘;’ before ‘::’ token 229 | for (typename bid_map_type::const_iterator i = bid_map_.begin(); | ^~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:229:37: error: ‘::const_iterator’ has not been declared 229 | for (typename bid_map_type::const_iterator i = bid_map_.begin(); | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:229:52: error: expected ‘;’ before ‘i’ 229 | for (typename bid_map_type::const_iterator i = bid_map_.begin(); | ^ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:229:52: error: ‘i’ was not declared in this scope /usr/include/stxxl/bits/containers/hash_map/block_cache.h:229:56: error: ‘bid_map_’ was not declared in this scope 229 | for (typename bid_map_type::const_iterator i = bid_map_.begin(); | ^~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:229:72: error: expected ‘)’ before ‘;’ token 229 | for (typename bid_map_type::const_iterator i = bid_map_.begin(); | ^ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:229:13: note: to match this ‘(’ 229 | for (typename bid_map_type::const_iterator i = bid_map_.begin(); | ^ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:230:14: error: ‘i’ was not declared in this scope 230 | i != bid_map_.end(); ++i) | ^ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:230:19: error: ‘bid_map_’ was not declared in this scope 230 | i != bid_map_.end(); ++i) | ^~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:245:20: error: ‘blocks_’ was not declared in this scope 245 | delete blocks_[i]; | ^~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h: In member function ‘void stxxl::hash_map::block_cache::kick_block()’: /usr/include/stxxl/bits/containers/hash_map/block_cache.h:268:18: error: ‘retain_count_’ was not declared in this scope 268 | } while (retain_count_[i_block2kick] > 0); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:270:13: error: ‘valid_subblock_’ was not declared in this scope 270 | if (valid_subblock_[i_block2kick] == valid_all && | ^~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:271:13: error: ‘reqs_’ was not declared in this scope; did you mean ‘request’? 271 | reqs_[i_block2kick].valid()) | ^~~~~ | request /usr/include/stxxl/bits/containers/hash_map/block_cache.h:276:13: error: ‘dirty_’ was not declared in this scope 276 | if (dirty_[i_block2kick]) | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:278:13: error: ‘blocks_’ was not declared in this scope 278 | blocks_[i_block2kick] = | ^~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:279:60: error: ‘bids_’ was not declared in this scope 279 | write_buffer_.write(blocks_[i_block2kick], bids_[i_block2kick]); | ^~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:285:9: error: ‘bid_map_’ was not declared in this scope 285 | bid_map_.erase(bids_[i_block2kick]); | ^~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:285:24: error: ‘bids_’ was not declared in this scope 285 | bid_map_.erase(bids_[i_block2kick]); | ^~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:286:9: error: ‘free_blocks_’ was not declared in this scope 286 | free_blocks_.push_back(i_block2kick); | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h: In member function ‘bool stxxl::hash_map::block_cache::retain_block(const bid_type&)’: /usr/include/stxxl/bits/containers/hash_map/block_cache.h:298:18: error: ‘bid_map_type’ has not been declared 298 | typename bid_map_type::const_iterator it = bid_map_.find(bid); | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:298:47: error: expected ‘(’ before ‘it’ 298 | typename bid_map_type::const_iterator it = bid_map_.find(bid); | ^~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:299:13: error: ‘it’ was not declared in this scope; did you mean ‘int’? 299 | if (it == bid_map_.end()) | ^~ | int /usr/include/stxxl/bits/containers/hash_map/block_cache.h:299:19: error: ‘bid_map_’ was not declared in this scope 299 | if (it == bid_map_.end()) | ^~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:302:35: error: ‘it’ was not declared in this scope; did you mean ‘int’? 302 | unsigned_type i_block = (*it).second; | ^~ | int /usr/include/stxxl/bits/containers/hash_map/block_cache.h:303:9: error: ‘retain_count_’ was not declared in this scope 303 | retain_count_[i_block]++; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h: In member function ‘bool stxxl::hash_map::block_cache::release_block(const bid_type&)’: /usr/include/stxxl/bits/containers/hash_map/block_cache.h:315:18: error: ‘bid_map_type’ has not been declared 315 | typename bid_map_type::const_iterator it = bid_map_.find(bid); | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:315:47: error: expected ‘(’ before ‘it’ 315 | typename bid_map_type::const_iterator it = bid_map_.find(bid); | ^~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:316:13: error: ‘it’ was not declared in this scope; did you mean ‘int’? 316 | if (it == bid_map_.end()) | ^~ | int /usr/include/stxxl/bits/containers/hash_map/block_cache.h:316:19: error: ‘bid_map_’ was not declared in this scope 316 | if (it == bid_map_.end()) | ^~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:319:35: error: ‘it’ was not declared in this scope; did you mean ‘int’? 319 | unsigned_type i_block = (*it).second; | ^~ | int /usr/include/stxxl/bits/containers/hash_map/block_cache.h:320:13: error: ‘retain_count_’ was not declared in this scope 320 | if (retain_count_[i_block] == 0) | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:323:9: error: ‘retain_count_’ was not declared in this scope 323 | retain_count_[i_block]--; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h: In member function ‘bool stxxl::hash_map::block_cache::make_dirty(const bid_type&)’: /usr/include/stxxl/bits/containers/hash_map/block_cache.h:333:18: error: ‘bid_map_type’ has not been declared 333 | typename bid_map_type::const_iterator it = bid_map_.find(bid); | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:333:47: error: expected ‘(’ before ‘it’ 333 | typename bid_map_type::const_iterator it = bid_map_.find(bid); | ^~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:334:13: error: ‘it’ was not declared in this scope; did you mean ‘int’? 334 | if (it == bid_map_.end()) | ^~ | int /usr/include/stxxl/bits/containers/hash_map/block_cache.h:334:19: error: ‘bid_map_’ was not declared in this scope 334 | if (it == bid_map_.end()) | ^~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:337:35: error: ‘it’ was not declared in this scope; did you mean ‘int’? 337 | unsigned_type i_block = (*it).second; | ^~ | int /usr/include/stxxl/bits/containers/hash_map/block_cache.h:340:13: error: ‘valid_subblock_’ was not declared in this scope 340 | if (valid_subblock_[i_block] != valid_all) | ^~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:342:13: error: ‘reqs_’ was not declared in this scope; did you mean ‘request’? 342 | reqs_[i_block] = blocks_[i_block]->read(bid); | ^~~~~ | request /usr/include/stxxl/bits/containers/hash_map/block_cache.h:342:30: error: ‘blocks_’ was not declared in this scope 342 | reqs_[i_block] = blocks_[i_block]->read(bid); | ^~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:346:13: error: ‘reqs_’ was not declared in this scope; did you mean ‘request’? 346 | if (reqs_[i_block].valid()) { | ^~~~~ | request /usr/include/stxxl/bits/containers/hash_map/block_cache.h:351:9: error: ‘dirty_’ was not declared in this scope 351 | dirty_[i_block] = true; | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h: In member function ‘stxxl::hash_map::block_cache::subblock_type* stxxl::hash_map::block_cache::get_subblock(const bid_type&, stxxl::unsigned_type)’: /usr/include/stxxl/bits/containers/hash_map/block_cache.h:368:18: error: ‘bid_map_type’ has not been declared 368 | typename bid_map_type::const_iterator it = bid_map_.find(bid); | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:368:47: error: expected ‘(’ before ‘it’ 368 | typename bid_map_type::const_iterator it = bid_map_.find(bid); | ^~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:369:13: error: ‘it’ was not declared in this scope; did you mean ‘int’? 369 | if (it != bid_map_.end()) | ^~ | int /usr/include/stxxl/bits/containers/hash_map/block_cache.h:369:19: error: ‘bid_map_’ was not declared in this scope 369 | if (it != bid_map_.end()) | ^~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:372:21: error: ‘blocks_’ was not declared in this scope; did you mean ‘block’? 372 | block = blocks_[i_block]; | ^~~~~~~ | block /usr/include/stxxl/bits/containers/hash_map/block_cache.h:375:17: error: ‘valid_subblock_’ was not declared in this scope; did you mean ‘i_subblock’? 375 | if (valid_subblock_[i_block] == valid_all || | ^~~~~~~~~~~~~~~ | i_subblock /usr/include/stxxl/bits/containers/hash_map/block_cache.h:381:21: error: ‘reqs_’ was not declared in this scope; did you mean ‘request’? 381 | reqs_[i_block].valid()) | ^~~~~ | request /usr/include/stxxl/bits/containers/hash_map/block_cache.h:407:17: error: ‘free_blocks_’ was not declared in this scope 407 | if (free_blocks_.empty()) | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:410:23: error: ‘free_blocks_’ was not declared in this scope 410 | i_block = free_blocks_.back(), free_blocks_.pop_back(); | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:411:21: error: ‘blocks_’ was not declared in this scope; did you mean ‘block’? 411 | block = blocks_[i_block]; | ^~~~~~~ | block /usr/include/stxxl/bits/containers/hash_map/block_cache.h:414:13: error: ‘bids_’ was not declared in this scope; did you mean ‘bid’? 414 | bids_[i_block] = bid; | ^~~~~ | bid /usr/include/stxxl/bits/containers/hash_map/block_cache.h:415:13: error: ‘dirty_’ was not declared in this scope 415 | dirty_[i_block] = false; | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:416:13: error: ‘retain_count_’ was not declared in this scope 416 | retain_count_[i_block] = 0; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:423:9: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 423 | request_ptr req = ((*block)[i_subblock]).read(subblock_bid); | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/containers/hash_map/block_cache.h:424:9: error: ‘req’ was not declared in this scope 424 | req->wait(); | ^~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:426:9: error: ‘valid_subblock_’ was not declared in this scope; did you mean ‘i_subblock’? 426 | valid_subblock_[i_block] = i_subblock; | ^~~~~~~~~~~~~~~ | i_subblock /usr/include/stxxl/bits/containers/hash_map/block_cache.h: In member function ‘void stxxl::hash_map::block_cache::prefetch_block(const bid_type&)’: /usr/include/stxxl/bits/containers/hash_map/block_cache.h:439:18: error: ‘bid_map_type’ has not been declared 439 | typename bid_map_type::const_iterator it = bid_map_.find(bid); | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:439:47: error: expected ‘(’ before ‘it’ 439 | typename bid_map_type::const_iterator it = bid_map_.find(bid); | ^~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:440:13: error: ‘it’ was not declared in this scope; did you mean ‘int’? 440 | if (it != bid_map_.end()) | ^~ | int /usr/include/stxxl/bits/containers/hash_map/block_cache.h:440:19: error: ‘bid_map_’ was not declared in this scope 440 | if (it != bid_map_.end()) | ^~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:445:17: error: ‘valid_subblock_’ was not declared in this scope 445 | if (valid_subblock_[i_block] == valid_all) { | ^~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:455:17: error: ‘free_blocks_’ was not declared in this scope 455 | if (free_blocks_.empty()) | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:458:23: error: ‘free_blocks_’ was not declared in this scope 458 | i_block = free_blocks_.back(), free_blocks_.pop_back(); | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:461:13: error: ‘bids_’ was not declared in this scope; did you mean ‘bid’? 461 | bids_[i_block] = bid; | ^~~~~ | bid /usr/include/stxxl/bits/containers/hash_map/block_cache.h:462:13: error: ‘retain_count_’ was not declared in this scope 462 | retain_count_[i_block] = 0; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:463:13: error: ‘dirty_’ was not declared in this scope 463 | dirty_[i_block] = false; | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:467:9: error: ‘reqs_’ was not declared in this scope; did you mean ‘request’? 467 | reqs_[i_block] = blocks_[i_block]->read(bid); | ^~~~~ | request /usr/include/stxxl/bits/containers/hash_map/block_cache.h:467:26: error: ‘blocks_’ was not declared in this scope 467 | reqs_[i_block] = blocks_[i_block]->read(bid); | ^~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:468:9: error: ‘valid_subblock_’ was not declared in this scope 468 | valid_subblock_[i_block] = valid_all; | ^~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h: In member function ‘void stxxl::hash_map::block_cache::flush()’: /usr/include/stxxl/bits/containers/hash_map/block_cache.h:475:35: error: expected ‘;’ before ‘::’ token 475 | for (typename bid_map_type::const_iterator i = bid_map_.begin(); | ^~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:475:37: error: ‘::const_iterator’ has not been declared 475 | for (typename bid_map_type::const_iterator i = bid_map_.begin(); | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:475:52: error: expected ‘;’ before ‘i’ 475 | for (typename bid_map_type::const_iterator i = bid_map_.begin(); | ^ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:475:52: error: ‘i’ was not declared in this scope /usr/include/stxxl/bits/containers/hash_map/block_cache.h:475:56: error: ‘bid_map_’ was not declared in this scope 475 | for (typename bid_map_type::const_iterator i = bid_map_.begin(); | ^~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:475:72: error: expected ‘)’ before ‘;’ token 475 | for (typename bid_map_type::const_iterator i = bid_map_.begin(); | ^ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:475:13: note: to match this ‘(’ 475 | for (typename bid_map_type::const_iterator i = bid_map_.begin(); | ^ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:476:14: error: ‘i’ was not declared in this scope 476 | i != bid_map_.end(); ++i) | ^ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:476:19: error: ‘bid_map_’ was not declared in this scope 476 | i != bid_map_.end(); ++i) | ^~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h: In member function ‘void stxxl::hash_map::block_cache::clear()’: /usr/include/stxxl/bits/containers/hash_map/block_cache.h:493:9: error: ‘free_blocks_’ was not declared in this scope 493 | free_blocks_.clear(); | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:496:17: error: ‘reqs_’ was not declared in this scope; did you mean ‘request’? 496 | if (reqs_[i].valid()) { | ^~~~~ | request /usr/include/stxxl/bits/containers/hash_map/block_cache.h:503:9: error: ‘bid_map_’ was not declared in this scope 503 | bid_map_.clear(); | ^~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h: In member function ‘void stxxl::hash_map::block_cache::swap(stxxl::hash_map::block_cache&)’: /usr/include/stxxl/bits/containers/hash_map/block_cache.h:534:19: error: ‘blocks_’ was not declared in this scope 534 | std::swap(blocks_, obj.blocks_); | ^~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:535:19: error: ‘bids_’ was not declared in this scope 535 | std::swap(bids_, obj.bids_); | ^~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:536:19: error: ‘retain_count_’ was not declared in this scope 536 | std::swap(retain_count_, obj.retain_count_); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:538:19: error: ‘dirty_’ was not declared in this scope 538 | std::swap(dirty_, obj.dirty_); | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:539:19: error: ‘valid_subblock_’ was not declared in this scope 539 | std::swap(valid_subblock_, obj.valid_subblock_); | ^~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:541:19: error: ‘free_blocks_’ was not declared in this scope 541 | std::swap(free_blocks_, obj.free_blocks_); | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/block_cache.h:542:19: error: ‘reqs_’ was not declared in this scope; did you mean ‘request’? 542 | std::swap(reqs_, obj.reqs_); | ^~~~~ | request /usr/include/stxxl/bits/containers/hash_map/block_cache.h:544:19: error: ‘bid_map_’ was not declared in this scope 544 | std::swap(bid_map_, obj.bid_map_); | ^~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/util.h: In constructor ‘stxxl::hash_map::buffered_writer::buffered_writer(bid_container_type*, stxxl::int_type, stxxl::int_type)’: /usr/include/stxxl/bits/containers/hash_map/util.h:345:21: error: ‘config’ has not been declared 345 | increase_(config::get_instance()->disks_number() * 3) | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/util.h: In member function ‘void stxxl::hash_map::buffered_writer::append(const value_type&)’: /usr/include/stxxl/bits/containers/hash_map/util.h:383:17: error: ‘block_manager’ was not declared in this scope; did you mean ‘block_cache’? 383 | block_manager* bm = stxxl::block_manager::get_instance(); | ^~~~~~~~~~~~~ | block_cache /usr/include/stxxl/bits/containers/hash_map/util.h:383:32: error: ‘bm’ was not declared in this scope; did you mean ‘tm’? 383 | block_manager* bm = stxxl::block_manager::get_instance(); | ^~ | tm /usr/include/stxxl/bits/containers/hash_map/util.h:383:44: error: ‘stxxl::block_manager’ has not been declared 383 | block_manager* bm = stxxl::block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/util.h: In member function ‘void stxxl::hash_map::buffered_writer::flush()’: /usr/include/stxxl/bits/containers/hash_map/util.h:408:13: error: ‘block_manager’ was not declared in this scope; did you mean ‘block_cache’? 408 | block_manager* bm = stxxl::block_manager::get_instance(); | ^~~~~~~~~~~~~ | block_cache /usr/include/stxxl/bits/containers/hash_map/util.h:408:28: error: ‘bm’ was not declared in this scope; did you mean ‘tm’? 408 | block_manager* bm = stxxl::block_manager::get_instance(); | ^~ | tm /usr/include/stxxl/bits/containers/hash_map/util.h:408:40: error: ‘stxxl::block_manager’ has not been declared 408 | block_manager* bm = stxxl::block_manager::get_instance(); | ^~~~~~~~~~~~~ In file included from /usr/include/stxxl/bits/containers/hash_map/hash_map.h:27: /usr/include/stxxl/bits/containers/hash_map/iterator_map.h: At global scope: /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:64:22: error: expected nested-name-specifier before ‘compat_hash_multimap’ 64 | typedef typename compat_hash_multimap< | ^~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:64:22: error: expected ‘;’ at end of member declaration 64 | typedef typename compat_hash_multimap< | ^~~~~~~~~~~~~~~~~~~~ | ; /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:64:42: error: expected unqualified-id before ‘<’ token 64 | typedef typename compat_hash_multimap< | ^ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:70:22: error: ‘multimap_type’ has not been declared 70 | typedef typename multimap_type::value_type pair_type; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:71:22: error: ‘multimap_type’ has not been declared 71 | typedef typename multimap_type::iterator mmiterator_type; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:72:22: error: ‘multimap_type’ has not been declared 72 | typedef typename multimap_type::const_iterator const_mmiterator_type; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:75:5: error: ‘multimap_type’ does not name a type 75 | multimap_type it_map_; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h: In destructor ‘stxxl::hash_map::iterator_map::~iterator_map()’: /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:84:9: error: ‘it_map_’ was not declared in this scope; did you mean ‘map_’? 84 | it_map_.clear(); | ^~~~~~~ | map_ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h: In member function ‘void stxxl::hash_map::iterator_map::register_iterator(iterator_base&, internal_size_type)’: /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:95:9: error: ‘it_map_’ was not declared in this scope; did you mean ‘map_’? 95 | it_map_.insert(pair_type(i_bucket, &it)); | ^~~~~~~ | map_ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h: In member function ‘void stxxl::hash_map::iterator_map::unregister_iterator(iterator_base&, internal_size_type)’: /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:108:15: error: ‘it_map_’ was not declared in this scope; did you mean ‘map_’? 108 | = it_map_.equal_range(i_bucket); | ^~~~~~~ | map_ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:114:18: error: base operand of ‘->’ is not a pointer 114 | if (i->second == &it) | ^~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h: In member function ‘void stxxl::hash_map::iterator_map::fix_iterators_2ext(internal_size_type, const key_type&, internal_size_type, external_size_type)’: /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:132:14: error: ‘vector’ is not a member of ‘std’ 132 | std::vector its2fix; | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:18:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 17 | #include +++ |+#include 18 | /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:132:34: error: expected primary-expression before ‘*’ token 132 | std::vector its2fix; | ^ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:132:35: error: expected primary-expression before ‘>’ token 132 | std::vector its2fix; | ^ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:132:37: error: ‘its2fix’ was not declared in this scope 132 | std::vector its2fix; | ^~~~~~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:135:28: error: ‘vector’ in namespace ‘std’ does not name a template type 135 | for (typename std::vector::iterator | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:135:28: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:135:34: error: expected unqualified-id before ‘<’ token 135 | for (typename std::vector::iterator | ^ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:135:34: error: expected ‘;’ before ‘<’ token /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:135:34: error: expected primary-expression before ‘<’ token /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:135:48: error: expected primary-expression before ‘*’ token 135 | for (typename std::vector::iterator | ^ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:135:49: error: expected primary-expression before ‘>’ token 135 | for (typename std::vector::iterator | ^ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:135:52: error: ‘::iterator’ has not been declared; did you mean ‘std::iterator’? 135 | for (typename std::vector::iterator | ^~~~~~~~ | std::iterator /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: ‘std::iterator’ declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:136:14: error: expected ‘;’ before ‘it2fix’ 136 | it2fix = its2fix.begin(); it2fix != its2fix.end(); ++it2fix) | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:136:14: error: ‘it2fix’ was not declared in this scope /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:136:38: error: expected ‘)’ before ‘;’ token 136 | it2fix = its2fix.begin(); it2fix != its2fix.end(); ++it2fix) | ^ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:135:13: note: to match this ‘(’ 135 | for (typename std::vector::iterator | ^ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:136:40: error: ‘it2fix’ was not declared in this scope 136 | it2fix = its2fix.begin(); it2fix != its2fix.end(); ++it2fix) | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h: In member function ‘void stxxl::hash_map::iterator_map::fix_iterators_2int(internal_size_type, const key_type&, node_type*)’: /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:164:14: error: ‘vector’ is not a member of ‘std’ 164 | std::vector its2fix; | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:164:14: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:164:34: error: expected primary-expression before ‘*’ token 164 | std::vector its2fix; | ^ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:164:35: error: expected primary-expression before ‘>’ token 164 | std::vector its2fix; | ^ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:164:37: error: ‘its2fix’ was not declared in this scope 164 | std::vector its2fix; | ^~~~~~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:167:28: error: ‘vector’ in namespace ‘std’ does not name a template type 167 | for (typename std::vector::iterator | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:167:28: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:167:34: error: expected unqualified-id before ‘<’ token 167 | for (typename std::vector::iterator | ^ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:167:34: error: expected ‘;’ before ‘<’ token /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:167:34: error: expected primary-expression before ‘<’ token /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:167:48: error: expected primary-expression before ‘*’ token 167 | for (typename std::vector::iterator | ^ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:167:49: error: expected primary-expression before ‘>’ token 167 | for (typename std::vector::iterator | ^ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:167:52: error: ‘::iterator’ has not been declared; did you mean ‘std::iterator’? 167 | for (typename std::vector::iterator | ^~~~~~~~ | std::iterator /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: ‘std::iterator’ declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:168:14: error: expected ‘;’ before ‘it2fix’ 168 | it2fix = its2fix.begin(); it2fix != its2fix.end(); ++it2fix) | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:168:14: error: ‘it2fix’ was not declared in this scope /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:168:38: error: expected ‘)’ before ‘;’ token 168 | it2fix = its2fix.begin(); it2fix != its2fix.end(); ++it2fix) | ^ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:167:13: note: to match this ‘(’ 167 | for (typename std::vector::iterator | ^ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:168:40: error: ‘it2fix’ was not declared in this scope 168 | it2fix = its2fix.begin(); it2fix != its2fix.end(); ++it2fix) | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h: In member function ‘void stxxl::hash_map::iterator_map::fix_iterators_2end(internal_size_type, const key_type&)’: /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:189:14: error: ‘vector’ is not a member of ‘std’ 189 | std::vector its2fix; | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:189:14: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:189:34: error: expected primary-expression before ‘*’ token 189 | std::vector its2fix; | ^ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:189:35: error: expected primary-expression before ‘>’ token 189 | std::vector its2fix; | ^ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:189:37: error: ‘its2fix’ was not declared in this scope 189 | std::vector its2fix; | ^~~~~~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:192:28: error: ‘vector’ in namespace ‘std’ does not name a template type 192 | for (typename std::vector::iterator | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:192:28: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:192:34: error: expected unqualified-id before ‘<’ token 192 | for (typename std::vector::iterator | ^ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:192:34: error: expected ‘;’ before ‘<’ token /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:192:34: error: expected primary-expression before ‘<’ token /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:192:48: error: expected primary-expression before ‘*’ token 192 | for (typename std::vector::iterator | ^ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:192:49: error: expected primary-expression before ‘>’ token 192 | for (typename std::vector::iterator | ^ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:192:52: error: ‘::iterator’ has not been declared; did you mean ‘std::iterator’? 192 | for (typename std::vector::iterator | ^~~~~~~~ | std::iterator /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: ‘std::iterator’ declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:193:14: error: expected ‘;’ before ‘it2fix’ 193 | it2fix = its2fix.begin(); it2fix != its2fix.end(); ++it2fix) | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:193:14: error: ‘it2fix’ was not declared in this scope /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:193:38: error: expected ‘)’ before ‘;’ token 193 | it2fix = its2fix.begin(); it2fix != its2fix.end(); ++it2fix) | ^ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:192:13: note: to match this ‘(’ 192 | for (typename std::vector::iterator | ^ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:193:40: error: ‘it2fix’ was not declared in this scope 193 | it2fix = its2fix.begin(); it2fix != its2fix.end(); ++it2fix) | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h: In member function ‘void stxxl::hash_map::iterator_map::fix_iterators_all2end()’: /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:208:39: error: ‘it_map_’ was not declared in this scope; did you mean ‘map_’? 208 | for (mmiterator_type it2fix = it_map_.begin(); | ^~~~~~~ | map_ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:211:14: error: invalid type argument of unary ‘*’ (have ‘stxxl::hash_map::iterator_map::mmiterator_type’ {aka ‘int’}) 211 | (*it2fix).second->end_ = true; | ^~~~~~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:212:14: error: invalid type argument of unary ‘*’ (have ‘stxxl::hash_map::iterator_map::mmiterator_type’ {aka ‘int’}) 212 | (*it2fix).second->reset_reader(); | ^~~~~~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:214:9: error: ‘it_map_’ was not declared in this scope; did you mean ‘map_’? 214 | it_map_.clear(); | ^~~~~~~ | map_ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h: In member function ‘void stxxl::hash_map::iterator_map::_find(internal_size_type, OutputContainer&)’: /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:223:15: error: ‘it_map_’ was not declared in this scope; did you mean ‘map_’? 223 | = it_map_.equal_range(i_bucket); | ^~~~~~~ | map_ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:226:29: error: invalid type argument of unary ‘*’ (have ‘stxxl::hash_map::iterator_map::mmiterator_type’ {aka ‘int’}) 226 | outc.push_back((*i).second); | ^~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h: In member function ‘void stxxl::hash_map::iterator_map::change_hash_map_pointers(hash_map_type*)’: /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:232:35: error: ‘it_map_’ was not declared in this scope; did you mean ‘map_’? 232 | for (mmiterator_type it = it_map_.begin(); it != it_map_.end(); ++it) | ^~~~~~~ | map_ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:233:15: error: invalid type argument of unary ‘*’ (have ‘stxxl::hash_map::iterator_map::mmiterator_type’ {aka ‘int’}) 233 | ((*it).second)->map_ = map; | ^~~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h: In member function ‘void stxxl::hash_map::iterator_map::swap(stxxl::hash_map::iterator_map&)’: /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:239:19: error: ‘it_map_’ was not declared in this scope; did you mean ‘map_’? 239 | std::swap(it_map_, obj.it_map_); | ^~~~~~~ | map_ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h: In member function ‘void stxxl::hash_map::iterator_map::print_statistics(std::ostream&) const’: /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:248:42: error: ‘it_map_’ was not declared in this scope; did you mean ‘map_’? 248 | o << "Registered iterators: " << it_map_.size() << "\n"; | ^~~~~~~ | map_ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:252:35: error: base operand of ‘->’ is not a pointer 252 | o << " Address=" << i->second | ^~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:253:34: error: base operand of ‘->’ is not a pointer 253 | << ", Bucket=" << i->second->i_bucket_ | ^~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:254:32: error: base operand of ‘->’ is not a pointer 254 | << ", Node=" << i->second->node_ | ^~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:255:33: error: base operand of ‘->’ is not a pointer 255 | << ", i_ext=" << i->second->i_external_ | ^~ /usr/include/stxxl/bits/containers/hash_map/iterator_map.h:257:21: error: base operand of ‘->’ is not a pointer 257 | << ((i->second->source_ == hash_map_type::src_external) | ^~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h: At global scope: /usr/include/stxxl/bits/containers/hash_map/hash_map.h:118:18: error: ‘vector’ in namespace ‘std’ does not name a template type 118 | typedef std::vector bid_container_type; | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:28:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 27 | #include +++ |+#include 28 | #include /usr/include/stxxl/bits/containers/hash_map/hash_map.h:120:22: error: ‘bid_container_type’ has not been declared 120 | typedef typename bid_container_type::iterator bid_iterator_type; | ^~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:129:18: error: ‘vector’ in namespace ‘std’ does not name a template type 129 | typedef std::vector buckets_container_type; | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:129:13: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 129 | typedef std::vector buckets_container_type; | ^~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:146:5: error: ‘buckets_container_type’ does not name a type 146 | buckets_container_type buckets_; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:148:5: error: ‘bid_container_type’ does not name a type 148 | bid_container_type bids_; | ^~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h: In constructor ‘stxxl::hash_map::hash_map::hash_map(internal_size_type, const hasher&, const key_compare&, internal_size_type, const allocator_type&)’: /usr/include/stxxl/bits/containers/hash_map/hash_map.h:183:11: error: class ‘stxxl::hash_map::hash_map’ does not have any field named ‘buckets_’ 183 | buckets_(n), | ^~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:184:11: error: class ‘stxxl::hash_map::hash_map’ does not have any field named ‘bids_’ 184 | bids_(0), | ^~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h: In constructor ‘stxxl::hash_map::hash_map::hash_map(InputIterator, InputIterator, internal_size_type, internal_size_type, const hasher&, const key_compare&, internal_size_type, const allocator_type&)’: /usr/include/stxxl/bits/containers/hash_map/hash_map.h:219:11: error: class ‘stxxl::hash_map::hash_map’ does not have any field named ‘buckets_’ 219 | buckets_(n), // insert will determine a good size | ^~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:220:11: error: class ‘stxxl::hash_map::hash_map’ does not have any field named ‘bids_’ 220 | bids_(0), | ^~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h: In member function ‘void stxxl::hash_map::hash_map::_make_conscious()’: /usr/include/stxxl/bits/containers/hash_map/hash_map.h:265:28: error: ‘bids_’ was not declared in this scope 265 | reader_type reader(bids_.begin(), bids_.end(), block_cache_); | ^~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:266:35: error: ‘buckets_’ was not declared in this scope; did you mean ‘bucket’? 266 | values_stream_type values(buckets_.begin(), buckets_.end(), | ^~~~~~~~ | bucket /usr/include/stxxl/bits/containers/hash_map/hash_map.h: In member function ‘std::pair >, bool> stxxl::hash_map::hash_map::insert(const value_type&)’: /usr/include/stxxl/bits/containers/hash_map/hash_map.h:312:13: error: ‘buckets_’ was not declared in this scope; did you mean ‘bucket’? 312 | if (buckets_.size() == 0) | ^~~~~~~~ | bucket /usr/include/stxxl/bits/containers/hash_map/hash_map.h:316:31: error: ‘buckets_’ was not declared in this scope; did you mean ‘bucket’? 316 | bucket_type& bucket = buckets_[i_bucket]; | ^~~~~~~~ | bucket /usr/include/stxxl/bits/containers/hash_map/hash_map.h: In member function ‘stxxl::hash_map::hash_map::iterator stxxl::hash_map::hash_map::insert_oblivious(const value_type&)’: /usr/include/stxxl/bits/containers/hash_map/hash_map.h:378:31: error: ‘buckets_’ was not declared in this scope; did you mean ‘bucket’? 378 | bucket_type& bucket = buckets_[i_bucket]; | ^~~~~~~~ | bucket /usr/include/stxxl/bits/containers/hash_map/hash_map.h: In member function ‘void stxxl::hash_map::hash_map::erase(const_iterator)’: /usr/include/stxxl/bits/containers/hash_map/hash_map.h:424:31: error: ‘buckets_’ was not declared in this scope; did you mean ‘bucket’? 424 | bucket_type& bucket = buckets_[it.i_bucket_]; | ^~~~~~~~ | bucket /usr/include/stxxl/bits/containers/hash_map/hash_map.h: In member function ‘stxxl::hash_map::hash_map::external_size_type stxxl::hash_map::hash_map::erase(const key_type&)’: /usr/include/stxxl/bits/containers/hash_map/hash_map.h:456:31: error: ‘buckets_’ was not declared in this scope; did you mean ‘bucket’? 456 | bucket_type& bucket = buckets_[i_bucket]; | ^~~~~~~~ | bucket /usr/include/stxxl/bits/containers/hash_map/hash_map.h: In member function ‘void stxxl::hash_map::hash_map::erase_oblivious(const key_type&)’: /usr/include/stxxl/bits/containers/hash_map/hash_map.h:510:31: error: ‘buckets_’ was not declared in this scope; did you mean ‘bucket’? 510 | bucket_type& bucket = buckets_[i_bucket]; | ^~~~~~~~ | bucket /usr/include/stxxl/bits/containers/hash_map/hash_map.h: In member function ‘void stxxl::hash_map::hash_map::clear()’: /usr/include/stxxl/bits/containers/hash_map/hash_map.h:553:25: error: ‘buckets_’ was not declared in this scope; did you mean ‘bucket’? 553 | i_bucket < buckets_.size(); i_bucket++) | ^~~~~~~~ | bucket /usr/include/stxxl/bits/containers/hash_map/hash_map.h:563:9: error: ‘block_manager’ was not declared in this scope; did you mean ‘block_cache’? 563 | block_manager* bm = block_manager::get_instance(); | ^~~~~~~~~~~~~ | block_cache /usr/include/stxxl/bits/containers/hash_map/hash_map.h:563:24: error: ‘bm’ was not declared in this scope; did you mean ‘tm’? 563 | block_manager* bm = block_manager::get_instance(); | ^~ | tm /usr/include/stxxl/bits/containers/hash_map/hash_map.h:563:29: error: ‘block_manager’ is not a class, namespace, or enumeration 563 | block_manager* bm = block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:564:27: error: ‘bids_’ was not declared in this scope 564 | bm->delete_blocks(bids_.begin(), bids_.end()); | ^~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h: In member function ‘void stxxl::hash_map::hash_map::swap(self_type&)’: /usr/include/stxxl/bits/containers/hash_map/hash_map.h:572:19: error: ‘buckets_’ was not declared in this scope; did you mean ‘bucket’? 572 | std::swap(buckets_, obj.buckets_); | ^~~~~~~~ | bucket /usr/include/stxxl/bits/containers/hash_map/hash_map.h:573:19: error: ‘bids_’ was not declared in this scope 573 | std::swap(bids_, obj.bids_); | ^~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h: In member function ‘stxxl::hash_map::hash_map::iterator stxxl::hash_map::hash_map::find(const key_type&)’: /usr/include/stxxl/bits/containers/hash_map/hash_map.h:629:31: error: ‘buckets_’ was not declared in this scope; did you mean ‘bucket’? 629 | bucket_type& bucket = buckets_[i_bucket]; | ^~~~~~~~ | bucket /usr/include/stxxl/bits/containers/hash_map/hash_map.h: In member function ‘stxxl::hash_map::hash_map::const_iterator stxxl::hash_map::hash_map::find(const key_type&) const’: /usr/include/stxxl/bits/containers/hash_map/hash_map.h:683:37: error: ‘buckets_’ was not declared in this scope; did you mean ‘bucket’? 683 | const bucket_type& bucket = buckets_[i_bucket]; | ^~~~~~~~ | bucket /usr/include/stxxl/bits/containers/hash_map/hash_map.h: In member function ‘stxxl::hash_map::hash_map::mapped_type& stxxl::hash_map::hash_map::operator[](const key_type&)’: /usr/include/stxxl/bits/containers/hash_map/hash_map.h:750:31: error: ‘buckets_’ was not declared in this scope; did you mean ‘bucket’? 750 | bucket_type& bucket = buckets_[i_bucket]; | ^~~~~~~~ | bucket /usr/include/stxxl/bits/containers/hash_map/hash_map.h: In member function ‘stxxl::hash_map::hash_map::internal_size_type stxxl::hash_map::hash_map::bucket_count() const’: /usr/include/stxxl/bits/containers/hash_map/hash_map.h:792:14: error: ‘buckets_’ was not declared in this scope; did you mean ‘bucket’? 792 | { return buckets_.size(); } | ^~~~~~~~ | bucket /usr/include/stxxl/bits/containers/hash_map/hash_map.h: In member function ‘float stxxl::hash_map::hash_map::load_factor() const’: /usr/include/stxxl/bits/containers/hash_map/hash_map.h:805:65: error: ‘buckets_’ was not declared in this scope; did you mean ‘bucket’? 805 | { return (float)num_total_ / ((float)subblock_size * (float)buckets_.size()); } | ^~~~~~~~ | bucket /usr/include/stxxl/bits/containers/hash_map/hash_map.h: In member function ‘Iterator stxxl::hash_map::hash_map::_begin() const’: /usr/include/stxxl/bits/containers/hash_map/hash_map.h:853:13: error: ‘buckets_’ was not declared in this scope; did you mean ‘bucket’? 853 | if (buckets_.size() == 0) | ^~~~~~~~ | bucket /usr/include/stxxl/bits/containers/hash_map/hash_map.h:857:40: error: ‘buckets_’ was not declared in this scope; did you mean ‘bucket’? 857 | Iterator it(non_const_this, 0, buckets_[0].list_, | ^~~~~~~~ | bucket /usr/include/stxxl/bits/containers/hash_map/hash_map.h: In member function ‘stxxl::hash_map::hash_map::internal_size_type stxxl::hash_map::hash_map::_bkt_num(const key_type&) const’: /usr/include/stxxl/bits/containers/hash_map/hash_map.h:926:30: error: ‘buckets_’ was not declared in this scope; did you mean ‘bucket’? 926 | return _bkt_num(key, buckets_.size()); | ^~~~~~~~ | bucket /usr/include/stxxl/bits/containers/hash_map/hash_map.h: In member function ‘stxxl::hash_map::hash_map::subblock_type* stxxl::hash_map::hash_map::_load_subblock(const bucket_type&, internal_size_type) const’: /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1043:24: error: ‘bids_’ was not declared in this scope; did you mean ‘bid’? 1043 | bid_type bid = bids_[bucket.i_block_ + (internal_size_type)(i_abs_subblock / subblocks_per_block)]; | ^~~~~ | bid /usr/include/stxxl/bits/containers/hash_map/hash_map.h: In member function ‘void stxxl::hash_map::hash_map::_rebuild_buckets(internal_size_type)’: /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1116:45: error: ‘bid_container_type’ was not declared in this scope 1116 | typedef buffered_writer writer_type; | ^~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1116:63: error: template argument 2 is invalid 1116 | typedef buffered_writer writer_type; | ^ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1120:44: error: ‘config’ has not been declared 1120 | const int_type write_buffer_size = config::get_instance()->disks_number() * 4; | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1131:9: error: ‘buckets_container_type’ was not declared in this scope 1131 | buckets_container_type old_buckets(n_new); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1132:19: error: ‘buckets_’ was not declared in this scope; did you mean ‘bucket’? 1132 | std::swap(buckets_, old_buckets); | ^~~~~~~~ | bucket /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1132:29: error: ‘old_buckets’ was not declared in this scope; did you mean ‘_dump_buckets’? 1132 | std::swap(buckets_, old_buckets); | ^~~~~~~~~~~ | _dump_buckets /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1134:28: error: expected ‘;’ before ‘old_bids’ 1134 | bid_container_type old_bids; | ^~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1135:19: error: ‘bids_’ was not declared in this scope 1135 | std::swap(bids_, old_bids); | ^~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1135:26: error: ‘old_bids’ was not declared in this scope 1135 | std::swap(bids_, old_bids); | ^~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1158:50: error: request for member ‘i_block’ in ‘writer’, which is of non-class type ‘writer_type’ {aka ‘int’} 1158 | buckets_[i_bucket].i_block_ = writer.i_block(); | ^~~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1159:53: error: request for member ‘i_subblock’ in ‘writer’, which is of non-class type ‘writer_type’ {aka ‘int’} 1159 | buckets_[i_bucket].i_subblock_ = writer.i_subblock(); | ^~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1168:24: error: request for member ‘append’ in ‘writer’, which is of non-class type ‘writer_type’ {aka ‘int’} 1168 | writer.append(hvalue.value_); | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1173:20: error: request for member ‘finish_subblock’ in ‘writer’, which is of non-class type ‘writer_type’ {aka ‘int’} 1173 | writer.finish_subblock(); | ^~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1177:16: error: request for member ‘flush’ in ‘writer’, which is of non-class type ‘writer_type’ {aka ‘int’} 1177 | writer.flush(); | ^~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1184:9: error: ‘block_manager’ was not declared in this scope; did you mean ‘block_cache’? 1184 | block_manager* bm = stxxl::block_manager::get_instance(); | ^~~~~~~~~~~~~ | block_cache /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1184:24: error: ‘bm’ was not declared in this scope; did you mean ‘tm’? 1184 | block_manager* bm = stxxl::block_manager::get_instance(); | ^~ | tm /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1184:36: error: ‘stxxl::block_manager’ has not been declared 1184 | block_manager* bm = stxxl::block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/stream/sort_stream.h: In member function ‘void stxxl::hash_map::hash_map::insert(InputIterator, InputIterator, internal_size_type)’: /usr/include/stxxl/bits/stream/sort_stream.h:1531:77: error: ‘STXXL_DEFAULT_BLOCK_SIZE’ was not declared in this scope 1531 | unsigned BlockSize = STXXL_DEFAULT_BLOCK_SIZE(typename Input::value_type), | ^ /usr/include/stxxl/bits/stream/sort_stream.h:1531:77: note: the macro ‘STXXL_DEFAULT_BLOCK_SIZE’ had not yet been defined /usr/include/stxxl/bits/mng/block_manager.h:265: note: it was later defined here 265 | #define STXXL_DEFAULT_BLOCK_SIZE(type) (2 * 1024 * 1024) // use traits | /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1311:59: error: template argument 3 is invalid 1311 | typedef stxxl::stream::sort new_sorted_values_stream; | ^ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1311:59: error: template argument 4 is invalid /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1311:59: error: template argument 5 is invalid /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1317:45: error: ‘bid_container_type’ was not declared in this scope 1317 | typedef buffered_writer writer_type; | ^~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1317:63: error: template argument 2 is invalid 1317 | typedef buffered_writer writer_type; | ^ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1319:38: error: ‘config’ has not been declared 1319 | int_type write_buffer_size = config::get_instance()->disks_number() * 2; | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1330:9: error: ‘buckets_container_type’ was not declared in this scope 1330 | buckets_container_type old_buckets((internal_size_type)n_buckets_new); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1331:19: error: ‘buckets_’ was not declared in this scope; did you mean ‘bucket’? 1331 | std::swap(buckets_, old_buckets); | ^~~~~~~~ | bucket /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1331:29: error: ‘old_buckets’ was not declared in this scope; did you mean ‘_dump_buckets’? 1331 | std::swap(buckets_, old_buckets); | ^~~~~~~~~~~ | _dump_buckets /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1333:28: error: expected ‘;’ before ‘old_bids’ 1333 | bid_container_type old_bids; | ^~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1334:19: error: ‘bids_’ was not declared in this scope 1334 | std::swap(bids_, old_bids); | ^~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1334:26: error: ‘old_bids’ was not declared in this scope 1334 | std::swap(bids_, old_bids); | ^~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1354:50: error: request for member ‘i_block’ in ‘writer’, which is of non-class type ‘writer_type’ {aka ‘int’} 1354 | buckets_[i_bucket].i_block_ = writer.i_block(); | ^~~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1355:53: error: request for member ‘i_subblock’ in ‘writer’, which is of non-class type ‘writer_type’ {aka ‘int’} 1355 | buckets_[i_bucket].i_subblock_ = writer.i_subblock(); | ^~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1374:28: error: request for member ‘append’ in ‘writer’, which is of non-class type ‘writer_type’ {aka ‘int’} 1374 | writer.append(hvalue.value_); | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1386:28: error: request for member ‘append’ in ‘writer’, which is of non-class type ‘writer_type’ {aka ‘int’} 1386 | writer.append((*new_hasher).second); | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1396:24: error: request for member ‘append’ in ‘writer’, which is of non-class type ‘writer_type’ {aka ‘int’} 1396 | writer.append(hvalue.value_); | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1403:24: error: request for member ‘append’ in ‘writer’, which is of non-class type ‘writer_type’ {aka ‘int’} 1403 | writer.append((*new_hasher).second); | ^~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1408:20: error: request for member ‘finish_subblock’ in ‘writer’, which is of non-class type ‘writer_type’ {aka ‘int’} 1408 | writer.finish_subblock(); | ^~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1412:16: error: request for member ‘flush’ in ‘writer’, which is of non-class type ‘writer_type’ {aka ‘int’} 1412 | writer.flush(); | ^~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1417:9: error: ‘block_manager’ was not declared in this scope; did you mean ‘block_cache’? 1417 | block_manager* bm = stxxl::block_manager::get_instance(); | ^~~~~~~~~~~~~ | block_cache /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1417:24: error: ‘bm’ was not declared in this scope; did you mean ‘tm’? 1417 | block_manager* bm = stxxl::block_manager::get_instance(); | ^~ | tm /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1417:36: error: ‘stxxl::block_manager’ has not been declared 1417 | block_manager* bm = stxxl::block_manager::get_instance(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h: In member function ‘void stxxl::hash_map::hash_map::_dump_external()’: /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1467:28: error: ‘bids_’ was not declared in this scope 1467 | reader_type reader(bids_.begin(), bids_.end(), &block_cache_); | ^~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h: In member function ‘void stxxl::hash_map::hash_map::_dump_buckets()’: /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1486:28: error: ‘bids_’ was not declared in this scope 1486 | reader_type reader(bids_.begin(), bids_.end(), &block_cache_); | ^~~~~ /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1488:47: error: ‘buckets_’ was not declared in this scope; did you mean ‘bucket’? 1488 | std::cout << "number of buckets: " << buckets_.size() << std::endl; | ^~~~~~~~ | bucket /usr/include/stxxl/bits/containers/hash_map/hash_map.h: In member function ‘void stxxl::hash_map::hash_map::_dump_bucket_statistics()’: /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1514:47: error: ‘buckets_’ was not declared in this scope; did you mean ‘bucket’? 1514 | std::cout << "number of buckets: " << buckets_.size() << std::endl; | ^~~~~~~~ | bucket /usr/include/stxxl/bits/containers/hash_map/hash_map.h: In member function ‘void stxxl::hash_map::hash_map::print_load_statistics(std::ostream&) const’: /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1564:58: error: ‘buckets_’ was not declared in this scope; did you mean ‘bucket’? 1564 | for (internal_size_type i_bucket = 0; i_bucket < buckets_.size(); i_bucket++) | ^~~~~~~~ | bucket /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1574:62: error: ‘buckets_’ was not declared in this scope; did you mean ‘bucket’? 1574 | double avg_external = (double)sum_external / (double)buckets_.size(); | ^~~~~~~~ | bucket /usr/include/stxxl/bits/containers/hash_map/hash_map.h:1585:43: error: ‘bids_’ was not declared in this scope 1585 | o << "Blocks allocated : " << bids_.size() << " => " << (bids_.size() * block_type::raw_size) << " bytes" << std::endl; | ^~~~~ /usr/include/stxxl/bits/compat/hash_map.h: At global scope: /usr/include/stxxl/bits/compat/hash_map.h:54:18: error: ‘unordered_map’ in namespace ‘std’ does not name a template type 54 | typedef std::unordered_map result; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/compat/hash_map.h:25:1: note: ‘std::unordered_map’ is defined in header ‘’; did you forget to ‘#include ’? 24 | #include +++ |+#include 25 | #elif STXXL_MSVC /usr/include/stxxl/bits/compat/hash_map.h:69:18: error: ‘unordered_multimap’ in namespace ‘std’ does not name a template type 69 | typedef std::unordered_multimap result; | ^~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/compat/hash_map.h:69:13: note: ‘std::unordered_multimap’ is defined in header ‘’; did you forget to ‘#include ’? 69 | typedef std::unordered_multimap result; | ^~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:80:10: error: ‘vector’ in namespace ‘std’ does not name a template type 80 | std::vector m_nodes; | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:18:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 17 | #include +++ |+#include 18 | #include /usr/include/stxxl/bits/containers/btree/node_cache.h:81:10: error: ‘vector’ in namespace ‘std’ does not name a template type 81 | std::vector m_reqs; | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:81:5: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 81 | std::vector m_reqs; | ^~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:82:10: error: ‘vector’ in namespace ‘std’ does not name a template type 82 | std::vector m_fixed; | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:82:5: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 82 | std::vector m_fixed; | ^~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:83:10: error: ‘vector’ in namespace ‘std’ does not name a template type 83 | std::vector m_dirty; | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:83:5: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 83 | std::vector m_dirty; | ^~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:84:10: error: ‘vector’ in namespace ‘std’ does not name a template type 84 | std::vector m_free_nodes; | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:84:5: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 84 | std::vector m_free_nodes; | ^~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:92:5: error: ‘block_manager’ does not name a type 92 | block_manager* m_bm; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h: In member function ‘void stxxl::btree::node_cache::change_btree_pointers(btree_type*)’: /usr/include/stxxl/bits/containers/btree/node_cache.h:106:28: error: ‘vector’ in namespace ‘std’ does not name a template type 106 | for (typename std::vector::const_iterator it = m_nodes.begin(); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:106:28: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/btree/node_cache.h:106:34: error: expected unqualified-id before ‘<’ token 106 | for (typename std::vector::const_iterator it = m_nodes.begin(); | ^ /usr/include/stxxl/bits/containers/btree/node_cache.h:106:34: error: expected ‘;’ before ‘<’ token /usr/include/stxxl/bits/containers/btree/node_cache.h:106:34: error: expected primary-expression before ‘<’ token /usr/include/stxxl/bits/containers/btree/node_cache.h:106:44: error: expected primary-expression before ‘*’ token 106 | for (typename std::vector::const_iterator it = m_nodes.begin(); | ^ /usr/include/stxxl/bits/containers/btree/node_cache.h:106:45: error: expected primary-expression before ‘>’ token 106 | for (typename std::vector::const_iterator it = m_nodes.begin(); | ^ /usr/include/stxxl/bits/containers/btree/node_cache.h:106:48: error: ‘::const_iterator’ has not been declared 106 | for (typename std::vector::const_iterator it = m_nodes.begin(); | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:106:63: error: expected ‘;’ before ‘it’ 106 | for (typename std::vector::const_iterator it = m_nodes.begin(); | ^~ /usr/include/stxxl/bits/containers/btree/node_cache.h:106:63: error: ‘it’ was not declared in this scope; did you mean ‘int’? 106 | for (typename std::vector::const_iterator it = m_nodes.begin(); | ^~ | int /usr/include/stxxl/bits/containers/btree/node_cache.h:106:68: error: ‘m_nodes’ was not declared in this scope 106 | for (typename std::vector::const_iterator it = m_nodes.begin(); | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:106:83: error: expected ‘)’ before ‘;’ token 106 | for (typename std::vector::const_iterator it = m_nodes.begin(); | ^ /usr/include/stxxl/bits/containers/btree/node_cache.h:106:13: note: to match this ‘(’ 106 | for (typename std::vector::const_iterator it = m_nodes.begin(); | ^ /usr/include/stxxl/bits/containers/btree/node_cache.h:107:14: error: ‘it’ was not declared in this scope; did you mean ‘int’? 107 | it != m_nodes.end(); ++it) | ^~ | int /usr/include/stxxl/bits/containers/btree/node_cache.h:107:20: error: ‘m_nodes’ was not declared in this scope 107 | it != m_nodes.end(); ++it) | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h: In constructor ‘stxxl::btree::node_cache::node_cache(stxxl::unsigned_type, btree_type*, key_compare)’: /usr/include/stxxl/bits/containers/btree/node_cache.h:119:11: error: class ‘stxxl::btree::node_cache’ does not have any field named ‘m_bm’ 119 | m_bm(block_manager::get_instance()), | ^~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:119:16: error: ‘block_manager’ has not been declared 119 | m_bm(block_manager::get_instance()), | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:134:9: error: ‘m_nodes’ was not declared in this scope; did you mean ‘nnodes’? 134 | m_nodes.reserve(nnodes); | ^~~~~~~ | nnodes /usr/include/stxxl/bits/containers/btree/node_cache.h:135:9: error: ‘m_reqs’ was not declared in this scope 135 | m_reqs.resize(nnodes); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:136:9: error: ‘m_free_nodes’ was not declared in this scope 136 | m_free_nodes.reserve(nnodes); | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:137:9: error: ‘m_fixed’ was not declared in this scope; did you mean ‘nfixed’? 137 | m_fixed.resize(nnodes, false); | ^~~~~~~ | nfixed /usr/include/stxxl/bits/containers/btree/node_cache.h:138:9: error: ‘m_dirty’ was not declared in this scope 138 | m_dirty.resize(nnodes, true); | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h: In member function ‘stxxl::unsigned_type stxxl::btree::node_cache::size() const’: /usr/include/stxxl/bits/containers/btree/node_cache.h:151:16: error: ‘m_nodes’ was not declared in this scope 151 | return m_nodes.size(); | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h: In member function ‘stxxl::unsigned_type stxxl::btree::node_cache::nfixed() const’: /usr/include/stxxl/bits/containers/btree/node_cache.h:162:17: error: ‘m_fixed’ was not declared in this scope; did you mean ‘nfixed’? 162 | if (m_fixed[(*i).second]) | ^~~~~~~ | nfixed /usr/include/stxxl/bits/containers/btree/node_cache.h: In destructor ‘stxxl::btree::node_cache::~node_cache()’: /usr/include/stxxl/bits/containers/btree/node_cache.h:176:17: error: ‘m_reqs’ was not declared in this scope 176 | if (m_reqs[p].valid()) | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:179:17: error: ‘m_dirty’ was not declared in this scope 179 | if (m_dirty[p]) | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:180:17: error: ‘m_nodes’ was not declared in this scope 180 | m_nodes[p]->save(); | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:183:20: error: ‘m_nodes’ was not declared in this scope 183 | delete m_nodes[i]; | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h: In member function ‘stxxl::btree::node_cache::node_type* stxxl::btree::node_cache::get_new_node(bid_type&)’: /usr/include/stxxl/bits/containers/btree/node_cache.h:190:13: error: ‘m_free_nodes’ was not declared in this scope 190 | if (m_free_nodes.empty()) | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:208:22: error: ‘m_fixed’ was not declared in this scope; did you mean ‘nfixed’? 208 | } while (m_fixed[node2kick]); | ^~~~~~~ | nfixed /usr/include/stxxl/bits/containers/btree/node_cache.h:210:17: error: ‘m_reqs’ was not declared in this scope 210 | if (m_reqs[node2kick].valid()) | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:213:33: error: ‘m_nodes’ was not declared in this scope; did you mean ‘node’? 213 | node_type& node = *(m_nodes[node2kick]); | ^~~~~~~ | node /usr/include/stxxl/bits/containers/btree/node_cache.h:215:17: error: ‘m_dirty’ was not declared in this scope 215 | if (m_dirty[node2kick]) | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:227:13: error: ‘m_bm’ was not declared in this scope 227 | m_bm->new_block(m_alloc_strategy, new_bid); | ^~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:233:13: error: ‘m_dirty’ was not declared in this scope 233 | m_dirty[node2kick] = true; | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:242:30: error: ‘m_free_nodes’ was not declared in this scope; did you mean ‘free_node’? 242 | int_type free_node = m_free_nodes.back(); | ^~~~~~~~~~~~ | free_node In file included from /usr/include/c++/12/cassert:44, from /usr/include/stxxl/bits/containers/pager.h:18, from /usr/include/stxxl/bits/containers/hash_map/block_cache.h:24: /usr/include/stxxl/bits/containers/btree/node_cache.h:244:9: error: ‘m_fixed’ was not declared in this scope; did you mean ‘nfixed’? 244 | assert(m_fixed[free_node] == false); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:246:9: error: ‘m_bm’ was not declared in this scope 246 | m_bm->new_block(m_alloc_strategy, new_bid); | ^~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:248:29: error: ‘m_nodes’ was not declared in this scope; did you mean ‘node’? 248 | node_type& node = *(m_nodes[free_node]); | ^~~~~~~ | node /usr/include/stxxl/bits/containers/btree/node_cache.h:255:9: error: ‘m_dirty’ was not declared in this scope 255 | m_dirty[free_node] = true; | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h: In member function ‘stxxl::btree::node_cache::node_type* stxxl::btree::node_cache::get_node(const bid_type&, bool)’: /usr/include/stxxl/bits/containers/btree/node_cache.h:274:13: error: ‘m_fixed’ was not declared in this scope; did you mean ‘nfixed’? 274 | m_fixed[nodeindex] = fix; | ^~~~~~~ | nfixed /usr/include/stxxl/bits/containers/btree/node_cache.h:276:13: error: ‘m_dirty’ was not declared in this scope 276 | m_dirty[nodeindex] = true; | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:278:17: error: ‘m_reqs’ was not declared in this scope 278 | if (m_reqs[nodeindex].valid() && !m_reqs[nodeindex]->poll()) | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:282:20: error: ‘m_nodes’ was not declared in this scope 282 | return m_nodes[nodeindex]; | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:288:13: error: ‘m_free_nodes’ was not declared in this scope 288 | if (m_free_nodes.empty()) | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:306:22: error: ‘m_fixed’ was not declared in this scope; did you mean ‘nfixed’? 306 | } while (m_fixed[node2kick]); | ^~~~~~~ | nfixed /usr/include/stxxl/bits/containers/btree/node_cache.h:308:17: error: ‘m_reqs’ was not declared in this scope 308 | if (m_reqs[node2kick].valid()) | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:311:33: error: ‘m_nodes’ was not declared in this scope; did you mean ‘node’? 311 | node_type& node = *(m_nodes[node2kick]); | ^~~~~~~ | node /usr/include/stxxl/bits/containers/btree/node_cache.h:313:17: error: ‘m_dirty’ was not declared in this scope 313 | if (m_dirty[node2kick]) | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:323:13: error: ‘m_reqs’ was not declared in this scope 323 | m_reqs[node2kick] = node.load(bid); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:328:13: error: ‘m_dirty’ was not declared in this scope 328 | m_dirty[node2kick] = true; | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:337:30: error: ‘m_free_nodes’ was not declared in this scope; did you mean ‘free_node’? 337 | int_type free_node = m_free_nodes.back(); | ^~~~~~~~~~~~ | free_node /usr/include/stxxl/bits/containers/btree/node_cache.h:339:9: error: ‘m_fixed’ was not declared in this scope; did you mean ‘nfixed’? 339 | assert(m_fixed[free_node] == false); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:341:29: error: ‘m_nodes’ was not declared in this scope; did you mean ‘node’? 341 | node_type& node = *(m_nodes[free_node]); | ^~~~~~~ | node /usr/include/stxxl/bits/containers/btree/node_cache.h:342:9: error: ‘m_reqs’ was not declared in this scope 342 | m_reqs[free_node] = node.load(bid); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:349:9: error: ‘m_dirty’ was not declared in this scope 349 | m_dirty[free_node] = true; | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h: In member function ‘const stxxl::btree::node_cache::node_type* stxxl::btree::node_cache::get_const_node(const bid_type&, bool)’: /usr/include/stxxl/bits/containers/btree/node_cache.h:368:13: error: ‘m_fixed’ was not declared in this scope; did you mean ‘nfixed’? 368 | m_fixed[nodeindex] = fix; | ^~~~~~~ | nfixed /usr/include/stxxl/bits/containers/btree/node_cache.h:371:17: error: ‘m_reqs’ was not declared in this scope 371 | if (m_reqs[nodeindex].valid() && !m_reqs[nodeindex]->poll()) | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:375:20: error: ‘m_nodes’ was not declared in this scope 375 | return m_nodes[nodeindex]; | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:381:13: error: ‘m_free_nodes’ was not declared in this scope 381 | if (m_free_nodes.empty()) | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:399:22: error: ‘m_fixed’ was not declared in this scope; did you mean ‘nfixed’? 399 | } while (m_fixed[node2kick]); | ^~~~~~~ | nfixed /usr/include/stxxl/bits/containers/btree/node_cache.h:401:17: error: ‘m_reqs’ was not declared in this scope 401 | if (m_reqs[node2kick].valid()) | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:404:33: error: ‘m_nodes’ was not declared in this scope; did you mean ‘node’? 404 | node_type& node = *(m_nodes[node2kick]); | ^~~~~~~ | node /usr/include/stxxl/bits/containers/btree/node_cache.h:405:17: error: ‘m_dirty’ was not declared in this scope 405 | if (m_dirty[node2kick]) | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:415:13: error: ‘m_reqs’ was not declared in this scope 415 | m_reqs[node2kick] = node.load(bid); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:420:13: error: ‘m_dirty’ was not declared in this scope 420 | m_dirty[node2kick] = false; | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:429:30: error: ‘m_free_nodes’ was not declared in this scope; did you mean ‘free_node’? 429 | int_type free_node = m_free_nodes.back(); | ^~~~~~~~~~~~ | free_node /usr/include/stxxl/bits/containers/btree/node_cache.h:431:9: error: ‘m_fixed’ was not declared in this scope; did you mean ‘nfixed’? 431 | assert(m_fixed[free_node] == false); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:433:29: error: ‘m_nodes’ was not declared in this scope; did you mean ‘node’? 433 | node_type& node = *(m_nodes[free_node]); | ^~~~~~~ | node /usr/include/stxxl/bits/containers/btree/node_cache.h:434:9: error: ‘m_reqs’ was not declared in this scope 434 | m_reqs[free_node] = node.load(bid); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:441:9: error: ‘m_dirty’ was not declared in this scope 441 | m_dirty[free_node] = false; | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h: In member function ‘void stxxl::btree::node_cache::delete_node(const bid_type&)’: /usr/include/stxxl/bits/containers/btree/node_cache.h:460:21: error: ‘m_reqs’ was not declared in this scope 460 | if (m_reqs[nodeindex].valid()) | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:464:17: error: ‘m_free_nodes’ was not declared in this scope 464 | m_free_nodes.push_back(nodeindex); | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:466:17: error: ‘m_fixed’ was not declared in this scope; did you mean ‘nfixed’? 466 | m_fixed[nodeindex] = false; | ^~~~~~~ | nfixed /usr/include/stxxl/bits/containers/btree/node_cache.h:471:13: error: ‘m_bm’ was not declared in this scope 471 | m_bm->delete_block(bid); | ^~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:474:9: error: ‘m_bm’ was not declared in this scope 474 | m_bm->delete_block(bid); | ^~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h: In member function ‘void stxxl::btree::node_cache::prefetch_node(const bid_type&)’: /usr/include/stxxl/bits/containers/btree/node_cache.h:483:13: error: ‘m_free_nodes’ was not declared in this scope 483 | if (m_free_nodes.empty()) | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:501:22: error: ‘m_fixed’ was not declared in this scope; did you mean ‘nfixed’? 501 | } while (m_fixed[node2kick]); | ^~~~~~~ | nfixed /usr/include/stxxl/bits/containers/btree/node_cache.h:503:17: error: ‘m_reqs’ was not declared in this scope 503 | if (m_reqs[node2kick].valid()) | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:506:33: error: ‘m_nodes’ was not declared in this scope; did you mean ‘node’? 506 | node_type& node = *(m_nodes[node2kick]); | ^~~~~~~ | node /usr/include/stxxl/bits/containers/btree/node_cache.h:508:17: error: ‘m_dirty’ was not declared in this scope 508 | if (m_dirty[node2kick]) | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:518:13: error: ‘m_reqs’ was not declared in this scope 518 | m_reqs[node2kick] = node.prefetch(bid); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:523:13: error: ‘m_dirty’ was not declared in this scope 523 | m_dirty[node2kick] = false; | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:532:30: error: ‘m_free_nodes’ was not declared in this scope; did you mean ‘free_node’? 532 | int_type free_node = m_free_nodes.back(); | ^~~~~~~~~~~~ | free_node /usr/include/stxxl/bits/containers/btree/node_cache.h:534:9: error: ‘m_fixed’ was not declared in this scope; did you mean ‘nfixed’? 534 | assert(m_fixed[free_node] == false); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:536:29: error: ‘m_nodes’ was not declared in this scope; did you mean ‘node’? 536 | node_type& node = *(m_nodes[free_node]); | ^~~~~~~ | node /usr/include/stxxl/bits/containers/btree/node_cache.h:537:9: error: ‘m_reqs’ was not declared in this scope 537 | m_reqs[free_node] = node.prefetch(bid); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:544:9: error: ‘m_dirty’ was not declared in this scope 544 | m_dirty[free_node] = false; | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h: In member function ‘void stxxl::btree::node_cache::unfix_node(const bid_type&)’: /usr/include/stxxl/bits/containers/btree/node_cache.h:556:9: error: ‘m_fixed’ was not declared in this scope; did you mean ‘nfixed’? 556 | m_fixed[m_bid2node[bid]] = false; | ^~~~~~~ | nfixed /usr/include/stxxl/bits/containers/btree/node_cache.h: In member function ‘void stxxl::btree::node_cache::swap(stxxl::btree::node_cache&)’: /usr/include/stxxl/bits/containers/btree/node_cache.h:563:19: error: ‘m_nodes’ was not declared in this scope 563 | std::swap(m_nodes, obj.m_nodes); | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:564:19: error: ‘m_reqs’ was not declared in this scope 564 | std::swap(m_reqs, obj.m_reqs); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node_cache.h:567:19: error: ‘m_fixed’ was not declared in this scope; did you mean ‘nfixed’? 567 | std::swap(m_fixed, obj.m_fixed); | ^~~~~~~ | nfixed /usr/include/stxxl/bits/containers/btree/node_cache.h:568:19: error: ‘m_free_nodes’ was not declared in this scope 568 | std::swap(m_free_nodes, obj.m_free_nodes); | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h: At global scope: /usr/include/stxxl/bits/containers/btree/leaf.h:45:13: error: ‘BID’ does not name a type 45 | typedef BID bid_type; | ^~~ /usr/include/stxxl/bits/containers/btree/leaf.h:49:9: error: ‘bid_type’ does not name a type 49 | bid_type me, pred, succ; | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:88:36: error: ‘bid_type’ was not declared in this scope 88 | void split(std::pair& splitter) | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:88:44: error: template argument 2 is invalid 88 | void split(std::pair& splitter) | ^ /usr/include/stxxl/bits/containers/btree/leaf.h:186:5: error: ‘bid_type’ does not name a type 186 | bid_type & succ() | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:190:5: error: ‘bid_type’ does not name a type 190 | bid_type & pred() | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:195:11: error: ‘bid_type’ does not name a type 195 | const bid_type & succ() const | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:199:11: error: ‘bid_type’ does not name a type 199 | const bid_type & pred() const | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:233:11: error: ‘bid_type’ does not name a type 233 | const bid_type & my_bid() const | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:244:5: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 244 | request_ptr load(const bid_type& bid) | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/containers/btree/leaf.h:252:5: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 252 | request_ptr prefetch(const bid_type& bid) | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/containers/btree/leaf.h:257:21: error: ‘bid_type’ does not name a type 257 | void init(const bid_type& my_bid_) | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:304:29: error: ‘bid_type’ was not declared in this scope 304 | std::pair& splitter) | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:304:37: error: template argument 2 is invalid 304 | std::pair& splitter) | ^ /usr/include/stxxl/bits/containers/btree/leaf.h: In member function ‘void stxxl::btree::normal_leaf::split(int&)’: /usr/include/stxxl/bits/containers/btree/leaf.h:90:9: error: ‘bid_type’ was not declared in this scope 90 | bid_type new_bid; | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:91:44: error: ‘new_bid’ was not declared in this scope 91 | m_btree->m_leaf_cache.get_new_node(new_bid); // new (left) leaf | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:108:22: error: ‘vector’ in namespace ‘std’ does not name a template type 108 | typedef std::vector iterators2fix_type; | ^~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:18:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 17 | #include +++ |+#include 18 | /usr/include/stxxl/bits/containers/btree/leaf.h:109:9: error: ‘iterators2fix_type’ was not declared in this scope 109 | iterators2fix_type iterators2fix; | ^~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:110:59: error: ‘iterators2fix’ was not declared in this scope 110 | m_btree->m_iterator_map.find(my_bid(), 0, size(), iterators2fix); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:114:18: error: request for member ‘first’ in ‘splitter’, which is of non-class type ‘int’ 114 | splitter.first = ((*m_block)[end_of_smaller_part - 1]).first; | ^~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:115:18: error: request for member ‘second’ in ‘splitter’, which is of non-class type ‘int’ 115 | splitter.second = new_bid; | ^~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:129:41: error: expected ‘;’ before ‘::’ token 129 | for (typename iterators2fix_type::iterator it2fix = iterators2fix.begin(); | ^~ /usr/include/stxxl/bits/containers/btree/leaf.h:129:43: error: ‘::iterator’ has not been declared; did you mean ‘std::iterator’? 129 | for (typename iterators2fix_type::iterator it2fix = iterators2fix.begin(); | ^~~~~~~~ | std::iterator /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: ‘std::iterator’ declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:129:52: error: expected ‘;’ before ‘it2fix’ 129 | for (typename iterators2fix_type::iterator it2fix = iterators2fix.begin(); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:129:52: error: ‘it2fix’ was not declared in this scope /usr/include/stxxl/bits/containers/btree/leaf.h:129:82: error: expected ‘)’ before ‘;’ token 129 | for (typename iterators2fix_type::iterator it2fix = iterators2fix.begin(); | ^ /usr/include/stxxl/bits/containers/btree/leaf.h:129:13: note: to match this ‘(’ 129 | for (typename iterators2fix_type::iterator it2fix = iterators2fix.begin(); | ^ /usr/include/stxxl/bits/containers/btree/leaf.h:130:14: error: ‘it2fix’ was not declared in this scope 130 | it2fix != iterators2fix.end(); ++it2fix) | ^~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:143:9: error: request for member ‘first’ in ‘splitter’, which is of non-class type ‘int’ 143 | STXXL_VERBOSE1("btree::normal_leaf split leaf " << this | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h: In member function ‘void stxxl::btree::normal_leaf::save()’: /usr/include/stxxl/bits/containers/btree/leaf.h:240:9: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 240 | request_ptr req = m_block->write(my_bid()); | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/containers/btree/leaf.h:241:9: error: ‘req’ was not declared in this scope 241 | req->wait(); | ^~~ /usr/include/stxxl/bits/containers/btree/leaf.h: In member function ‘std::pair, bool> stxxl::btree::normal_leaf::insert(const value_type&, int&)’: /usr/include/stxxl/bits/containers/btree/leaf.h:307:18: error: request for member ‘first’ in ‘splitter’, which is of non-class type ‘int’ 307 | splitter.first = key_compare::max_value(); | ^~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:328:14: error: ‘vector’ is not a member of ‘std’ 328 | std::vector iterators2fix; | ^~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:328:14: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/btree/leaf.h:328:34: error: expected primary-expression before ‘*’ token 328 | std::vector iterators2fix; | ^ /usr/include/stxxl/bits/containers/btree/leaf.h:328:35: error: expected primary-expression before ‘>’ token 328 | std::vector iterators2fix; | ^ /usr/include/stxxl/bits/containers/btree/leaf.h:328:37: error: ‘iterators2fix’ was not declared in this scope 328 | std::vector iterators2fix; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:330:23: error: ‘vector’ in namespace ‘std’ does not name a template type 330 | typename std::vector::iterator it2fix = iterators2fix.begin(); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:330:23: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/btree/leaf.h:330:29: error: expected unqualified-id before ‘<’ token 330 | typename std::vector::iterator it2fix = iterators2fix.begin(); | ^ /usr/include/stxxl/bits/containers/btree/leaf.h:331:17: error: ‘it2fix’ was not declared in this scope 331 | for ( ; it2fix != iterators2fix.end(); ++it2fix) | ^~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h: In member function ‘stxxl::btree::normal_leaf::size_type stxxl::btree::normal_leaf::erase(const key_type&)’: /usr/include/stxxl/bits/containers/btree/leaf.h:519:14: error: ‘vector’ is not a member of ‘std’ 519 | std::vector iterators2fix; | ^~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:519:14: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/btree/leaf.h:519:34: error: expected primary-expression before ‘*’ token 519 | std::vector iterators2fix; | ^ /usr/include/stxxl/bits/containers/btree/leaf.h:519:35: error: expected primary-expression before ‘>’ token 519 | std::vector iterators2fix; | ^ /usr/include/stxxl/bits/containers/btree/leaf.h:519:37: error: ‘iterators2fix’ was not declared in this scope 519 | std::vector iterators2fix; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:521:23: error: ‘vector’ in namespace ‘std’ does not name a template type 521 | typename std::vector::iterator it2fix = iterators2fix.begin(); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:521:23: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/btree/leaf.h:521:29: error: expected unqualified-id before ‘<’ token 521 | typename std::vector::iterator it2fix = iterators2fix.begin(); | ^ /usr/include/stxxl/bits/containers/btree/leaf.h:522:17: error: ‘it2fix’ was not declared in this scope 522 | for ( ; it2fix != iterators2fix.end(); ++it2fix) | ^~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h: In member function ‘void stxxl::btree::normal_leaf::fuse(const stxxl::btree::normal_leaf&)’: /usr/include/stxxl/bits/containers/btree/leaf.h:551:14: error: ‘vector’ is not a member of ‘std’ 551 | std::vector iterators2fix; | ^~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:551:14: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/btree/leaf.h:551:34: error: expected primary-expression before ‘*’ token 551 | std::vector iterators2fix; | ^ /usr/include/stxxl/bits/containers/btree/leaf.h:551:35: error: expected primary-expression before ‘>’ token 551 | std::vector iterators2fix; | ^ /usr/include/stxxl/bits/containers/btree/leaf.h:551:37: error: ‘iterators2fix’ was not declared in this scope 551 | std::vector iterators2fix; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:553:23: error: ‘vector’ in namespace ‘std’ does not name a template type 553 | typename std::vector::iterator it2fix = iterators2fix.begin(); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:553:23: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/btree/leaf.h:553:29: error: expected unqualified-id before ‘<’ token 553 | typename std::vector::iterator it2fix = iterators2fix.begin(); | ^ /usr/include/stxxl/bits/containers/btree/leaf.h:554:17: error: ‘it2fix’ was not declared in this scope 554 | for ( ; it2fix != iterators2fix.end(); ++it2fix) | ^~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:565:14: error: ‘it2fix’ was not declared in this scope 565 | for (it2fix = iterators2fix.begin(); it2fix != iterators2fix.end(); ++it2fix) | ^~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h: In member function ‘stxxl::btree::normal_leaf::key_type stxxl::btree::normal_leaf::balance(stxxl::btree::normal_leaf&)’: /usr/include/stxxl/bits/containers/btree/leaf.h:616:18: error: ‘vector’ is not a member of ‘std’ 616 | std::vector iterators2fix1; | ^~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:616:18: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/btree/leaf.h:616:38: error: expected primary-expression before ‘*’ token 616 | std::vector iterators2fix1; | ^ /usr/include/stxxl/bits/containers/btree/leaf.h:616:39: error: expected primary-expression before ‘>’ token 616 | std::vector iterators2fix1; | ^ /usr/include/stxxl/bits/containers/btree/leaf.h:616:41: error: ‘iterators2fix1’ was not declared in this scope 616 | std::vector iterators2fix1; | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:617:18: error: ‘vector’ is not a member of ‘std’ 617 | std::vector iterators2fix2; | ^~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:617:18: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/btree/leaf.h:617:38: error: expected primary-expression before ‘*’ token 617 | std::vector iterators2fix2; | ^ /usr/include/stxxl/bits/containers/btree/leaf.h:617:39: error: expected primary-expression before ‘>’ token 617 | std::vector iterators2fix2; | ^ /usr/include/stxxl/bits/containers/btree/leaf.h:617:41: error: ‘iterators2fix2’ was not declared in this scope 617 | std::vector iterators2fix2; | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:621:27: error: ‘vector’ in namespace ‘std’ does not name a template type 621 | typename std::vector::iterator it2fix = iterators2fix1.begin(); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:621:27: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/btree/leaf.h:621:33: error: expected unqualified-id before ‘<’ token 621 | typename std::vector::iterator it2fix = iterators2fix1.begin(); | ^ /usr/include/stxxl/bits/containers/btree/leaf.h:622:21: error: ‘it2fix’ was not declared in this scope 622 | for ( ; it2fix != iterators2fix1.end(); ++it2fix) | ^~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:631:13: error: ‘it2fix’ was not declared in this scope 631 | it2fix = iterators2fix2.begin(); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:655:18: error: ‘vector’ is not a member of ‘std’ 655 | std::vector iterators2fix1; | ^~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:655:18: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/btree/leaf.h:655:38: error: expected primary-expression before ‘*’ token 655 | std::vector iterators2fix1; | ^ /usr/include/stxxl/bits/containers/btree/leaf.h:655:39: error: expected primary-expression before ‘>’ token 655 | std::vector iterators2fix1; | ^ /usr/include/stxxl/bits/containers/btree/leaf.h:655:41: error: ‘iterators2fix1’ was not declared in this scope 655 | std::vector iterators2fix1; | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:656:18: error: ‘vector’ is not a member of ‘std’ 656 | std::vector iterators2fix2; | ^~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:656:18: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/btree/leaf.h:656:38: error: expected primary-expression before ‘*’ token 656 | std::vector iterators2fix2; | ^ /usr/include/stxxl/bits/containers/btree/leaf.h:656:39: error: expected primary-expression before ‘>’ token 656 | std::vector iterators2fix2; | ^ /usr/include/stxxl/bits/containers/btree/leaf.h:656:41: error: ‘iterators2fix2’ was not declared in this scope 656 | std::vector iterators2fix2; | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:660:27: error: ‘vector’ in namespace ‘std’ does not name a template type 660 | typename std::vector::iterator it2fix = iterators2fix1.begin(); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:660:27: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/btree/leaf.h:660:33: error: expected unqualified-id before ‘<’ token 660 | typename std::vector::iterator it2fix = iterators2fix1.begin(); | ^ /usr/include/stxxl/bits/containers/btree/leaf.h:661:21: error: ‘it2fix’ was not declared in this scope 661 | for ( ; it2fix != iterators2fix1.end(); ++it2fix) | ^~~~~~ /usr/include/stxxl/bits/containers/btree/leaf.h:670:13: error: ‘it2fix’ was not declared in this scope 670 | it2fix = iterators2fix2.begin(); | ^~~~~~ In file included from /usr/include/stxxl/bits/containers/btree/btree.h:23: /usr/include/stxxl/bits/containers/btree/node.h: At global scope: /usr/include/stxxl/bits/containers/btree/node.h:40:13: error: ‘BID’ does not name a type 40 | typedef BID bid_type; | ^~~ /usr/include/stxxl/bits/containers/btree/node.h:41:13: error: ‘bid_type’ does not name a type 41 | typedef bid_type node_bid_type; | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:43:33: error: ‘bid_type’ was not declared in this scope 43 | typedef std::pair value_type; | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:43:41: error: template argument 2 is invalid 43 | typedef std::pair value_type; | ^ /usr/include/stxxl/bits/containers/btree/node.h:49:9: error: ‘bid_type’ does not name a type 49 | bid_type me; | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:91:25: error: ‘bid_type’ was not declared in this scope 91 | std::pair insert(const std::pair& splitter, | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:91:33: error: template argument 2 is invalid 91 | std::pair insert(const std::pair& splitter, | ^ /usr/include/stxxl/bits/containers/btree/node.h:91:68: error: ‘bid_type’ was not declared in this scope 91 | std::pair insert(const std::pair& splitter, | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:91:76: error: template argument 2 is invalid 91 | std::pair insert(const std::pair& splitter, | ^ /usr/include/stxxl/bits/containers/btree/node.h:258:5: error: ‘bid_type’ does not name a type 258 | bid_type my_bid() const | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:269:5: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 269 | request_ptr load(const bid_type& bid) | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/containers/btree/node.h:277:5: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 277 | request_ptr prefetch(const bid_type& bid) | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/containers/btree/node.h:282:21: error: ‘bid_type’ does not name a type 282 | void init(const bid_type& my_bid_) | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:320:32: error: ‘bid_type’ was not declared in this scope 320 | std::pair& splitter) | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:320:40: error: template argument 2 is invalid 320 | std::pair& splitter) | ^ /usr/include/stxxl/bits/containers/btree/node.h: In member function ‘bool stxxl::btree::normal_node::value_compare::operator()(const stxxl::btree::normal_node::value_type&, const stxxl::btree::normal_node::value_type&) const’: /usr/include/stxxl/bits/containers/btree/node.h:82:27: error: request for member ‘first’ in ‘x’, which is of non-class type ‘const stxxl::btree::normal_node::value_type’ {aka ‘const int’} 82 | return comp(x.first, y.first); | ^~~~~ /usr/include/stxxl/bits/containers/btree/node.h:82:36: error: request for member ‘first’ in ‘y’, which is of non-class type ‘const stxxl::btree::normal_node::value_type’ {aka ‘const int’} 82 | return comp(x.first, y.first); | ^~~~~ /usr/include/stxxl/bits/containers/btree/node.h: In member function ‘int stxxl::btree::normal_node::insert(const int&, const block_iterator&)’: /usr/include/stxxl/bits/containers/btree/node.h:94:29: error: ‘bid_type’ was not declared in this scope 94 | std::pair result(key_compare::max_value(), bid_type()); | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:94:37: error: template argument 2 is invalid 94 | std::pair result(key_compare::max_value(), bid_type()); | ^ /usr/include/stxxl/bits/containers/btree/node.h:112:22: error: expected ‘;’ before ‘new_bid’ 112 | bid_type new_bid; | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:113:48: error: ‘new_bid’ was not declared in this scope 113 | m_btree->m_node_cache.get_new_node(new_bid); // new (left) node | ^~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:119:20: error: request for member ‘first’ in ‘result’, which is of non-class type ‘int’ 119 | result.first = ((*m_block)[end_of_smaller_part - 1]).first; | ^~~~~ /usr/include/stxxl/bits/containers/btree/node.h:120:20: error: request for member ‘second’ in ‘result’, which is of non-class type ‘int’ 120 | result.second = new_bid; | ^~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:134:13: error: request for member ‘first’ in ‘result’, which is of non-class type ‘int’ 134 | STXXL_VERBOSE1("btree::normal_node split leaf " << this | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h: In member function ‘void stxxl::btree::normal_node::save()’: /usr/include/stxxl/bits/containers/btree/node.h:265:9: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 265 | request_ptr req = m_block->write(my_bid()); | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/containers/btree/node.h:266:9: error: ‘req’ was not declared in this scope 266 | req->wait(); | ^~~ /usr/include/stxxl/bits/containers/btree/node.h: In member function ‘std::pair stxxl::btree::normal_node::insert(const btree_value_type&, unsigned int, int&)’: /usr/include/stxxl/bits/containers/btree/node.h:323:18: error: request for member ‘first’ in ‘splitter’, which is of non-class type ‘int’ 323 | splitter.first = key_compare::max_value(); | ^~~~~ /usr/include/stxxl/bits/containers/btree/node.h:356:63: error: ‘node_bid_type’ was not declared in this scope; did you mean ‘node_type’? 356 | node_type* node = m_btree->m_node_cache.get_node((node_bid_type)it->second, true); | ^~~~~~~~~~~~~ | node_type /usr/include/stxxl/bits/containers/btree/node.h:360:61: error: expected ‘)’ before ‘it’ 360 | m_btree->m_node_cache.unfix_node((node_bid_type)it->second); | ^~ /usr/include/stxxl/bits/containers/btree/node.h:360:45: note: to match this ‘(’ 360 | m_btree->m_node_cache.unfix_node((node_bid_type)it->second); | ^ /usr/include/stxxl/bits/containers/btree/node.h:362:64: error: request for member ‘first’ in ‘bot_splitter’, which is of non-class type ‘int’ 362 | if (!(m_cmp(key_compare::max_value(), bot_splitter.first) || | ^~~~~ /usr/include/stxxl/bits/containers/btree/node.h:363:38: error: request for member ‘first’ in ‘bot_splitter’, which is of non-class type ‘int’ 363 | m_cmp(bot_splitter.first, key_compare::max_value()))) | ^~~~~ /usr/include/stxxl/bits/containers/btree/node.h: In member function ‘stxxl::btree::normal_node::iterator stxxl::btree::normal_node::begin(unsigned int)’: /usr/include/stxxl/bits/containers/btree/node.h:377:9: error: ‘bid_type’ was not declared in this scope 377 | bid_type first_bid = m_block->begin()->second; | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:382:77: error: ‘first_bid’ was not declared in this scope 382 | leaf_type* leaf = m_btree->m_leaf_cache.get_node((leaf_bid_type)first_bid); | ^~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:389:63: error: ‘node_bid_type’ was not declared in this scope; did you mean ‘node_type’? 389 | node_type* node = m_btree->m_node_cache.get_node((node_bid_type)first_bid, true); | ^~~~~~~~~~~~~ | node_type /usr/include/stxxl/bits/containers/btree/node.h:392:61: error: expected ‘)’ before ‘first_bid’ 392 | m_btree->m_node_cache.unfix_node((node_bid_type)first_bid); | ^~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:392:45: note: to match this ‘(’ 392 | m_btree->m_node_cache.unfix_node((node_bid_type)first_bid); | ^ /usr/include/stxxl/bits/containers/btree/node.h: In member function ‘stxxl::btree::normal_node::const_iterator stxxl::btree::normal_node::begin(unsigned int) const’: /usr/include/stxxl/bits/containers/btree/node.h:399:9: error: ‘bid_type’ was not declared in this scope 399 | bid_type FirstBid = m_block->begin()->second; | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:404:89: error: ‘FirstBid’ was not declared in this scope 404 | const leaf_type* leaf = m_btree->m_leaf_cache.get_const_node((leaf_bid_type)FirstBid); | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:411:75: error: ‘node_bid_type’ was not declared in this scope; did you mean ‘node_type’? 411 | const node_type* node = m_btree->m_node_cache.get_const_node((node_bid_type)FirstBid, true); | ^~~~~~~~~~~~~ | node_type /usr/include/stxxl/bits/containers/btree/node.h:414:61: error: expected ‘)’ before ‘FirstBid’ 414 | m_btree->m_node_cache.unfix_node((node_bid_type)FirstBid); | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:414:45: note: to match this ‘(’ 414 | m_btree->m_node_cache.unfix_node((node_bid_type)FirstBid); | ^ /usr/include/stxxl/bits/containers/btree/node.h: In member function ‘stxxl::btree::normal_node::iterator stxxl::btree::normal_node::find(const key_type&, unsigned int)’: /usr/include/stxxl/bits/containers/btree/node.h:428:9: error: ‘bid_type’ was not declared in this scope 428 | bid_type found_bid = it->second; | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:433:77: error: ‘found_bid’ was not declared in this scope 433 | leaf_type* leaf = m_btree->m_leaf_cache.get_node((leaf_bid_type)found_bid, true); | ^~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:443:59: error: ‘node_bid_type’ was not declared in this scope; did you mean ‘node_type’? 443 | node_type* node = m_btree->m_node_cache.get_node((node_bid_type)found_bid, true); | ^~~~~~~~~~~~~ | node_type /usr/include/stxxl/bits/containers/btree/node.h:446:57: error: expected ‘)’ before ‘found_bid’ 446 | m_btree->m_node_cache.unfix_node((node_bid_type)found_bid); | ^~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:446:41: note: to match this ‘(’ 446 | m_btree->m_node_cache.unfix_node((node_bid_type)found_bid); | ^ /usr/include/stxxl/bits/containers/btree/node.h: In member function ‘stxxl::btree::normal_node::const_iterator stxxl::btree::normal_node::find(const key_type&, unsigned int) const’: /usr/include/stxxl/bits/containers/btree/node.h:460:9: error: ‘bid_type’ was not declared in this scope 460 | bid_type found_bid = it->second; | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:465:89: error: ‘found_bid’ was not declared in this scope 465 | const leaf_type* leaf = m_btree->m_leaf_cache.get_const_node((leaf_bid_type)found_bid, true); | ^~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:475:71: error: ‘node_bid_type’ was not declared in this scope; did you mean ‘node_type’? 475 | const node_type* node = m_btree->m_node_cache.get_const_node((node_bid_type)found_bid, true); | ^~~~~~~~~~~~~ | node_type /usr/include/stxxl/bits/containers/btree/node.h:478:57: error: expected ‘)’ before ‘found_bid’ 478 | m_btree->m_node_cache.unfix_node((node_bid_type)found_bid); | ^~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:478:41: note: to match this ‘(’ 478 | m_btree->m_node_cache.unfix_node((node_bid_type)found_bid); | ^ /usr/include/stxxl/bits/containers/btree/node.h: In member function ‘stxxl::btree::normal_node::iterator stxxl::btree::normal_node::lower_bound(const key_type&, unsigned int)’: /usr/include/stxxl/bits/containers/btree/node.h:492:9: error: ‘bid_type’ was not declared in this scope 492 | bid_type found_bid = it->second; | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:497:77: error: ‘found_bid’ was not declared in this scope 497 | leaf_type* leaf = m_btree->m_leaf_cache.get_node((leaf_bid_type)found_bid, true); | ^~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:507:59: error: ‘node_bid_type’ was not declared in this scope; did you mean ‘node_type’? 507 | node_type* node = m_btree->m_node_cache.get_node((node_bid_type)found_bid, true); | ^~~~~~~~~~~~~ | node_type /usr/include/stxxl/bits/containers/btree/node.h:510:57: error: expected ‘)’ before ‘found_bid’ 510 | m_btree->m_node_cache.unfix_node((node_bid_type)found_bid); | ^~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:510:41: note: to match this ‘(’ 510 | m_btree->m_node_cache.unfix_node((node_bid_type)found_bid); | ^ /usr/include/stxxl/bits/containers/btree/node.h: In member function ‘stxxl::btree::normal_node::const_iterator stxxl::btree::normal_node::lower_bound(const key_type&, unsigned int) const’: /usr/include/stxxl/bits/containers/btree/node.h:524:9: error: ‘bid_type’ was not declared in this scope 524 | bid_type found_bid = it->second; | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:529:89: error: ‘found_bid’ was not declared in this scope 529 | const leaf_type* leaf = m_btree->m_leaf_cache.get_const_node((leaf_bid_type)found_bid, true); | ^~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:539:71: error: ‘node_bid_type’ was not declared in this scope; did you mean ‘node_type’? 539 | const node_type* node = m_btree->m_node_cache.get_const_node((node_bid_type)found_bid, true); | ^~~~~~~~~~~~~ | node_type /usr/include/stxxl/bits/containers/btree/node.h:542:57: error: expected ‘)’ before ‘found_bid’ 542 | m_btree->m_node_cache.unfix_node((node_bid_type)found_bid); | ^~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:542:41: note: to match this ‘(’ 542 | m_btree->m_node_cache.unfix_node((node_bid_type)found_bid); | ^ /usr/include/stxxl/bits/containers/btree/node.h: In member function ‘stxxl::btree::normal_node::iterator stxxl::btree::normal_node::upper_bound(const key_type&, unsigned int)’: /usr/include/stxxl/bits/containers/btree/node.h:556:9: error: ‘bid_type’ was not declared in this scope 556 | bid_type found_bid = it->second; | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:561:77: error: ‘found_bid’ was not declared in this scope 561 | leaf_type* leaf = m_btree->m_leaf_cache.get_node((leaf_bid_type)found_bid, true); | ^~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:571:59: error: ‘node_bid_type’ was not declared in this scope; did you mean ‘node_type’? 571 | node_type* node = m_btree->m_node_cache.get_node((node_bid_type)found_bid, true); | ^~~~~~~~~~~~~ | node_type /usr/include/stxxl/bits/containers/btree/node.h:574:57: error: expected ‘)’ before ‘found_bid’ 574 | m_btree->m_node_cache.unfix_node((node_bid_type)found_bid); | ^~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:574:41: note: to match this ‘(’ 574 | m_btree->m_node_cache.unfix_node((node_bid_type)found_bid); | ^ /usr/include/stxxl/bits/containers/btree/node.h: In member function ‘stxxl::btree::normal_node::const_iterator stxxl::btree::normal_node::upper_bound(const key_type&, unsigned int) const’: /usr/include/stxxl/bits/containers/btree/node.h:588:9: error: ‘bid_type’ was not declared in this scope 588 | bid_type found_bid = it->second; | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:593:89: error: ‘found_bid’ was not declared in this scope 593 | const leaf_type* leaf = m_btree->m_leaf_cache.get_const_node((leaf_bid_type)found_bid, true); | ^~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:603:71: error: ‘node_bid_type’ was not declared in this scope; did you mean ‘node_type’? 603 | const node_type* node = m_btree->m_node_cache.get_const_node((node_bid_type)found_bid, true); | ^~~~~~~~~~~~~ | node_type /usr/include/stxxl/bits/containers/btree/node.h:606:57: error: expected ‘)’ before ‘found_bid’ 606 | m_btree->m_node_cache.unfix_node((node_bid_type)found_bid); | ^~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:606:41: note: to match this ‘(’ 606 | m_btree->m_node_cache.unfix_node((node_bid_type)found_bid); | ^ /usr/include/stxxl/bits/containers/btree/node.h: In member function ‘stxxl::btree::normal_node::size_type stxxl::btree::normal_node::erase(const key_type&, unsigned int)’: /usr/include/stxxl/bits/containers/btree/node.h:687:9: error: ‘bid_type’ was not declared in this scope 687 | bid_type found_bid = it->second; | ^~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:694:77: error: ‘found_bid’ was not declared in this scope 694 | leaf_type* leaf = m_btree->m_leaf_cache.get_node((leaf_bid_type)found_bid, true); | ^~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:710:59: error: ‘node_bid_type’ was not declared in this scope; did you mean ‘node_type’? 710 | node_type* node = m_btree->m_node_cache.get_node((node_bid_type)found_bid, true); | ^~~~~~~~~~~~~ | node_type /usr/include/stxxl/bits/containers/btree/node.h:713:57: error: expected ‘)’ before ‘found_bid’ 713 | m_btree->m_node_cache.unfix_node((node_bid_type)found_bid); | ^~~~~~~~~ /usr/include/stxxl/bits/containers/btree/node.h:713:41: note: to match this ‘(’ 713 | m_btree->m_node_cache.unfix_node((node_bid_type)found_bid); | ^ /usr/include/stxxl/bits/containers/btree/node.h: In member function ‘void stxxl::btree::normal_node::deallocate_children(unsigned int)’: /usr/include/stxxl/bits/containers/btree/node.h:741:67: error: ‘node_bid_type’ was not declared in this scope; did you mean ‘node_type’? 741 | node_type* node = m_btree->m_node_cache.get_node((node_bid_type)it->second); | ^~~~~~~~~~~~~ | node_type /usr/include/stxxl/bits/containers/btree/node.h:745:66: error: expected ‘)’ before ‘it’ 745 | m_btree->m_node_cache.delete_node((node_bid_type)it->second); | ^~ /usr/include/stxxl/bits/containers/btree/node.h:745:50: note: to match this ‘(’ 745 | m_btree->m_node_cache.delete_node((node_bid_type)it->second); | ^ /usr/include/stxxl/bits/containers/btree/btree.h: At global scope: /usr/include/stxxl/bits/containers/btree/btree.h:95:5: error: ‘block_manager’ does not name a type 95 | block_manager* m_bm; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/btree.h:98:18: error: ‘map’ in namespace ‘std’ does not name a template type 98 | typedef std::map root_node_type; | ^~~ /usr/include/stxxl/bits/containers/btree/btree.h:25:1: note: ‘std::map’ is defined in header ‘’; did you forget to ‘#include ’? 24 | #include +++ |+#include 25 | /usr/include/stxxl/bits/containers/btree/btree.h:99:22: error: ‘root_node_type’ has not been declared 99 | typedef typename root_node_type::iterator root_node_iterator_type; | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/btree.h:100:22: error: ‘root_node_type’ has not been declared 100 | typedef typename root_node_type::const_iterator root_node_const_iterator_type; | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/btree.h:103:5: error: ‘root_node_type’ does not name a type; did you mean ‘node_type’? 103 | root_node_type m_root_node; | ^~~~~~~~~~~~~~ | node_type /usr/include/stxxl/bits/containers/btree/btree.h: In member function ‘void stxxl::btree::btree::insert_into_root(const std::pair >::bid_type>&)’: /usr/include/stxxl/bits/containers/btree/btree.h:109:13: error: ‘m_root_node’ was not declared in this scope; did you mean ‘root_node’? 109 | m_root_node.insert(splitter); | ^~~~~~~~~~~ | root_node /usr/include/stxxl/bits/containers/btree/btree.h:130:29: error: invalid type argument of unary ‘*’ (have ‘stxxl::btree::btree::root_node_iterator_type’ {aka ‘int’}) 130 | *block_it = *it; | ^~~ /usr/include/stxxl/bits/containers/btree/btree.h:141:29: error: invalid type argument of unary ‘*’ (have ‘stxxl::btree::btree::root_node_iterator_type’ {aka ‘int’}) 141 | *block_it = *it; | ^~~ /usr/include/stxxl/bits/containers/btree/btree.h: In member function ‘void stxxl::btree::btree::fuse_or_balance(root_node_iterator_type, CacheType&)’: /usr/include/stxxl/bits/containers/btree/btree.h:173:16: error: base operand of ‘->’ is not a pointer 173 | if (uit->first == key_compare::max_value()) | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:176:13: error: ‘m_root_node’ was not declared in this scope; did you mean ‘root_node’? 176 | assert(uit != m_root_node.begin()); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/btree.h:184:13: error: ‘m_root_node’ was not declared in this scope; did you mean ‘root_node’? 184 | assert(right_it != m_root_node.end()); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/btree.h:188:58: error: base operand of ‘->’ is not a pointer 188 | local_bid_type left_bid = (local_bid_type)left_it->second; | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:189:60: error: base operand of ‘->’ is not a pointer 189 | local_bid_type right_bid = (local_bid_type)right_it->second; | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:206:13: error: ‘m_root_node’ was not declared in this scope; did you mean ‘root_node’? 206 | m_root_node.erase(left_it); | ^~~~~~~~~~~ | root_node /usr/include/stxxl/bits/containers/btree/btree.h:215:13: error: ‘m_root_node’ was not declared in this scope; did you mean ‘root_node’? 215 | m_root_node.erase(left_it); | ^~~~~~~~~~~ | root_node /usr/include/stxxl/bits/containers/btree/btree.h: In member function ‘void stxxl::btree::btree::create_empty_leaf()’: /usr/include/stxxl/bits/containers/btree/btree.h:231:9: error: ‘m_root_node’ was not declared in this scope; did you mean ‘root_node’? 231 | m_root_node.insert( | ^~~~~~~~~~~ | root_node /usr/include/stxxl/bits/containers/btree/btree.h: In member function ‘void stxxl::btree::btree::deallocate_children()’: /usr/include/stxxl/bits/containers/btree/btree.h:241:53: error: ‘m_root_node’ was not declared in this scope; did you mean ‘root_node’? 241 | for (root_node_const_iterator_type it = m_root_node.begin(); | ^~~~~~~~~~~ | root_node /usr/include/stxxl/bits/containers/btree/btree.h:245:59: error: base operand of ‘->’ is not a pointer 245 | m_leaf_cache.delete_node((leaf_bid_type)it->second); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:250:53: error: ‘m_root_node’ was not declared in this scope; did you mean ‘root_node’? 250 | for (root_node_const_iterator_type it = m_root_node.begin(); | ^~~~~~~~~~~ | root_node /usr/include/stxxl/bits/containers/btree/btree.h:253:74: error: base operand of ‘->’ is not a pointer 253 | node_type* node = m_node_cache.get_node((node_bid_type)it->second); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:257:59: error: base operand of ‘->’ is not a pointer 257 | m_node_cache.delete_node((node_bid_type)it->second); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h: In member function ‘void stxxl::btree::btree::bulk_construction(InputIterator, InputIterator, double, double)’: /usr/include/stxxl/bits/containers/btree/btree.h:271:33: error: ‘VECTOR_GENERATOR’ in namespace ‘stxxl’ does not name a template type 271 | typedef typename stxxl::VECTOR_GENERATOR< | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/btree.h:271:49: error: expected unqualified-id before ‘<’ token 271 | typedef typename stxxl::VECTOR_GENERATOR< | ^ /usr/include/stxxl/bits/containers/btree/btree.h:275:9: error: ‘key_bid_vector_type’ was not declared in this scope 275 | key_bid_vector_type bids; | ^~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/btree.h:294:21: error: ‘bids’ was not declared in this scope 294 | bids.push_back(key_bid_pair(leaf->back().first, (node_bid_type)new_bid)); | ^~~~ /usr/include/stxxl/bits/containers/btree/btree.h:311:36: error: ‘bids’ was not declared in this scope 311 | if (leaf->underflows() && !bids.empty()) | ^~~~ /usr/include/stxxl/bits/containers/btree/btree.h:336:9: error: ‘bids’ was not declared in this scope 336 | bids.push_back(key_bid_pair(key_compare::max_value(), (node_bid_type)new_bid)); | ^~~~ /usr/include/stxxl/bits/containers/btree/btree.h:345:33: error: expected ‘;’ before ‘parent_bids’ 345 | key_bid_vector_type parent_bids; | ^~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/btree.h:355:46: error: expected ‘;’ before ‘::’ token 355 | for (typename key_bid_vector_type::const_iterator it = bids.begin(); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:355:48: error: ‘::const_iterator’ has not been declared 355 | for (typename key_bid_vector_type::const_iterator it = bids.begin(); | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/btree.h:355:63: error: expected ‘;’ before ‘it’ 355 | for (typename key_bid_vector_type::const_iterator it = bids.begin(); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:355:63: error: ‘it’ was not declared in this scope; did you mean ‘int’? 355 | for (typename key_bid_vector_type::const_iterator it = bids.begin(); | ^~ | int /usr/include/stxxl/bits/containers/btree/btree.h:355:80: error: expected ‘)’ before ‘;’ token 355 | for (typename key_bid_vector_type::const_iterator it = bids.begin(); | ^ /usr/include/stxxl/bits/containers/btree/btree.h:355:17: note: to match this ‘(’ 355 | for (typename key_bid_vector_type::const_iterator it = bids.begin(); | ^ /usr/include/stxxl/bits/containers/btree/btree.h:356:18: error: ‘it’ was not declared in this scope; did you mean ‘int’? 356 | it != bids.end(); ) | ^~ | int /usr/include/stxxl/bits/containers/btree/btree.h:356:36: error: expected primary-expression before ‘)’ token 356 | it != bids.end(); ) | ^ /usr/include/stxxl/bits/containers/btree/btree.h:411:13: error: ‘parent_bids’ was not declared in this scope 411 | STXXL_VERBOSE1("btree parent_bids.size()=" << parent_bids.size() | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/btree.h:414:23: error: ‘parent_bids’ was not declared in this scope 414 | std::swap(parent_bids, bids); | ^~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/btree.h:427:9: error: ‘m_root_node’ was not declared in this scope; did you mean ‘root_node’? 427 | m_root_node.insert(bids.begin(), bids.end()); | ^~~~~~~~~~~ | root_node /usr/include/stxxl/bits/containers/btree/btree.h: In constructor ‘stxxl::btree::btree::btree(stxxl::unsigned_type, stxxl::unsigned_type)’: /usr/include/stxxl/bits/containers/btree/btree.h:441:11: error: class ‘stxxl::btree::btree’ does not have any field named ‘m_bm’ 441 | m_bm(block_manager::get_instance()) | ^~~~ /usr/include/stxxl/bits/containers/btree/btree.h:441:16: error: ‘block_manager’ has not been declared 441 | m_bm(block_manager::get_instance()) | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/btree.h: In constructor ‘stxxl::btree::btree::btree(const key_compare&, stxxl::unsigned_type, stxxl::unsigned_type)’: /usr/include/stxxl/bits/containers/btree/btree.h:464:11: error: class ‘stxxl::btree::btree’ does not have any field named ‘m_bm’ 464 | m_bm(block_manager::get_instance()) | ^~~~ /usr/include/stxxl/bits/containers/btree/btree.h:464:16: error: ‘block_manager’ has not been declared 464 | m_bm(block_manager::get_instance()) | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/btree.h: In member function ‘std::pair >, bool> stxxl::btree::btree::insert(const value_type&)’: /usr/include/stxxl/bits/containers/btree/btree.h:502:38: error: ‘m_root_node’ was not declared in this scope; did you mean ‘root_node’? 502 | root_node_iterator_type it = m_root_node.lower_bound(x.first); | ^~~~~~~~~~~ | root_node /usr/include/stxxl/bits/containers/btree/btree.h:509:70: error: base operand of ‘->’ is not a pointer 509 | leaf_type* leaf = m_leaf_cache.get_node((leaf_bid_type)it->second, true); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:516:54: error: base operand of ‘->’ is not a pointer 516 | m_leaf_cache.unfix_node((leaf_bid_type)it->second); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:534:66: error: base operand of ‘->’ is not a pointer 534 | node_type* node = m_node_cache.get_node((node_bid_type)it->second, true); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:541:50: error: base operand of ‘->’ is not a pointer 541 | m_node_cache.unfix_node((node_bid_type)it->second); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h: In member function ‘stxxl::btree::btree::iterator stxxl::btree::btree::begin()’: /usr/include/stxxl/bits/containers/btree/btree.h:560:38: error: ‘m_root_node’ was not declared in this scope; did you mean ‘root_node’? 560 | root_node_iterator_type it = m_root_node.begin(); | ^~~~~~~~~~~ | root_node /usr/include/stxxl/bits/containers/btree/btree.h:566:70: error: base operand of ‘->’ is not a pointer 566 | leaf_type* leaf = m_leaf_cache.get_node((leaf_bid_type)it->second); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:576:66: error: base operand of ‘->’ is not a pointer 576 | node_type* node = m_node_cache.get_node((node_bid_type)it->second, true); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:579:50: error: base operand of ‘->’ is not a pointer 579 | m_node_cache.unfix_node((node_bid_type)it->second); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h: In member function ‘stxxl::btree::btree::const_iterator stxxl::btree::btree::begin() const’: /usr/include/stxxl/bits/containers/btree/btree.h:589:44: error: ‘m_root_node’ was not declared in this scope; did you mean ‘root_node’? 589 | root_node_const_iterator_type it = m_root_node.begin(); | ^~~~~~~~~~~ | root_node /usr/include/stxxl/bits/containers/btree/btree.h:595:82: error: base operand of ‘->’ is not a pointer 595 | const leaf_type* leaf = m_leaf_cache.get_const_node((leaf_bid_type)it->second); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:604:78: error: base operand of ‘->’ is not a pointer 604 | const node_type* node = m_node_cache.get_const_node((node_bid_type)it->second, true); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:607:50: error: base operand of ‘->’ is not a pointer 607 | m_node_cache.unfix_node((node_bid_type)it->second); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h: In member function ‘stxxl::btree::btree::iterator stxxl::btree::btree::find(const key_type&)’: /usr/include/stxxl/bits/containers/btree/btree.h:630:38: error: ‘m_root_node’ was not declared in this scope; did you mean ‘root_node’? 630 | root_node_iterator_type it = m_root_node.lower_bound(k); | ^~~~~~~~~~~ | root_node /usr/include/stxxl/bits/containers/btree/btree.h:636:70: error: base operand of ‘->’ is not a pointer 636 | leaf_type* leaf = m_leaf_cache.get_node((leaf_bid_type)it->second, true); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:639:54: error: base operand of ‘->’ is not a pointer 639 | m_leaf_cache.unfix_node((leaf_bid_type)it->second); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:648:66: error: base operand of ‘->’ is not a pointer 648 | node_type* node = m_node_cache.get_node((node_bid_type)it->second, true); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:651:50: error: base operand of ‘->’ is not a pointer 651 | m_node_cache.unfix_node((node_bid_type)it->second); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h: In member function ‘stxxl::btree::btree::const_iterator stxxl::btree::btree::find(const key_type&) const’: /usr/include/stxxl/bits/containers/btree/btree.h:661:44: error: ‘m_root_node’ was not declared in this scope; did you mean ‘root_node’? 661 | root_node_const_iterator_type it = m_root_node.lower_bound(k); | ^~~~~~~~~~~ | root_node /usr/include/stxxl/bits/containers/btree/btree.h:667:82: error: base operand of ‘->’ is not a pointer 667 | const leaf_type* leaf = m_leaf_cache.get_const_node((leaf_bid_type)it->second, true); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:670:54: error: base operand of ‘->’ is not a pointer 670 | m_leaf_cache.unfix_node((leaf_bid_type)it->second); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:679:78: error: base operand of ‘->’ is not a pointer 679 | const node_type* node = m_node_cache.get_const_node((node_bid_type)it->second, true); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:682:50: error: base operand of ‘->’ is not a pointer 682 | m_node_cache.unfix_node((node_bid_type)it->second); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h: In member function ‘stxxl::btree::btree::iterator stxxl::btree::btree::lower_bound(const key_type&)’: /usr/include/stxxl/bits/containers/btree/btree.h:692:38: error: ‘m_root_node’ was not declared in this scope; did you mean ‘root_node’? 692 | root_node_iterator_type it = m_root_node.lower_bound(k); | ^~~~~~~~~~~ | root_node /usr/include/stxxl/bits/containers/btree/btree.h:698:70: error: base operand of ‘->’ is not a pointer 698 | leaf_type* leaf = m_leaf_cache.get_node((leaf_bid_type)it->second, true); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:701:54: error: base operand of ‘->’ is not a pointer 701 | m_leaf_cache.unfix_node((leaf_bid_type)it->second); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:709:66: error: base operand of ‘->’ is not a pointer 709 | node_type* node = m_node_cache.get_node((node_bid_type)it->second, true); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:712:50: error: base operand of ‘->’ is not a pointer 712 | m_node_cache.unfix_node((node_bid_type)it->second); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h: In member function ‘stxxl::btree::btree::const_iterator stxxl::btree::btree::lower_bound(const key_type&) const’: /usr/include/stxxl/bits/containers/btree/btree.h:721:44: error: ‘m_root_node’ was not declared in this scope; did you mean ‘root_node’? 721 | root_node_const_iterator_type it = m_root_node.lower_bound(k); | ^~~~~~~~~~~ | root_node /usr/include/stxxl/bits/containers/btree/btree.h:727:82: error: base operand of ‘->’ is not a pointer 727 | const leaf_type* leaf = m_leaf_cache.get_const_node((leaf_bid_type)it->second, true); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:730:54: error: base operand of ‘->’ is not a pointer 730 | m_leaf_cache.unfix_node((leaf_bid_type)it->second); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:739:78: error: base operand of ‘->’ is not a pointer 739 | const node_type* node = m_node_cache.get_const_node((node_bid_type)it->second, true); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:742:50: error: base operand of ‘->’ is not a pointer 742 | m_node_cache.unfix_node((node_bid_type)it->second); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h: In member function ‘stxxl::btree::btree::iterator stxxl::btree::btree::upper_bound(const key_type&)’: /usr/include/stxxl/bits/containers/btree/btree.h:751:38: error: ‘m_root_node’ was not declared in this scope; did you mean ‘root_node’? 751 | root_node_iterator_type it = m_root_node.upper_bound(k); | ^~~~~~~~~~~ | root_node /usr/include/stxxl/bits/containers/btree/btree.h:757:70: error: base operand of ‘->’ is not a pointer 757 | leaf_type* Leaf = m_leaf_cache.get_node((leaf_bid_type)it->second, true); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:760:54: error: base operand of ‘->’ is not a pointer 760 | m_leaf_cache.unfix_node((leaf_bid_type)it->second); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:769:66: error: base operand of ‘->’ is not a pointer 769 | node_type* Node = m_node_cache.get_node((node_bid_type)it->second, true); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:772:50: error: base operand of ‘->’ is not a pointer 772 | m_node_cache.unfix_node((node_bid_type)it->second); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h: In member function ‘stxxl::btree::btree::const_iterator stxxl::btree::btree::upper_bound(const key_type&) const’: /usr/include/stxxl/bits/containers/btree/btree.h:781:44: error: ‘m_root_node’ was not declared in this scope; did you mean ‘root_node’? 781 | root_node_const_iterator_type it = m_root_node.upper_bound(k); | ^~~~~~~~~~~ | root_node /usr/include/stxxl/bits/containers/btree/btree.h:787:82: error: base operand of ‘->’ is not a pointer 787 | const leaf_type* leaf = m_leaf_cache.get_const_node((leaf_bid_type)it->second, true); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:790:54: error: base operand of ‘->’ is not a pointer 790 | m_leaf_cache.unfix_node((leaf_bid_type)it->second); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:799:78: error: base operand of ‘->’ is not a pointer 799 | const node_type* node = m_node_cache.get_const_node((node_bid_type)it->second, true); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:802:50: error: base operand of ‘->’ is not a pointer 802 | m_node_cache.unfix_node((node_bid_type)it->second); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h: In member function ‘stxxl::btree::btree::size_type stxxl::btree::btree::erase(const key_type&)’: /usr/include/stxxl/bits/containers/btree/btree.h:852:38: error: ‘m_root_node’ was not declared in this scope; did you mean ‘root_node’? 852 | root_node_iterator_type it = m_root_node.lower_bound(k); | ^~~~~~~~~~~ | root_node /usr/include/stxxl/bits/containers/btree/btree.h:858:70: error: base operand of ‘->’ is not a pointer 858 | leaf_type* Leaf = m_leaf_cache.get_node((leaf_bid_type)it->second, true); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:862:54: error: base operand of ‘->’ is not a pointer 862 | m_leaf_cache.unfix_node((leaf_bid_type)it->second); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:882:66: error: base operand of ‘->’ is not a pointer 882 | node_type* node = m_node_cache.get_node((node_bid_type)it->second, true); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:886:50: error: base operand of ‘->’ is not a pointer 886 | m_node_cache.unfix_node((node_bid_type)it->second); | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:901:40: error: base operand of ‘->’ is not a pointer 901 | node_bid_type root_bid = it->second; | ^~ /usr/include/stxxl/bits/containers/btree/btree.h:902:13: error: base operand of ‘->’ is not a pointer 902 | assert(it->first == key_compare::max_value()); | ^~~~~~ /usr/include/stxxl/bits/containers/btree/btree.h: In member function ‘void stxxl::btree::btree::clear()’: /usr/include/stxxl/bits/containers/btree/btree.h:951:9: error: ‘m_root_node’ was not declared in this scope; did you mean ‘root_node’? 951 | m_root_node.clear(); | ^~~~~~~~~~~ | root_node /usr/include/stxxl/bits/containers/btree/btree.h: In constructor ‘stxxl::btree::btree::btree(InputIterator, InputIterator, const key_compare&, stxxl::unsigned_type, stxxl::unsigned_type, bool, double, double)’: /usr/include/stxxl/bits/containers/btree/btree.h:986:11: error: class ‘stxxl::btree::btree’ does not have any field named ‘m_bm’ 986 | m_bm(block_manager::get_instance()) | ^~~~ /usr/include/stxxl/bits/containers/btree/btree.h:986:16: error: ‘block_manager’ has not been declared 986 | m_bm(block_manager::get_instance()) | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/btree.h: In constructor ‘stxxl::btree::btree::btree(InputIterator, InputIterator, stxxl::unsigned_type, stxxl::unsigned_type, bool, double, double)’: /usr/include/stxxl/bits/containers/btree/btree.h:1020:11: error: class ‘stxxl::btree::btree’ does not have any field named ‘m_bm’ 1020 | m_bm(block_manager::get_instance()) | ^~~~ /usr/include/stxxl/bits/containers/btree/btree.h:1020:16: error: ‘block_manager’ has not been declared 1020 | m_bm(block_manager::get_instance()) | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/btree/btree.h: In member function ‘void stxxl::btree::btree::swap(stxxl::btree::btree&)’: /usr/include/stxxl/bits/containers/btree/btree.h:1071:19: error: ‘m_root_node’ was not declared in this scope; did you mean ‘root_node’? 1071 | std::swap(m_root_node, obj.m_root_node); | ^~~~~~~~~~~ | root_node /usr/include/stxxl/bits/containers/map.h: At global scope: /usr/include/stxxl/bits/containers/map.h:80:42: error: ‘SR’ in namespace ‘stxxl’ does not name a type 80 | class PDAllocStrategy = stxxl::SR | ^~ In file included from /usr/include/stxxl/bits/mng/block_manager.h:38: /usr/include/stxxl/bits/io/create_file.h:28:51: error: incomplete type ‘stxxl::file’ used in nested name specifier 28 | int physical_device_id = file::DEFAULT_QUEUE, | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/io/create_file.h:29:50: error: incomplete type ‘stxxl::file’ used in nested name specifier 29 | int disk_allocator_id = file::NO_ALLOCATOR); | ^~~~~~~~~~~~ /usr/include/stxxl/bits/io/create_file.h:36:50: error: incomplete type ‘stxxl::file’ used in nested name specifier 36 | int disk_allocator_id = file::NO_ALLOCATOR); | ^~~~~~~~~~~~ In file included from /usr/include/stxxl/bits/mng/block_manager.h:42: /usr/include/stxxl/bits/mng/disk_allocator.h:55:18: error: ‘map’ in namespace ‘std’ does not name a template type 55 | typedef std::map sortseq; | ^~~ /usr/include/stxxl/bits/mng/disk_allocator.h:35:1: note: ‘std::map’ is defined in header ‘’; did you forget to ‘#include ’? 34 | #include +++ |+#include 35 | /usr/include/stxxl/bits/mng/disk_allocator.h:58:5: error: ‘sortseq’ does not name a type 58 | sortseq free_space; | ^~~~~~~ /usr/include/stxxl/bits/mng/disk_allocator.h:69:15: error: ‘sortseq’ does not name a type 69 | const sortseq::iterator& pred, const sortseq::iterator& succ) const; | ^~~~~~~ /usr/include/stxxl/bits/mng/disk_allocator.h:69:32: error: expected unqualified-id before ‘&’ token 69 | const sortseq::iterator& pred, const sortseq::iterator& succ) const; | ^ /usr/include/stxxl/bits/mng/disk_allocator.h:69:32: error: expected ‘)’ before ‘&’ token 69 | const sortseq::iterator& pred, const sortseq::iterator& succ) const; | ^ | ) /usr/include/stxxl/bits/mng/disk_allocator.h:67:28: note: to match this ‘(’ 67 | void deallocation_error( | ^ /usr/include/stxxl/bits/mng/disk_allocator.h:69:32: error: expected ‘;’ at end of member declaration 69 | const sortseq::iterator& pred, const sortseq::iterator& succ) const; | ^ | ; /usr/include/stxxl/bits/mng/disk_allocator.h:69:34: error: ‘pred’ does not name a type 69 | const sortseq::iterator& pred, const sortseq::iterator& succ) const; | ^~~~ /usr/include/stxxl/bits/mng/disk_allocator.h:120:21: error: ‘BIDArray’ has not been declared 120 | void new_blocks(BIDArray& bids) | ^~~~~~~~ /usr/include/stxxl/bits/mng/disk_allocator.h:120:29: error: expected ‘,’ or ‘...’ before ‘<’ token 120 | void new_blocks(BIDArray& bids) | ^ /usr/include/stxxl/bits/mng/disk_allocator.h:126:21: error: ‘BID’ has not been declared 126 | void new_blocks(BID* begin, BID* end); | ^~~ /usr/include/stxxl/bits/mng/disk_allocator.h:126:24: error: expected ‘,’ or ‘...’ before ‘<’ token 126 | void new_blocks(BID* begin, BID* end); | ^ /usr/include/stxxl/bits/mng/disk_allocator.h:126:10: error: ‘template void stxxl::disk_allocator::new_blocks(int)’ cannot be overloaded with ‘template void stxxl::disk_allocator::new_blocks(int)’ 126 | void new_blocks(BID* begin, BID* end); | ^~~~~~~~~~ /usr/include/stxxl/bits/mng/disk_allocator.h:120:10: note: previous declaration ‘template void stxxl::disk_allocator::new_blocks(int)’ 120 | void new_blocks(BIDArray& bids) | ^~~~~~~~~~ /usr/include/stxxl/bits/mng/disk_allocator.h:138:29: error: ‘BID’ does not name a type 138 | void delete_block(const BID& bid) | ^~~ /usr/include/stxxl/bits/mng/disk_allocator.h:138:32: error: expected ‘,’ or ‘...’ before ‘<’ token 138 | void delete_block(const BID& bid) | ^ /usr/include/stxxl/bits/mng/disk_allocator.h: In member function ‘void stxxl::disk_allocator::grow_file(stxxl::int64)’: /usr/include/stxxl/bits/mng/disk_allocator.h:80:16: error: invalid use of incomplete type ‘class stxxl::file’ 80 | storage->set_size(disk_bytes + extend_bytes); | ^~ /usr/include/stxxl/bits/io/request.h:35:7: note: forward declaration of ‘class stxxl::file’ 35 | class file; | ^~~~ /usr/include/stxxl/bits/mng/disk_allocator.h: In constructor ‘stxxl::disk_allocator::disk_allocator(stxxl::file*, const stxxl::disk_config&)’: /usr/include/stxxl/bits/mng/disk_allocator.h:89:21: error: invalid use of incomplete type ‘const class stxxl::disk_config’ 89 | cfg_bytes(cfg.size), | ^~~ /usr/include/stxxl/bits/io/create_file.h:32:7: note: forward declaration of ‘class stxxl::disk_config’ 32 | class disk_config; | ^~~~~~~~~~~ /usr/include/stxxl/bits/mng/disk_allocator.h:91:20: error: invalid use of incomplete type ‘const class stxxl::disk_config’ 91 | autogrow(cfg.autogrow) | ^~~ /usr/include/stxxl/bits/io/create_file.h:32:7: note: forward declaration of ‘class stxxl::disk_config’ 32 | class disk_config; | ^~~~~~~~~~~ /usr/include/stxxl/bits/mng/disk_allocator.h:94:19: error: invalid use of incomplete type ‘const class stxxl::disk_config’ 94 | grow_file(cfg.size); | ^~~ /usr/include/stxxl/bits/io/create_file.h:32:7: note: forward declaration of ‘class stxxl::disk_config’ 32 | class disk_config; | ^~~~~~~~~~~ /usr/include/stxxl/bits/mng/disk_allocator.h: In destructor ‘stxxl::disk_allocator::~disk_allocator()’: /usr/include/stxxl/bits/mng/disk_allocator.h:100:20: error: invalid use of incomplete type ‘class stxxl::file’ 100 | storage->set_size(cfg_bytes); | ^~ /usr/include/stxxl/bits/io/request.h:35:7: note: forward declaration of ‘class stxxl::file’ 35 | class file; | ^~~~ /usr/include/stxxl/bits/mng/disk_allocator.h: In member function ‘void stxxl::disk_allocator::new_blocks(int)’: /usr/include/stxxl/bits/mng/disk_allocator.h:122:20: error: ‘bids’ was not declared in this scope 122 | new_blocks(bids.begin(), bids.end()); | ^~~~ /usr/include/stxxl/bits/mng/disk_allocator.h: In member function ‘void stxxl::disk_allocator::delete_block(int)’: /usr/include/stxxl/bits/mng/disk_allocator.h:142:9: error: ‘bid’ was not declared in this scope 142 | STXXL_VERBOSE2("disk_allocator::delete_block<" << BlockSize << | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/disk_allocator.h:146:25: error: ‘bid’ was not declared in this scope 146 | add_free_region(bid.offset, bid.size); | ^~~ /usr/include/stxxl/bits/mng/disk_allocator.h: At global scope: /usr/include/stxxl/bits/mng/disk_allocator.h:151:6: error: variable or field ‘new_blocks’ declared void 151 | void disk_allocator::new_blocks(BID* begin, BID* end) | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/disk_allocator.h:151:33: error: ‘BID’ was not declared in this scope 151 | void disk_allocator::new_blocks(BID* begin, BID* end) | ^~~ /usr/include/stxxl/bits/mng/disk_allocator.h:151:49: error: ‘begin’ was not declared in this scope; did you mean ‘std::begin’? 151 | void disk_allocator::new_blocks(BID* begin, BID* end) | ^~~~~ | std::begin /usr/include/c++/12/bits/range_access.h:114:37: note: ‘std::begin’ declared here 114 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/stxxl/bits/mng/disk_allocator.h:151:56: error: ‘BID’ was not declared in this scope 151 | void disk_allocator::new_blocks(BID* begin, BID* end) | ^~~ /usr/include/stxxl/bits/mng/disk_allocator.h:151:72: error: ‘end’ was not declared in this scope; did you mean ‘std::end’? 151 | void disk_allocator::new_blocks(BID* begin, BID* end) | ^~~ | std::end /usr/include/c++/12/bits/range_access.h:116:37: note: ‘std::end’ declared here 116 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/stxxl/bits/mng/block_alloc.h: In constructor ‘stxxl::striping::striping()’: /usr/include/stxxl/bits/mng/block_alloc.h:51:16: error: ‘config’ has not been declared 51 | diff = config::get_instance()->disks_number(); | ^~~~~~ /usr/include/stxxl/bits/mng/block_alloc.h: At global scope: /usr/include/stxxl/bits/mng/block_alloc.h:133:10: error: ‘vector’ in namespace ‘std’ does not name a template type 133 | std::vector perm; | ^~~~~~ /usr/include/stxxl/bits/mng/block_alloc.h:18:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 17 | #include +++ |+#include 18 | #include /usr/include/stxxl/bits/mng/block_alloc.h: In member function ‘void stxxl::RC::init()’: /usr/include/stxxl/bits/mng/block_alloc.h:138:13: error: ‘perm’ was not declared in this scope 138 | perm[i] = i; | ^~~~ /usr/include/stxxl/bits/mng/block_alloc.h:141:29: error: ‘perm’ was not declared in this scope 141 | std::random_shuffle(perm.begin(), perm.end(), rnd _STXXL_FORCE_SEQUENTIAL); | ^~~~ /usr/include/stxxl/bits/mng/block_alloc.h: In constructor ‘stxxl::RC::RC(stxxl::unsigned_type, stxxl::unsigned_type)’: /usr/include/stxxl/bits/mng/block_alloc.h:145:60: error: class ‘stxxl::RC’ does not have any field named ‘perm’ 145 | RC(unsigned_type b, unsigned_type e) : striping(b, e), perm(diff) | ^~~~ /usr/include/stxxl/bits/mng/block_alloc.h: In constructor ‘stxxl::RC::RC()’: /usr/include/stxxl/bits/mng/block_alloc.h:150:24: error: class ‘stxxl::RC’ does not have any field named ‘perm’ 150 | RC() : striping(), perm(diff) | ^~~~ /usr/include/stxxl/bits/mng/block_alloc.h: In member function ‘stxxl::unsigned_type stxxl::RC::operator()(stxxl::unsigned_type) const’: /usr/include/stxxl/bits/mng/block_alloc.h:157:24: error: ‘perm’ was not declared in this scope 157 | return begin + perm[i % diff]; | ^~~~ /usr/include/stxxl/bits/mng/block_alloc.h: In constructor ‘stxxl::RC_disk::RC_disk()’: /usr/include/stxxl/bits/mng/block_alloc.h:171:20: error: ‘config’ has not been declared 171 | RC_disk() : RC(config::get_instance()->regular_disk_range().first, config::get_instance()->regular_disk_range().second) | ^~~~~~ /usr/include/stxxl/bits/mng/block_alloc.h:171:72: error: ‘config’ has not been declared 171 | RC_disk() : RC(config::get_instance()->regular_disk_range().first, config::get_instance()->regular_disk_range().second) | ^~~~~~ /usr/include/stxxl/bits/mng/block_alloc.h: In constructor ‘stxxl::RC_flash::RC_flash()’: /usr/include/stxxl/bits/mng/block_alloc.h:185:21: error: ‘config’ has not been declared 185 | RC_flash() : RC(config::get_instance()->flash_range().first, config::get_instance()->flash_range().second) | ^~~~~~ /usr/include/stxxl/bits/mng/block_alloc.h:185:66: error: ‘config’ has not been declared 185 | RC_flash() : RC(config::get_instance()->flash_range().first, config::get_instance()->flash_range().second) | ^~~~~~ /usr/include/stxxl/bits/mng/block_manager.h: At global scope: /usr/include/stxxl/bits/mng/block_manager.h:150:54: error: ‘BID’ has not been declared 150 | void new_block(const DiskAssignFunctor& functor, BID& bid, unsigned_type offset = 0) | ^~~ /usr/include/stxxl/bits/mng/block_manager.h:150:57: error: expected ‘,’ or ‘...’ before ‘<’ token 150 | void new_block(const DiskAssignFunctor& functor, BID& bid, unsigned_type offset = 0) | ^ /usr/include/stxxl/bits/mng/block_manager.h:166:29: error: ‘BID’ does not name a type 166 | void delete_block(const BID& bid); | ^~~ /usr/include/stxxl/bits/mng/block_manager.h:166:32: error: expected ‘,’ or ‘...’ before ‘<’ token 166 | void delete_block(const BID& bid); | ^ /usr/include/stxxl/bits/mng/block_manager.h: In member function ‘void stxxl::block_manager::new_block(const DiskAssignFunctor&, int)’: /usr/include/stxxl/bits/mng/block_manager.h:152:24: error: ‘BID’ was not declared in this scope 152 | new_blocks_int >(1, functor, offset, &bid); | ^~~ /usr/include/stxxl/bits/mng/block_manager.h:152:52: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 152 | new_blocks_int >(1, functor, offset, &bid); | ^~~~~~ | off_t /usr/include/stxxl/bits/mng/block_manager.h:152:61: error: ‘bid’ was not declared in this scope 152 | new_blocks_int >(1, functor, offset, &bid); | ^~~ /usr/include/stxxl/bits/mng/block_manager.h: In member function ‘void stxxl::block_manager::new_blocks_int(stxxl::unsigned_type, const DiskAssignFunctor&, stxxl::unsigned_type, OutputIterator)’: /usr/include/stxxl/bits/mng/block_manager.h:193:13: error: ‘BIDArray’ does not name a type 193 | typedef BIDArray bid_array_type; | ^~~~~~~~ /usr/include/stxxl/bits/mng/block_manager.h:196:19: error: ‘bid_array_type’ was not declared in this scope 196 | simple_vector disk_bids(ndisks); | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_manager.h:196:33: error: template argument 1 is invalid 196 | simple_vector disk_bids(ndisks); | ^ /usr/include/stxxl/bits/mng/block_manager.h:212:22: error: invalid types ‘int[stxxl::unsigned_type {aka unsigned int}]’ for array subscript 212 | disk_bids[i].resize(bl[i]); | ^ /usr/include/stxxl/bits/mng/block_manager.h:213:53: error: invalid types ‘int[stxxl::unsigned_type {aka unsigned int}]’ for array subscript 213 | disk_allocators[i]->new_blocks(disk_bids[i]); | ^ /usr/include/stxxl/bits/mng/block_manager.h:223:45: error: invalid types ‘int[const int]’ for array subscript 223 | bid_type bid(disk_ptrs[i], disk_bids[disk][bl[disk]++].offset); | ^ /usr/include/stxxl/bits/mng/block_manager.h: At global scope: /usr/include/stxxl/bits/mng/block_manager.h:236:40: error: ‘BID’ does not name a type 236 | void block_manager::delete_block(const BID& bid) | ^~~ /usr/include/stxxl/bits/mng/block_manager.h:236:43: error: expected ‘,’ or ‘...’ before ‘<’ token 236 | void block_manager::delete_block(const BID& bid) | ^ /usr/include/stxxl/bits/mng/block_manager.h: In member function ‘void stxxl::block_manager::delete_block(int)’: /usr/include/stxxl/bits/mng/block_manager.h:240:10: error: ‘bid’ was not declared in this scope 240 | if (!bid.is_managed()) | ^~~ /usr/include/stxxl/bits/mng/block_manager.h:242:61: error: ‘bid’ was not declared in this scope 242 | STXXL_VERBOSE_BLOCK_LIFE_CYCLE("BLC:delete " << FMT_BID(bid)); | ^~~ /usr/include/stxxl/bits/containers/queue.h: At global scope: /usr/include/stxxl/bits/containers/queue.h:62:13: error: ‘BID’ does not name a type 62 | typedef BID bid_type; | ^~~ /usr/include/stxxl/bits/containers/queue.h:76:10: error: ‘deque’ in namespace ‘std’ does not name a template type 76 | std::deque bids; | ^~~~~ /usr/include/stxxl/bits/containers/queue.h:23:1: note: ‘std::deque’ is defined in header ‘’; did you forget to ‘#include ’? 22 | #include +++ |+#include 23 | #include /usr/include/stxxl/bits/containers/queue.h: In constructor ‘stxxl::queue::queue(stxxl::int_type)’: /usr/include/stxxl/bits/containers/queue.h:96:17: error: ‘config’ has not been declared 96 | D = config::get_instance()->disks_number(); | ^~~~~~ /usr/include/stxxl/bits/containers/queue.h: In member function ‘void stxxl::queue::swap(stxxl::queue&)’: /usr/include/stxxl/bits/containers/queue.h:173:19: error: ‘bids’ was not declared in this scope 173 | std::swap(bids, obj.bids); | ^~~~ In file included from /usr/include/c++/12/cassert:44, from /usr/include/stxxl/bits/mng/disk_allocator.h:30: /usr/include/stxxl/bits/containers/queue.h: In member function ‘void stxxl::queue::push(const value_type&)’: /usr/include/stxxl/bits/containers/queue.h:244:17: error: ‘bids’ was not declared in this scope 244 | assert(bids.empty()); | ^~~~~~ /usr/include/stxxl/bits/containers/queue.h:263:17: error: ‘bid_type’ was not declared in this scope; did you mean ‘size_type’? 263 | bid_type newbid; | ^~~~~~~~ | size_type /usr/include/stxxl/bits/containers/queue.h:265:47: error: ‘newbid’ was not declared in this scope 265 | bm->new_block(alloc_strategy, newbid, alloc_count++); | ^~~~~~ /usr/include/stxxl/bits/containers/queue.h:268:17: error: ‘bids’ was not declared in this scope 268 | bids.push_back(newbid); | ^~~~ /usr/include/stxxl/bits/containers/queue.h: In member function ‘void stxxl::queue::pop()’: /usr/include/stxxl/bits/containers/queue.h:300:17: error: ‘bids’ was not declared in this scope 300 | assert(bids.empty()); | ^~~~~~ /usr/include/stxxl/bits/containers/queue.h:312:17: error: ‘bids’ was not declared in this scope 312 | assert(bids.empty()); | ^~~~~~ /usr/include/stxxl/bits/containers/queue.h:321:13: error: ‘bids’ was not declared in this scope 321 | assert(!bids.empty()); | ^~~~~~ /usr/include/stxxl/bits/containers/queue.h:322:13: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 322 | request_ptr req = pool->read(front_block, bids.front()); | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/containers/queue.h:333:13: error: ‘req’ was not declared in this scope 333 | req->wait(); | ^~~ /usr/include/stxxl/bits/containers/queue.h: In destructor ‘stxxl::queue::~queue()’: /usr/include/stxxl/bits/containers/queue.h:392:14: error: ‘bids’ was not declared in this scope 392 | if (!bids.empty()) | ^~~~ In file included from /usr/include/stxxl/bits/containers/vector.h:31: /usr/include/stxxl/bits/mng/buf_istream_reverse.h: At global scope: /usr/include/stxxl/bits/mng/buf_istream_reverse.h:44:13: error: ‘BIDArray’ does not name a type 44 | typedef BIDArray bid_vector_type; | ^~~~~~~~ /usr/include/stxxl/bits/mng/buf_istream_reverse.h:50:76: error: template argument 2 is invalid 50 | typedef block_prefetcher prefetcher_type; | ^ /usr/include/stxxl/bits/mng/buf_istream_reverse.h:58:5: error: ‘bid_vector_type’ does not name a type; did you mean ‘bid_iterator_type’? 58 | bid_vector_type bids_; | ^~~~~~~~~~~~~~~ | bid_iterator_type /usr/include/stxxl/bits/mng/buf_istream_reverse.h: In constructor ‘stxxl::buf_istream_reverse::buf_istream_reverse(bid_iterator_type, bid_iterator_type, stxxl::int_type)’: /usr/include/stxxl/bits/mng/buf_istream_reverse.h:73:11: error: class ‘stxxl::buf_istream_reverse’ does not have any field named ‘bids_’ 73 | bids_(end - begin) | ^~~~~ /usr/include/stxxl/bits/mng/buf_istream_reverse.h:76:39: error: ‘bids_’ was not declared in this scope 76 | std::reverse_copy(begin, end, bids_.begin()); | ^~~~~ /usr/include/stxxl/bits/mng/buf_istream_reverse.h:79:38: error: ‘config’ has not been declared 79 | const unsigned_type ndisks = config::get_instance()->disks_number(); | ^~~~~~ /usr/include/stxxl/bits/mng/buf_istream_reverse.h:80:38: error: ‘config’ has not been declared 80 | const unsigned_type mdevid = config::get_instance()->get_max_device_id(); | ^~~~~~ /usr/include/stxxl/bits/mng/buf_istream_reverse.h:93:35: error: request for member ‘pull_block’ in ‘((stxxl::buf_istream_reverse*)this)->stxxl::buf_istream_reverse::prefetcher->’, which is of non-class type ‘stxxl::buf_istream_reverse::prefetcher_type’ {aka ‘int’} 93 | current_blk = prefetcher->pull_block(); | ^~~~~~~~~~ /usr/include/stxxl/bits/mng/buf_istream_reverse.h: In member function ‘stxxl::buf_istream_reverse::self_type& stxxl::buf_istream_reverse::operator>>(reference)’: /usr/include/stxxl/bits/mng/buf_istream_reverse.h:113:40: error: request for member ‘block_consumed’ in ‘((stxxl::buf_istream_reverse*)this)->stxxl::buf_istream_reverse::prefetcher->’, which is of non-class type ‘stxxl::buf_istream_reverse::prefetcher_type’ {aka ‘int’} 113 | not_finished = prefetcher->block_consumed(current_blk); | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/buf_istream_reverse.h: In member function ‘stxxl::buf_istream_reverse::self_type& stxxl::buf_istream_reverse::operator++()’: /usr/include/stxxl/bits/mng/buf_istream_reverse.h:148:40: error: request for member ‘block_consumed’ in ‘((stxxl::buf_istream_reverse*)this)->stxxl::buf_istream_reverse::prefetcher->’, which is of non-class type ‘stxxl::buf_istream_reverse::prefetcher_type’ {aka ‘int’} 148 | not_finished = prefetcher->block_consumed(current_blk); | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h: At global scope: /usr/include/stxxl/bits/containers/vector.h:884:42: error: expected template-name before ‘<’ token 884 | class bid_vector : public std::vector > | ^ /usr/include/stxxl/bits/containers/vector.h:884:42: error: expected ‘{’ before ‘<’ token /usr/include/stxxl/bits/containers/vector.h:884:42: error: expected unqualified-id before ‘<’ token /usr/include/stxxl/bits/containers/vector.h:915:18: error: ‘vector’ in namespace ‘std’ does not name a template type 915 | mutable std::vector m_page_status; | ^~~~~~ /usr/include/stxxl/bits/containers/vector.h:32:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 31 | #include +++ |+#include 32 | #include /usr/include/stxxl/bits/containers/vector.h:916:18: error: ‘vector’ in namespace ‘std’ does not name a template type 916 | mutable std::vector m_page_to_slot; | ^~~~~~ /usr/include/stxxl/bits/containers/vector.h:916:13: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 916 | mutable std::vector m_page_to_slot; | ^~~ /usr/include/stxxl/bits/containers/vector.h:918:18: error: ‘queue’ in namespace ‘std’ does not name a template type 918 | mutable std::queue m_free_slots; | ^~~~~ /usr/include/stxxl/bits/containers/vector.h:32:1: note: ‘std::queue’ is defined in header ‘’; did you forget to ‘#include ’? 31 | #include +++ |+#include 32 | #include /usr/include/stxxl/bits/containers/vector.h: In constructor ‘stxxl::vector::vector(size_type, stxxl::unsigned_type)’: /usr/include/stxxl/bits/containers/vector.h:957:11: error: class ‘stxxl::vector’ does not have any field named ‘m_page_status’ 957 | m_page_status(div_ceil(m_bids.size(), page_size)), | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:958:11: error: class ‘stxxl::vector’ does not have any field named ‘m_page_to_slot’ 958 | m_page_to_slot(div_ceil(m_bids.size(), page_size)), | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:968:32: error: ‘m_page_status’ was not declared in this scope 968 | for (size_t i = 0; i < m_page_status.size(); ++i) | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:971:13: error: ‘m_page_to_slot’ was not declared in this scope 971 | m_page_to_slot[i] = on_disk; | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:975:13: error: ‘m_free_slots’ was not declared in this scope 975 | m_free_slots.push(i); | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h: In member function ‘void stxxl::vector::swap(stxxl::vector&)’: /usr/include/stxxl/bits/containers/vector.h:992:19: error: ‘m_page_status’ was not declared in this scope 992 | std::swap(m_page_status, obj.m_page_status); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:993:19: error: ‘m_page_to_slot’ was not declared in this scope 993 | std::swap(m_page_to_slot, obj.m_page_to_slot); | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:995:19: error: ‘m_free_slots’ was not declared in this scope 995 | std::swap(m_free_slots, obj.m_free_slots); | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h: In member function ‘void stxxl::vector::reserve(size_type)’: /usr/include/stxxl/bits/containers/vector.h:1065:9: error: ‘m_page_status’ was not declared in this scope 1065 | m_page_status.resize(new_pages, uninitialized); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:1066:9: error: ‘m_page_to_slot’ was not declared in this scope 1066 | m_page_to_slot.resize(new_pages, on_disk); | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h: In member function ‘void stxxl::vector::_resize(size_type)’: /usr/include/stxxl/bits/containers/vector.h:1118:54: error: ‘m_page_status’ was not declared in this scope 1118 | for (size_t i = first_page_to_evict; i < m_page_status.size(); ++i) { | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:1119:21: error: ‘m_page_to_slot’ was not declared in this scope 1119 | if (m_page_to_slot[i] != on_disk) { | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:1120:21: error: ‘m_free_slots’ was not declared in this scope 1120 | m_free_slots.push(m_page_to_slot[i]); | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h: In member function ‘void stxxl::vector::_resize_shrink_capacity(size_type)’: /usr/include/stxxl/bits/containers/vector.h:1143:13: error: ‘m_page_status’ was not declared in this scope 1143 | STXXL_VERBOSE_VECTOR("shrinking from " << old_bids_size << " to " << | ^~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:1161:23: error: ‘m_page_status’ was not declared in this scope 1161 | std::fill(m_page_status.begin() + new_pages_size, | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h: In member function ‘void stxxl::vector::clear()’: /usr/include/stxxl/bits/containers/vector.h:1181:9: error: ‘m_page_status’ was not declared in this scope 1181 | m_page_status.clear(); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:1182:9: error: ‘m_page_to_slot’ was not declared in this scope 1182 | m_page_to_slot.clear(); | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:1183:17: error: ‘m_free_slots’ was not declared in this scope 1183 | while (!m_free_slots.empty()) | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:1187:13: error: ‘m_free_slots’ was not declared in this scope 1187 | m_free_slots.push(i); | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h: In constructor ‘stxxl::vector::vector(stxxl::file*, size_type, stxxl::unsigned_type)’: /usr/include/stxxl/bits/containers/vector.h:1248:11: error: class ‘stxxl::vector’ does not have any field named ‘m_page_status’ 1248 | m_page_status(div_ceil(m_bids.size(), page_size)), | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:1249:11: error: class ‘stxxl::vector’ does not have any field named ‘m_page_to_slot’ 1249 | m_page_to_slot(div_ceil(m_bids.size(), page_size)), | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:1268:32: error: ‘m_page_status’ was not declared in this scope 1268 | for (size_t i = 0; i < m_page_status.size(); ++i) | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:1271:13: error: ‘m_page_to_slot’ was not declared in this scope 1271 | m_page_to_slot[i] = on_disk; | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:1275:13: error: ‘m_free_slots’ was not declared in this scope 1275 | m_free_slots.push(i); | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h: In copy constructor ‘stxxl::vector::vector(const stxxl::vector&)’: /usr/include/stxxl/bits/containers/vector.h:1293:11: error: class ‘stxxl::vector’ does not have any field named ‘m_page_status’ 1293 | m_page_status(div_ceil(m_bids.size(), page_size)), | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:1294:11: error: class ‘stxxl::vector’ does not have any field named ‘m_page_to_slot’ 1294 | m_page_to_slot(div_ceil(m_bids.size(), page_size)), | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:1305:32: error: ‘m_page_status’ was not declared in this scope 1305 | for (size_t i = 0; i < m_page_status.size(); ++i) | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:1308:13: error: ‘m_page_to_slot’ was not declared in this scope 1308 | m_page_to_slot[i] = on_disk; | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:1312:13: error: ‘m_free_slots’ was not declared in this scope 1312 | m_free_slots.push(i); | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h: In member function ‘void stxxl::vector::flush() const’: /usr/include/stxxl/bits/containers/vector.h:1452:17: error: ‘m_free_slots’ was not declared in this scope; did you mean ‘non_free_slots’? 1452 | while (!m_free_slots.empty()) | ^~~~~~~~~~~~ | non_free_slots /usr/include/stxxl/bits/containers/vector.h:1460:13: error: ‘m_free_slots’ was not declared in this scope; did you mean ‘non_free_slots’? 1460 | m_free_slots.push(i); | ^~~~~~~~~~~~ | non_free_slots /usr/include/stxxl/bits/containers/vector.h:1468:17: error: ‘m_page_to_slot’ was not declared in this scope 1468 | m_page_to_slot[page_no] = on_disk; | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h: In member function ‘void stxxl::vector::set_content(const ForwardIterator&, const ForwardIterator&, size_type)’: /usr/include/stxxl/bits/containers/vector.h:1560:9: error: ‘m_page_status’ was not declared in this scope 1560 | m_page_status.resize(new_pages, valid_on_disk); | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:1561:9: error: ‘m_page_to_slot’ was not declared in this scope 1561 | m_page_to_slot.resize(new_pages, on_disk); | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h: In member function ‘void stxxl::vector::read_page(stxxl::int_type, stxxl::int_type) const’: /usr/include/stxxl/bits/containers/vector.h:1601:9: error: ‘m_page_status’ was not declared in this scope 1601 | assert(page_no < (int_type)m_page_status.size()); | ^~~~~~ /usr/include/stxxl/bits/containers/vector.h:1605:9: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 1605 | request_ptr* reqs = new request_ptr[page_size]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/containers/vector.h:1605:22: error: ‘reqs’ was not declared in this scope; did you mean ‘request’? 1605 | request_ptr* reqs = new request_ptr[page_size]; | ^~~~ | request /usr/include/stxxl/bits/containers/vector.h:1605:33: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 1605 | request_ptr* reqs = new request_ptr[page_size]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/containers/vector.h: In member function ‘void stxxl::vector::write_page(stxxl::int_type, stxxl::int_type) const’: /usr/include/stxxl/bits/containers/vector.h:1619:9: error: ‘m_page_status’ was not declared in this scope 1619 | assert(page_no < (int_type)m_page_status.size()); | ^~~~~~ /usr/include/stxxl/bits/containers/vector.h:1623:9: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 1623 | request_ptr* reqs = new request_ptr[page_size]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/containers/vector.h:1623:22: error: ‘reqs’ was not declared in this scope; did you mean ‘request’? 1623 | request_ptr* reqs = new request_ptr[page_size]; | ^~~~ | request /usr/include/stxxl/bits/containers/vector.h:1623:33: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 1623 | request_ptr* reqs = new request_ptr[page_size]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/containers/vector.h: In member function ‘stxxl::vector::value_type& stxxl::vector::element(const blocked_index_type&)’: /usr/include/stxxl/bits/containers/vector.h:1652:9: error: ‘m_page_to_slot’ was not declared in this scope 1652 | assert(page_no < m_page_to_slot.size()); // fails if offset is too large, out of bound access | ^~~~~~ /usr/include/stxxl/bits/containers/vector.h:1656:17: error: ‘m_free_slots’ was not declared in this scope 1656 | if (m_free_slots.empty()) // has to kick | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:1668:17: error: ‘m_page_status’ was not declared in this scope 1668 | m_page_status[page_no] = dirty; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:1682:17: error: ‘m_page_status’ was not declared in this scope 1682 | m_page_status[page_no] = dirty; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:1689:13: error: ‘m_page_status’ was not declared in this scope 1689 | m_page_status[page_no] = dirty; | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h: In member function ‘void stxxl::vector::page_externally_updated(stxxl::unsigned_type) const’: /usr/include/stxxl/bits/containers/vector.h:1699:9: error: ‘m_page_status’ was not declared in this scope 1699 | assert(page_no < m_page_status.size()); | ^~~~~~ /usr/include/stxxl/bits/containers/vector.h:1702:13: error: ‘m_page_to_slot’ was not declared in this scope 1702 | if (m_page_to_slot[page_no] != on_disk) { | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h:1704:13: error: ‘m_free_slots’ was not declared in this scope 1704 | m_free_slots.push(m_page_to_slot[page_no]); | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h: In member function ‘const stxxl::vector::value_type& stxxl::vector::const_element(const blocked_index_type&) const’: /usr/include/stxxl/bits/containers/vector.h:1734:9: error: ‘m_page_to_slot’ was not declared in this scope 1734 | assert(page_no < m_page_to_slot.size()); // fails if offset is too large, out of bound access | ^~~~~~ /usr/include/stxxl/bits/containers/vector.h:1738:17: error: ‘m_free_slots’ was not declared in this scope 1738 | if (m_free_slots.empty()) // has to kick | ^~~~~~~~~~~~ /usr/include/stxxl/bits/containers/vector.h: In member function ‘bool stxxl::vector::is_page_cached(const blocked_index_type&) const’: /usr/include/stxxl/bits/containers/vector.h:1775:9: error: ‘m_page_to_slot’ was not declared in this scope 1775 | assert(page_no < m_page_to_slot.size()); // fails if offset is too large, out of bound access | ^~~~~~ /usr/include/stxxl/bits/containers/vector.h: In constructor ‘stxxl::vector_bufreader::vector_bufreader(vector_iterator, vector_iterator, stxxl::unsigned_type)’: /usr/include/stxxl/bits/containers/vector.h:1980:30: error: ‘config’ has not been declared 1980 | m_nbuffers = 2 * config::get_instance()->disks_number(); | ^~~~~~ /usr/include/stxxl/bits/containers/vector.h: In constructor ‘stxxl::vector_bufreader::vector_bufreader(const vector_type&, stxxl::unsigned_type)’: /usr/include/stxxl/bits/containers/vector.h:1996:30: error: ‘config’ has not been declared 1996 | m_nbuffers = 2 * config::get_instance()->disks_number(); | ^~~~~~ /usr/include/stxxl/bits/containers/vector.h: In constructor ‘stxxl::vector_bufreader_reverse::vector_bufreader_reverse(vector_iterator, vector_iterator, stxxl::unsigned_type)’: /usr/include/stxxl/bits/containers/vector.h:2245:30: error: ‘config’ has not been declared 2245 | m_nbuffers = 2 * config::get_instance()->disks_number(); | ^~~~~~ /usr/include/stxxl/bits/containers/vector.h: In constructor ‘stxxl::vector_bufreader_reverse::vector_bufreader_reverse(const vector_type&, stxxl::unsigned_type)’: /usr/include/stxxl/bits/containers/vector.h:2261:30: error: ‘config’ has not been declared 2261 | m_nbuffers = 2 * config::get_instance()->disks_number(); | ^~~~~~ /usr/include/stxxl/bits/containers/vector.h: In constructor ‘stxxl::vector_bufwriter::vector_bufwriter(vector_iterator, stxxl::unsigned_type)’: /usr/include/stxxl/bits/containers/vector.h:2426:30: error: ‘config’ has not been declared 2426 | m_nbuffers = 2 * config::get_instance()->disks_number(); | ^~~~~~ /usr/include/stxxl/bits/containers/vector.h: In constructor ‘stxxl::vector_bufwriter::vector_bufwriter(vector_type&, stxxl::unsigned_type)’: /usr/include/stxxl/bits/containers/vector.h:2443:30: error: ‘config’ has not been declared 2443 | m_nbuffers = 2 * config::get_instance()->disks_number(); | ^~~~~~ /usr/include/stxxl/bits/mng/config.h: At global scope: /usr/include/stxxl/bits/mng/config.h:117:18: error: ‘vector’ in namespace ‘std’ does not name a template type 117 | typedef std::vector disk_list_type; | ^~~~~~ /usr/include/stxxl/bits/mng/config.h:26:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 25 | #include +++ |+#include 26 | /usr/include/stxxl/bits/mng/config.h:120:5: error: ‘disk_list_type’ does not name a type 120 | disk_list_type disks_list; | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/config.h: In member function ‘stxxl::config& stxxl::config::add_disk(const stxxl::disk_config&)’: /usr/include/stxxl/bits/mng/config.h:172:9: error: ‘disks_list’ was not declared in this scope 172 | disks_list.push_back(cfg); | ^~~~~~~~~~ /usr/include/stxxl/bits/mng/config.h: In member function ‘size_t stxxl::config::disks_number()’: /usr/include/stxxl/bits/mng/config.h:206:16: error: ‘disks_list’ was not declared in this scope 206 | return disks_list.size(); | ^~~~~~~~~~ /usr/include/stxxl/bits/mng/config.h: In member function ‘std::pair stxxl::config::flash_range() const’: /usr/include/stxxl/bits/mng/config.h:222:69: error: ‘disks_list’ was not declared in this scope 222 | return std::pair(first_flash, (unsigned)disks_list.size()); | ^~~~~~~~~~ /usr/include/stxxl/bits/mng/config.h: In member function ‘stxxl::disk_config& stxxl::config::disk(size_t)’: /usr/include/stxxl/bits/mng/config.h:229:16: error: ‘disks_list’ was not declared in this scope 229 | return disks_list[disk]; | ^~~~~~~~~~ /usr/include/stxxl/bits/mng/config.h: In member function ‘const stxxl::disk_config& stxxl::config::disk(size_t) const’: /usr/include/stxxl/bits/mng/config.h:236:16: error: ‘disks_list’ was not declared in this scope 236 | return disks_list[disk]; | ^~~~~~~~~~ /usr/include/stxxl/bits/mng/config.h: In member function ‘const std::string& stxxl::config::disk_path(size_t) const’: /usr/include/stxxl/bits/mng/config.h:245:16: error: ‘disks_list’ was not declared in this scope 245 | return disks_list[disk].path; | ^~~~~~~~~~ /usr/include/stxxl/bits/mng/config.h: In member function ‘stxxl::uint64 stxxl::config::disk_size(size_t) const’: /usr/include/stxxl/bits/mng/config.h:254:16: error: ‘disks_list’ was not declared in this scope 254 | return disks_list[disk].size; | ^~~~~~~~~~ /usr/include/stxxl/bits/mng/config.h: In member function ‘const std::string& stxxl::config::disk_io_impl(size_t) const’: /usr/include/stxxl/bits/mng/config.h:262:16: error: ‘disks_list’ was not declared in this scope 262 | return disks_list[disk].io_impl; | ^~~~~~~~~~ /usr/include/stxxl/bits/io/file.h: At global scope: /usr/include/stxxl/bits/io/file.h:100:13: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 100 | virtual request_ptr aread(void* buffer, offset_type pos, size_type bytes, | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/io/file.h:110:13: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 110 | virtual request_ptr awrite(void* buffer, offset_type pos, size_type bytes, | ^~~~~~~~~~~ | request In file included from /tmp/U7304441Ge/dump1.h:25: /usr/include/stxxl/bits/algo/stable_ksort.h: In function ‘void stxxl::stable_ksort(ExtIterator, ExtIterator, unsigned_type)’: /usr/include/stxxl/bits/algo/stable_ksort.h:323:13: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 323 | request_ptr req; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/stable_ksort.h:324:13: error: ‘req’ was not declared in this scope 324 | req = block->read(*first.bid()); | ^~~ /usr/include/stxxl/bits/algo/stable_ksort.h:335:9: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 335 | request_ptr* reqs1 = new request_ptr[max_bucket_size_bl]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/stable_ksort.h:335:22: error: ‘reqs1’ was not declared in this scope; did you mean ‘request’? 335 | request_ptr* reqs1 = new request_ptr[max_bucket_size_bl]; | ^~~~~ | request /usr/include/stxxl/bits/algo/stable_ksort.h:335:34: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 335 | request_ptr* reqs1 = new request_ptr[max_bucket_size_bl]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/stable_ksort.h:336:22: error: ‘reqs2’ was not declared in this scope; did you mean ‘request’? 336 | request_ptr* reqs2 = new request_ptr[max_bucket_size_bl]; | ^~~~~ | request /usr/include/stxxl/bits/algo/stable_ksort.h:336:34: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 336 | request_ptr* reqs2 = new request_ptr[max_bucket_size_bl]; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/algo/stable_ksort.h:444:24: error: expected ‘;’ before ‘req’ 444 | request_ptr req = block->read(*last.bid()); | ^~~~ | ; /usr/include/stxxl/bits/algo/stable_ksort.h:445:13: error: ‘req’ was not declared in this scope 445 | req->wait(); | ^~~ In file included from /tmp/U7304441Ge/dump1.h:26: /usr/include/stxxl/bits/common/addressable_queues.h: At global scope: /usr/include/stxxl/bits/common/addressable_queues.h:32:18: error: ‘map’ in namespace ‘std’ does not name a template type 32 | typedef std::map meta_type; | ^~~ /usr/include/stxxl/bits/common/addressable_queues.h:19:1: note: ‘std::map’ is defined in header ‘’; did you forget to ‘#include ’? 18 | #include +++ |+#include 19 | /usr/include/stxxl/bits/common/addressable_queues.h:33:22: error: ‘meta_type’ has not been declared 33 | typedef typename meta_type::iterator meta_iterator; | ^~~~~~~~~ /usr/include/stxxl/bits/common/addressable_queues.h:36:5: error: ‘meta_type’ does not name a type; did you mean ‘int_type’? 36 | meta_type meta; | ^~~~~~~~~ | int_type /usr/include/stxxl/bits/common/addressable_queues.h: In member function ‘std::pair stxxl::addressable_fifo_queue::insert(const KeyType&)’: /usr/include/stxxl/bits/common/addressable_queues.h:59:37: error: ‘meta’ was not declared in this scope 59 | std::pair r = meta.insert(std::make_pair(e, ei)); | ^~~~ /usr/include/stxxl/bits/common/addressable_queues.h:63:31: error: base operand of ‘->’ is not a pointer 63 | vals.erase(r.first->second); | ^~ /usr/include/stxxl/bits/common/addressable_queues.h:64:20: error: base operand of ‘->’ is not a pointer 64 | r.first->second = ei; | ^~ /usr/include/stxxl/bits/common/addressable_queues.h: In member function ‘bool stxxl::addressable_fifo_queue::erase(const KeyType&)’: /usr/include/stxxl/bits/common/addressable_queues.h:74:21: error: ‘meta’ was not declared in this scope 74 | handle mi = meta.find(e); | ^~~~ /usr/include/stxxl/bits/common/addressable_queues.h:77:22: error: base operand of ‘->’ is not a pointer 77 | vals.erase(mi->second); | ^~ /usr/include/stxxl/bits/common/addressable_queues.h: In member function ‘void stxxl::addressable_fifo_queue::erase(handle)’: /usr/include/stxxl/bits/common/addressable_queues.h:86:21: error: base operand of ‘->’ is not a pointer 86 | vals.erase(i->second); | ^~ /usr/include/stxxl/bits/common/addressable_queues.h:87:9: error: ‘meta’ was not declared in this scope 87 | meta.erase(i); | ^~~~ /usr/include/stxxl/bits/common/addressable_queues.h: In member function ‘KeyType stxxl::addressable_fifo_queue::pop()’: /usr/include/stxxl/bits/common/addressable_queues.h:101:9: error: ‘meta’ was not declared in this scope 101 | meta.erase(e); | ^~~~ /usr/include/stxxl/bits/common/addressable_queues.h: At global scope: /usr/include/stxxl/bits/common/addressable_queues.h:127:18: error: ‘map’ in namespace ‘std’ does not name a template type 127 | typedef std::map meta_type; | ^~~ /usr/include/stxxl/bits/common/addressable_queues.h:127:13: note: ‘std::map’ is defined in header ‘’; did you forget to ‘#include ’? 127 | typedef std::map meta_type; | ^~~ /usr/include/stxxl/bits/common/addressable_queues.h:128:22: error: ‘meta_type’ has not been declared 128 | typedef typename meta_type::iterator meta_iterator; | ^~~~~~~~~ /usr/include/stxxl/bits/common/addressable_queues.h:131:5: error: ‘meta_type’ does not name a type; did you mean ‘int_type’? 131 | meta_type meta; | ^~~~~~~~~ | int_type /usr/include/stxxl/bits/common/addressable_queues.h: In member function ‘std::pair stxxl::addressable_priority_queue::insert(const KeyType&, PriorityType)’: /usr/include/stxxl/bits/common/addressable_queues.h:153:37: error: ‘meta’ was not declared in this scope 153 | std::pair r = meta.insert(std::make_pair(e, s.first)); | ^~~~ /usr/include/stxxl/bits/common/addressable_queues.h:157:31: error: base operand of ‘->’ is not a pointer 157 | vals.erase(r.first->second); | ^~ /usr/include/stxxl/bits/common/addressable_queues.h:158:20: error: base operand of ‘->’ is not a pointer 158 | r.first->second = s.first; | ^~ /usr/include/stxxl/bits/common/addressable_queues.h: In member function ‘bool stxxl::addressable_priority_queue::erase(const KeyType&)’: /usr/include/stxxl/bits/common/addressable_queues.h:168:21: error: ‘meta’ was not declared in this scope 168 | handle mi = meta.find(e); | ^~~~ /usr/include/stxxl/bits/common/addressable_queues.h:171:22: error: base operand of ‘->’ is not a pointer 171 | vals.erase(mi->second); | ^~ /usr/include/stxxl/bits/common/addressable_queues.h: In member function ‘void stxxl::addressable_priority_queue::erase(handle)’: /usr/include/stxxl/bits/common/addressable_queues.h:180:21: error: base operand of ‘->’ is not a pointer 180 | vals.erase(i->second); | ^~ /usr/include/stxxl/bits/common/addressable_queues.h:181:9: error: ‘meta’ was not declared in this scope 181 | meta.erase(i); | ^~~~ /usr/include/stxxl/bits/common/addressable_queues.h: In member function ‘KeyType stxxl::addressable_priority_queue::pop()’: /usr/include/stxxl/bits/common/addressable_queues.h:195:9: error: ‘meta’ was not declared in this scope 195 | meta.erase(e); | ^~~~ In file included from /tmp/U7304441Ge/dump1.h:29: /usr/include/stxxl/bits/common/cmdline.h: At global scope: /usr/include/stxxl/bits/common/cmdline.h:297:14: error: ‘vector’ in namespace ‘std’ does not name a template type 297 | std::vector& m_dest; | ^~~~~~ /usr/include/stxxl/bits/common/cmdline.h:21:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 20 | #include +++ |+#include 21 | /usr/include/stxxl/bits/common/cmdline.h:301:69: error: ‘std::vector’ has not been declared 301 | const std::string& desc, bool required, std::vector& dest) | ^~~ /usr/include/stxxl/bits/common/cmdline.h:301:80: error: expected ‘,’ or ‘...’ before ‘<’ token 301 | const std::string& desc, bool required, std::vector& dest) | ^ /usr/include/stxxl/bits/common/cmdline.h:334:18: error: ‘vector’ in namespace ‘std’ does not name a template type 334 | typedef std::vector arglist_type; | ^~~~~~ /usr/include/stxxl/bits/common/cmdline.h:334:13: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 334 | typedef std::vector arglist_type; | ^~~ /usr/include/stxxl/bits/common/cmdline.h:337:5: error: ‘arglist_type’ does not name a type 337 | arglist_type m_optlist; | ^~~~~~~~~~~~ /usr/include/stxxl/bits/common/cmdline.h:339:5: error: ‘arglist_type’ does not name a type 339 | arglist_type m_paramlist; | ^~~~~~~~~~~~ /usr/include/stxxl/bits/common/cmdline.h:484:116: error: ‘std::vector’ has not been declared 484 | void add_stringlist(char key, const std::string& longkey, const std::string& keytype, const std::string& desc, std::vector& dest) | ^~~ /usr/include/stxxl/bits/common/cmdline.h:484:127: error: expected ‘,’ or ‘...’ before ‘<’ token 484 | void add_stringlist(char key, const std::string& longkey, const std::string& keytype, const std::string& desc, std::vector& dest) | ^ /usr/include/stxxl/bits/common/cmdline.h:517:88: error: ‘std::vector’ has not been declared 517 | void add_stringlist(char key, const std::string& longkey, const std::string& desc, std::vector& dest) | ^~~ /usr/include/stxxl/bits/common/cmdline.h:517:99: error: expected ‘,’ or ‘...’ before ‘<’ token 517 | void add_stringlist(char key, const std::string& longkey, const std::string& desc, std::vector& dest) | ^ /usr/include/stxxl/bits/common/cmdline.h:569:81: error: ‘std::vector’ has not been declared 569 | void add_param_stringlist(const std::string& name, const std::string& desc, std::vector& dest) | ^~~ /usr/include/stxxl/bits/common/cmdline.h:569:92: error: expected ‘,’ or ‘...’ before ‘<’ token 569 | void add_param_stringlist(const std::string& name, const std::string& desc, std::vector& dest) | ^ /usr/include/stxxl/bits/common/cmdline.h:626:85: error: ‘std::vector’ has not been declared 626 | void add_opt_param_stringlist(const std::string& name, const std::string& desc, std::vector& dest) | ^~~ /usr/include/stxxl/bits/common/cmdline.h:626:96: error: expected ‘,’ or ‘...’ before ‘<’ token 626 | void add_opt_param_stringlist(const std::string& name, const std::string& desc, std::vector& dest) | ^ /usr/include/stxxl/bits/common/cmdline.h: In constructor ‘stxxl::cmdline_parser::argument_stringlist::argument_stringlist(char, const std::string&, const std::string&, const std::string&, bool, int)’: /usr/include/stxxl/bits/common/cmdline.h:303:15: error: class ‘stxxl::cmdline_parser::argument_stringlist’ does not have any field named ‘m_dest’ 303 | m_dest(dest) | ^~~~~~ /usr/include/stxxl/bits/common/cmdline.h:303:22: error: ‘dest’ was not declared in this scope; did you mean ‘desc’? 303 | m_dest(dest) | ^~~~ | desc /usr/include/stxxl/bits/common/cmdline.h: In member function ‘virtual bool stxxl::cmdline_parser::argument_stringlist::process(int&, const char* const*&)’: /usr/include/stxxl/bits/common/cmdline.h:315:13: error: ‘m_dest’ was not declared in this scope; did you mean ‘m_desc’? 315 | m_dest.push_back(argv[0]); | ^~~~~~ | m_desc /usr/include/stxxl/bits/common/cmdline.h: In member function ‘virtual void stxxl::cmdline_parser::argument_stringlist::print_value(std::ostream&) const’: /usr/include/stxxl/bits/common/cmdline.h:323:36: error: ‘m_dest’ was not declared in this scope; did you mean ‘m_desc’? 323 | for (size_t i = 0; i < m_dest.size(); ++i) | ^~~~~~ | m_desc /usr/include/stxxl/bits/common/cmdline.h: In destructor ‘stxxl::cmdline_parser::~cmdline_parser()’: /usr/include/stxxl/bits/common/cmdline.h:400:32: error: ‘m_optlist’ was not declared in this scope 400 | for (size_t i = 0; i < m_optlist.size(); ++i) | ^~~~~~~~~ /usr/include/stxxl/bits/common/cmdline.h:402:9: error: ‘m_optlist’ was not declared in this scope 402 | m_optlist.clear(); | ^~~~~~~~~ /usr/include/stxxl/bits/common/cmdline.h:404:32: error: ‘m_paramlist’ was not declared in this scope; did you mean ‘add_param_int’? 404 | for (size_t i = 0; i < m_paramlist.size(); ++i) | ^~~~~~~~~~~ | add_param_int /usr/include/stxxl/bits/common/cmdline.h:406:9: error: ‘m_paramlist’ was not declared in this scope; did you mean ‘add_param_int’? 406 | m_paramlist.clear(); | ^~~~~~~~~~~ | add_param_int /usr/include/stxxl/bits/common/cmdline.h: In member function ‘void stxxl::cmdline_parser::add_flag(char, const std::string&, const std::string&, const std::string&, bool&)’: /usr/include/stxxl/bits/common/cmdline.h:432:9: error: ‘m_optlist’ was not declared in this scope 432 | m_optlist.push_back( | ^~~~~~~~~ /usr/include/stxxl/bits/common/cmdline.h: In member function ‘void stxxl::cmdline_parser::add_int(char, const std::string&, const std::string&, const std::string&, int&)’: /usr/include/stxxl/bits/common/cmdline.h:441:9: error: ‘m_optlist’ was not declared in this scope 441 | m_optlist.push_back( | ^~~~~~~~~ /usr/include/stxxl/bits/common/cmdline.h: In member function ‘void stxxl::cmdline_parser::add_uint(char, const std::string&, const std::string&, const std::string&, unsigned int&)’: /usr/include/stxxl/bits/common/cmdline.h:450:9: error: ‘m_optlist’ was not declared in this scope 450 | m_optlist.push_back( | ^~~~~~~~~ /usr/include/stxxl/bits/common/cmdline.h: In member function ‘void stxxl::cmdline_parser::add_bytes(char, const std::string&, const std::string&, const std::string&, stxxl::uint32&)’: /usr/include/stxxl/bits/common/cmdline.h:459:9: error: ‘m_optlist’ was not declared in this scope 459 | m_optlist.push_back( | ^~~~~~~~~ /usr/include/stxxl/bits/common/cmdline.h: In member function ‘void stxxl::cmdline_parser::add_bytes(char, const std::string&, const std::string&, const std::string&, stxxl::uint64&)’: /usr/include/stxxl/bits/common/cmdline.h:468:9: error: ‘m_optlist’ was not declared in this scope 468 | m_optlist.push_back( | ^~~~~~~~~ /usr/include/stxxl/bits/common/cmdline.h: In member function ‘void stxxl::cmdline_parser::add_string(char, const std::string&, const std::string&, const std::string&, std::string&)’: /usr/include/stxxl/bits/common/cmdline.h:477:9: error: ‘m_optlist’ was not declared in this scope 477 | m_optlist.push_back( | ^~~~~~~~~ /usr/include/stxxl/bits/common/cmdline.h: In member function ‘void stxxl::cmdline_parser::add_stringlist(char, const std::string&, const std::string&, const std::string&, int)’: /usr/include/stxxl/bits/common/cmdline.h:486:9: error: ‘m_optlist’ was not declared in this scope 486 | m_optlist.push_back( | ^~~~~~~~~ /usr/include/stxxl/bits/common/cmdline.h:487:73: error: ‘dest’ was not declared in this scope; did you mean ‘desc’? 487 | new argument_stringlist(key, longkey, keytype, desc, false, dest) | ^~~~ | desc /usr/include/stxxl/bits/common/cmdline.h: In member function ‘void stxxl::cmdline_parser::add_stringlist(char, const std::string&, const std::string&, int)’: /usr/include/stxxl/bits/common/cmdline.h:518:53: error: ‘dest’ was not declared in this scope; did you mean ‘desc’? 518 | { return add_stringlist(key, longkey, "", desc, dest); } | ^~~~ | desc /usr/include/stxxl/bits/common/cmdline.h: In member function ‘void stxxl::cmdline_parser::add_param_int(const std::string&, const std::string&, int&)’: /usr/include/stxxl/bits/common/cmdline.h:525:9: error: ‘m_paramlist’ was not declared in this scope; did you mean ‘add_param_int’? 525 | m_paramlist.push_back( | ^~~~~~~~~~~ | add_param_int /usr/include/stxxl/bits/common/cmdline.h: In member function ‘void stxxl::cmdline_parser::add_param_uint(const std::string&, const std::string&, unsigned int&)’: /usr/include/stxxl/bits/common/cmdline.h:534:9: error: ‘m_paramlist’ was not declared in this scope; did you mean ‘add_param_int’? 534 | m_paramlist.push_back( | ^~~~~~~~~~~ | add_param_int /usr/include/stxxl/bits/common/cmdline.h: In member function ‘void stxxl::cmdline_parser::add_param_bytes(const std::string&, const std::string&, stxxl::uint32&)’: /usr/include/stxxl/bits/common/cmdline.h:543:9: error: ‘m_paramlist’ was not declared in this scope; did you mean ‘add_param_int’? 543 | m_paramlist.push_back( | ^~~~~~~~~~~ | add_param_int /usr/include/stxxl/bits/common/cmdline.h: In member function ‘void stxxl::cmdline_parser::add_param_bytes(const std::string&, const std::string&, stxxl::uint64&)’: /usr/include/stxxl/bits/common/cmdline.h:552:9: error: ‘m_paramlist’ was not declared in this scope; did you mean ‘add_param_int’? 552 | m_paramlist.push_back( | ^~~~~~~~~~~ | add_param_int /usr/include/stxxl/bits/common/cmdline.h: In member function ‘void stxxl::cmdline_parser::add_param_string(const std::string&, const std::string&, std::string&)’: /usr/include/stxxl/bits/common/cmdline.h:561:9: error: ‘m_paramlist’ was not declared in this scope; did you mean ‘add_param_int’? 561 | m_paramlist.push_back( | ^~~~~~~~~~~ | add_param_int /usr/include/stxxl/bits/common/cmdline.h: In member function ‘void stxxl::cmdline_parser::add_param_stringlist(const std::string&, const std::string&, int)’: /usr/include/stxxl/bits/common/cmdline.h:571:9: error: ‘m_paramlist’ was not declared in this scope; did you mean ‘add_param_int’? 571 | m_paramlist.push_back( | ^~~~~~~~~~~ | add_param_int /usr/include/stxxl/bits/common/cmdline.h:572:62: error: ‘dest’ was not declared in this scope; did you mean ‘desc’? 572 | new argument_stringlist(0, name, "", desc, true, dest) | ^~~~ | desc /usr/include/stxxl/bits/common/cmdline.h: In member function ‘void stxxl::cmdline_parser::add_opt_param_int(const std::string&, const std::string&, int&)’: /usr/include/stxxl/bits/common/cmdline.h:582:9: error: ‘m_paramlist’ was not declared in this scope; did you mean ‘add_param_int’? 582 | m_paramlist.push_back( | ^~~~~~~~~~~ | add_param_int /usr/include/stxxl/bits/common/cmdline.h: In member function ‘void stxxl::cmdline_parser::add_opt_param_uint(const std::string&, const std::string&, unsigned int&)’: /usr/include/stxxl/bits/common/cmdline.h:591:9: error: ‘m_paramlist’ was not declared in this scope; did you mean ‘add_param_int’? 591 | m_paramlist.push_back( | ^~~~~~~~~~~ | add_param_int /usr/include/stxxl/bits/common/cmdline.h: In member function ‘void stxxl::cmdline_parser::add_opt_param_bytes(const std::string&, const std::string&, stxxl::uint32&)’: /usr/include/stxxl/bits/common/cmdline.h:600:9: error: ‘m_paramlist’ was not declared in this scope; did you mean ‘add_param_int’? 600 | m_paramlist.push_back( | ^~~~~~~~~~~ | add_param_int /usr/include/stxxl/bits/common/cmdline.h: In member function ‘void stxxl::cmdline_parser::add_opt_param_bytes(const std::string&, const std::string&, stxxl::uint64&)’: /usr/include/stxxl/bits/common/cmdline.h:609:9: error: ‘m_paramlist’ was not declared in this scope; did you mean ‘add_param_int’? 609 | m_paramlist.push_back( | ^~~~~~~~~~~ | add_param_int /usr/include/stxxl/bits/common/cmdline.h: In member function ‘void stxxl::cmdline_parser::add_opt_param_string(const std::string&, const std::string&, std::string&)’: /usr/include/stxxl/bits/common/cmdline.h:618:9: error: ‘m_paramlist’ was not declared in this scope; did you mean ‘add_param_int’? 618 | m_paramlist.push_back( | ^~~~~~~~~~~ | add_param_int /usr/include/stxxl/bits/common/cmdline.h: In member function ‘void stxxl::cmdline_parser::add_opt_param_stringlist(const std::string&, const std::string&, int)’: /usr/include/stxxl/bits/common/cmdline.h:628:9: error: ‘m_paramlist’ was not declared in this scope; did you mean ‘add_param_int’? 628 | m_paramlist.push_back( | ^~~~~~~~~~~ | add_param_int /usr/include/stxxl/bits/common/cmdline.h:629:63: error: ‘dest’ was not declared in this scope; did you mean ‘desc’? 629 | new argument_stringlist(0, name, "", desc, false, dest) | ^~~~ | desc In file included from /usr/include/stxxl/bits/containers/matrix.h:18, from /tmp/U7304441Ge/dump1.h:72: /usr/include/stxxl/bits/mng/block_scheduler.h: At global scope: /usr/include/stxxl/bits/mng/block_scheduler.h:140:5: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 140 | request_ptr read_async(completion_handler on_cmpl = completion_handler()) | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/mng/block_scheduler.h:157:5: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 157 | request_ptr clean_async(completion_handler on_cmpl = completion_handler()) | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘void stxxl::swappable_block::clean_sync()’: /usr/include/stxxl/bits/mng/block_scheduler.h:173:9: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 173 | request_ptr rp = clean_async(); | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/mng/block_scheduler.h:174:13: error: ‘rp’ was not declared in this scope 174 | if (rp.valid()) | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h: At global scope: /usr/include/stxxl/bits/mng/block_scheduler.h:262:27: error: ‘vector’ in namespace ‘std’ does not name a template type 262 | typedef typename std::vector::size_type swappable_block_identifier_type; | ^~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:23:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 22 | #include +++ |+#include 23 | /usr/include/stxxl/bits/mng/block_scheduler.h:262:33: error: expected unqualified-id before ‘<’ token 262 | typedef typename std::vector::size_type swappable_block_identifier_type; | ^ /usr/include/stxxl/bits/mng/block_scheduler.h:289:9: error: ‘swappable_block_identifier_type’ does not name a type 289 | swappable_block_identifier_type id; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:293:37: error: ‘swappable_block_identifier_type’ has not been declared 293 | swappable_block_identifier_type id, int_type time) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:307:10: error: ‘stack’ in namespace ‘std’ does not name a template type 307 | std::stack internal_blocks_blocks; | ^~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:23:1: note: ‘std::stack’ is defined in header ‘’; did you forget to ‘#include ’? 22 | #include +++ |+#include 23 | /usr/include/stxxl/bits/mng/block_scheduler.h:309:10: error: ‘stack’ in namespace ‘std’ does not name a template type 309 | std::stack free_internal_blocks; | ^~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:309:5: note: ‘std::stack’ is defined in header ‘’; did you forget to ‘#include ’? 309 | std::stack free_internal_blocks; | ^~~ /usr/include/stxxl/bits/mng/block_scheduler.h:311:18: error: ‘vector’ in namespace ‘std’ does not name a template type 311 | mutable std::vector swappable_blocks; | ^~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:311:13: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 311 | mutable std::vector swappable_blocks; | ^~~ /usr/include/stxxl/bits/mng/block_scheduler.h:313:10: error: ‘priority_queue’ in namespace ‘std’ does not name a template type 313 | std::priority_queue, | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:23:1: note: ‘std::priority_queue’ is defined in header ‘’; did you forget to ‘#include ’? 22 | #include +++ |+#include 23 | /usr/include/stxxl/bits/mng/block_scheduler.h:395:41: error: ‘swappable_block_identifier_type’ does not name a type 395 | internal_block_type & acquire(const swappable_block_identifier_type sbid, const bool uninitialized = false) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:402:24: error: ‘swappable_block_identifier_type’ does not name a type 402 | void release(const swappable_block_identifier_type sbid, const bool dirty) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:406:29: error: ‘swappable_block_identifier_type’ does not name a type 406 | void deinitialize(const swappable_block_identifier_type sbid) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:415:27: error: ‘swappable_block_identifier_type’ does not name a type 415 | void initialize(const swappable_block_identifier_type sbid, external_block_type eblock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:422:54: error: ‘swappable_block_identifier_type’ does not name a type 422 | external_block_type extract_external_block(const swappable_block_identifier_type sbid) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:428:31: error: ‘swappable_block_identifier_type’ does not name a type 428 | bool is_initialized(const swappable_block_identifier_type sbid) const | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:438:52: error: ‘swappable_block_identifier_type’ does not name a type 438 | internal_block_type & get_internal_block(const swappable_block_identifier_type sbid) const | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:443:5: error: ‘swappable_block_identifier_type’ does not name a type 443 | swappable_block_identifier_type allocate_swappable_block() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:464:37: error: ‘swappable_block_identifier_type’ does not name a type 464 | void free_swappable_block(const swappable_block_identifier_type sbid) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h: In constructor ‘stxxl::block_scheduler::prediction_sequence_element::prediction_sequence_element(stxxl::block_scheduler::block_scheduler_operation, int, stxxl::int_type)’: /usr/include/stxxl/bits/mng/block_scheduler.h:294:23: error: class ‘stxxl::block_scheduler::prediction_sequence_element’ does not have any field named ‘id’ 294 | : op(op), id(id), time(time) { } | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘stxxl::block_scheduler::internal_block_type* stxxl::block_scheduler::get_free_internal_block()’: /usr/include/stxxl/bits/mng/block_scheduler.h:322:15: error: ‘free_internal_blocks’ was not declared in this scope; did you mean ‘max_internal_blocks’? 322 | if (! free_internal_blocks.empty()) | ^~~~~~~~~~~~~~~~~~~~ | max_internal_blocks /usr/include/stxxl/bits/mng/block_scheduler.h:335:13: error: ‘internal_blocks_blocks’ was not declared in this scope; did you mean ‘internal_block_type’? 335 | internal_blocks_blocks.push(iblocks); | ^~~~~~~~~~~~~~~~~~~~~~ | internal_block_type /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘void stxxl::block_scheduler::return_free_internal_block(internal_block_type*)’: /usr/include/stxxl/bits/mng/block_scheduler.h:349:7: error: ‘free_internal_blocks’ was not declared in this scope; did you mean ‘max_internal_blocks’? 349 | { free_internal_blocks.push(iblock); } | ^~~~~~~~~~~~~~~~~~~~ | max_internal_blocks /usr/include/stxxl/bits/mng/block_scheduler.h: In destructor ‘stxxl::block_scheduler::~block_scheduler()’: /usr/include/stxxl/bits/mng/block_scheduler.h:367:13: error: ‘free_swappable_blocks’ was not declared in this scope; did you mean ‘free_swappable_block’? 367 | if (free_swappable_blocks.size() != swappable_blocks.size()) | ^~~~~~~~~~~~~~~~~~~~~ | free_swappable_block /usr/include/stxxl/bits/mng/block_scheduler.h:367:45: error: ‘swappable_blocks’ was not declared in this scope; did you mean ‘swappable_block’? 367 | if (free_swappable_blocks.size() != swappable_blocks.size()) | ^~~~~~~~~~~~~~~~ | swappable_block /usr/include/stxxl/bits/mng/block_scheduler.h:372:32: error: ‘vector’ in namespace ‘std’ does not name a template type 372 | for (typename std::vector::iterator it = swappable_blocks.begin(); | ^~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:372:32: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/mng/block_scheduler.h:372:38: error: expected unqualified-id before ‘<’ token 372 | for (typename std::vector::iterator it = swappable_blocks.begin(); | ^ /usr/include/stxxl/bits/mng/block_scheduler.h:372:38: error: expected ‘;’ before ‘<’ token /usr/include/stxxl/bits/mng/block_scheduler.h:372:38: error: expected primary-expression before ‘<’ token /usr/include/stxxl/bits/mng/block_scheduler.h:372:57: error: expected primary-expression before ‘>’ token 372 | for (typename std::vector::iterator it = swappable_blocks.begin(); | ^ /usr/include/stxxl/bits/mng/block_scheduler.h:372:60: error: ‘::iterator’ has not been declared; did you mean ‘std::iterator’? 372 | for (typename std::vector::iterator it = swappable_blocks.begin(); | ^~~~~~~~ | std::iterator /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: ‘std::iterator’ declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:372:69: error: expected ‘;’ before ‘it’ 372 | for (typename std::vector::iterator it = swappable_blocks.begin(); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:372:69: error: ‘it’ was not declared in this scope; did you mean ‘int’? 372 | for (typename std::vector::iterator it = swappable_blocks.begin(); | ^~ | int /usr/include/stxxl/bits/mng/block_scheduler.h:372:98: error: expected ‘)’ before ‘;’ token 372 | for (typename std::vector::iterator it = swappable_blocks.begin(); | ^ /usr/include/stxxl/bits/mng/block_scheduler.h:372:17: note: to match this ‘(’ 372 | for (typename std::vector::iterator it = swappable_blocks.begin(); | ^ /usr/include/stxxl/bits/mng/block_scheduler.h:373:18: error: ‘it’ was not declared in this scope; did you mean ‘int’? 373 | it != swappable_blocks.end(); ++it) | ^~ | int /usr/include/stxxl/bits/mng/block_scheduler.h:381:33: error: ‘free_internal_blocks’ was not declared in this scope; did you mean ‘max_internal_blocks’? 381 | - (free_internal_blocks.size() + num_freed_internal_blocks)) { | ^~~~~~~~~~~~~~~~~~~~ | max_internal_blocks /usr/include/stxxl/bits/mng/block_scheduler.h:384:18: error: ‘internal_blocks_blocks’ was not declared in this scope; did you mean ‘internal_block_type’? 384 | while (! internal_blocks_blocks.empty()) | ^~~~~~~~~~~~~~~~~~~~~~ | internal_block_type /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘stxxl::block_scheduler::internal_block_type& stxxl::block_scheduler::get_internal_block(int) const’: /usr/include/stxxl/bits/mng/block_scheduler.h:439:14: error: ‘swappable_blocks’ was not declared in this scope; did you mean ‘swappable_block’? 439 | { return swappable_blocks[sbid].get_internal_block(); } | ^~~~~~~~~~~~~~~~ | swappable_block /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘void stxxl::block_scheduler::free_swappable_block(int)’: /usr/include/stxxl/bits/mng/block_scheduler.h:467:9: error: ‘free_swappable_blocks’ was not declared in this scope; did you mean ‘free_swappable_block’? 467 | free_swappable_blocks.push(sbid); | ^~~~~~~~~~~~~~~~~~~~~ | free_swappable_block /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘void stxxl::block_scheduler::flush()’: /usr/include/stxxl/bits/mng/block_scheduler.h:499:14: error: ‘vector’ is not a member of ‘std’ 499 | std::vector requests; | ^~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:499:14: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/mng/block_scheduler.h:499:21: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 499 | std::vector requests; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/mng/block_scheduler.h:499:34: error: ‘requests’ was not declared in this scope; did you mean ‘request’? 499 | std::vector requests; | ^~~~~~~~ | request /usr/include/stxxl/bits/mng/block_scheduler.h:502:13: error: ‘swappable_block_identifier_type’ was not declared in this scope 502 | swappable_block_identifier_type sbid = algo->evictable_blocks_pop(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:503:25: error: expected ‘;’ before ‘rq’ 503 | request_ptr rq = swappable_blocks[sbid].clean_async(); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:504:17: error: ‘rq’ was not declared in this scope 504 | if (rq.valid()) | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:506:40: error: ‘swappable_blocks’ was not declared in this scope; did you mean ‘swappable_block’? 506 | return_free_internal_block(swappable_blocks[sbid].detach_internal_block()); | ^~~~~~~~~~~~~~~~ | swappable_block /usr/include/stxxl/bits/mng/block_scheduler.h:506:57: error: ‘sbid’ was not declared in this scope 506 | return_free_internal_block(swappable_blocks[sbid].detach_internal_block()); | ^~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:508:28: error: ‘vector’ in namespace ‘std’ does not name a template type 508 | for (typename std::vector::reverse_iterator it = requests.rbegin(); | ^~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:508:28: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/mng/block_scheduler.h:508:34: error: expected unqualified-id before ‘<’ token 508 | for (typename std::vector::reverse_iterator it = requests.rbegin(); | ^ /usr/include/stxxl/bits/mng/block_scheduler.h:508:34: error: expected ‘;’ before ‘<’ token /usr/include/stxxl/bits/mng/block_scheduler.h:508:34: error: expected primary-expression before ‘<’ token /usr/include/stxxl/bits/mng/block_scheduler.h:508:49: error: ‘::reverse_iterator’ has not been declared; did you mean ‘std::reverse_iterator’? 508 | for (typename std::vector::reverse_iterator it = requests.rbegin(); | ^~~~~~~~~~~~~~~~ | std::reverse_iterator In file included from /usr/include/c++/12/string:47: /usr/include/c++/12/bits/stl_iterator.h:132:11: note: ‘std::reverse_iterator’ declared here 132 | class reverse_iterator | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:508:66: error: expected ‘;’ before ‘it’ 508 | for (typename std::vector::reverse_iterator it = requests.rbegin(); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:508:66: error: ‘it’ was not declared in this scope; did you mean ‘int’? 508 | for (typename std::vector::reverse_iterator it = requests.rbegin(); | ^~ | int /usr/include/stxxl/bits/mng/block_scheduler.h:508:88: error: expected ‘)’ before ‘;’ token 508 | for (typename std::vector::reverse_iterator it = requests.rbegin(); | ^ /usr/include/stxxl/bits/mng/block_scheduler.h:508:13: note: to match this ‘(’ 508 | for (typename std::vector::reverse_iterator it = requests.rbegin(); | ^ /usr/include/stxxl/bits/mng/block_scheduler.h:509:14: error: ‘it’ was not declared in this scope; did you mean ‘int’? 509 | it != requests.rend(); ++it) | ^~ | int /usr/include/stxxl/bits/mng/block_scheduler.h: At global scope: /usr/include/stxxl/bits/mng/block_scheduler.h:535:10: error: ‘vector’ in namespace ‘std’ does not name a template type 535 | std::vector& swappable_blocks; | ^~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:535:5: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 535 | std::vector& swappable_blocks; | ^~~ /usr/include/stxxl/bits/mng/block_scheduler.h: In constructor ‘stxxl::block_scheduler_algorithm::block_scheduler_algorithm(block_scheduler_type&)’: /usr/include/stxxl/bits/mng/block_scheduler.h:553:11: error: class ‘stxxl::block_scheduler_algorithm’ does not have any field named ‘swappable_blocks’ 553 | swappable_blocks(bs.swappable_blocks) | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h: In constructor ‘stxxl::block_scheduler_algorithm::block_scheduler_algorithm(stxxl::block_scheduler_algorithm*)’: /usr/include/stxxl/bits/mng/block_scheduler.h:558:11: error: class ‘stxxl::block_scheduler_algorithm’ does not have any field named ‘swappable_blocks’ 558 | swappable_blocks(bs.swappable_blocks) | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘virtual bool stxxl::block_scheduler_algorithm::is_initialized(swappable_block_identifier_type) const’: /usr/include/stxxl/bits/mng/block_scheduler.h:574:14: error: ‘swappable_blocks’ was not declared in this scope; did you mean ‘swappable_block’? 574 | { return swappable_blocks[sbid].is_initialized(); } | ^~~~~~~~~~~~~~~~ | swappable_block /usr/include/stxxl/bits/mng/block_scheduler.h: At global scope: /usr/include/stxxl/bits/mng/block_scheduler.h:751:10: error: ‘stack’ in namespace ‘std’ does not name a template type 751 | std::stack evictable_blocks; | ^~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:751:5: note: ‘std::stack’ is defined in header ‘’; did you forget to ‘#include ’? 751 | std::stack evictable_blocks; | ^~~ /usr/include/stxxl/bits/mng/block_scheduler.h:754:10: error: ‘vector’ in namespace ‘std’ does not name a template type 754 | std::vector reference_counts; | ^~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:754:5: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 754 | std::vector reference_counts; | ^~~ /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘void stxxl::block_scheduler_algorithm_simulation::init()’: /usr/include/stxxl/bits/mng/block_scheduler.h:764:17: error: ‘evictable_blocks’ was not declared in this scope; did you mean ‘evictable_blocks_pop’? 764 | evictable_blocks.push(get_algorithm_from_block_scheduler()->evictable_blocks_pop()); | ^~~~~~~~~~~~~~~~ | evictable_blocks_pop /usr/include/stxxl/bits/mng/block_scheduler.h:765:57: error: ‘reference_counts’ was not declared in this scope 765 | for (swappable_block_identifier_type i = 0; i < reference_counts.size(); ++i) | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h: In constructor ‘stxxl::block_scheduler_algorithm_simulation::block_scheduler_algorithm_simulation(block_scheduler_type&)’: /usr/include/stxxl/bits/mng/block_scheduler.h:774:11: error: class ‘stxxl::block_scheduler_algorithm_simulation’ does not have any field named ‘reference_counts’ 774 | reference_counts(swappable_blocks.size()) | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h: In constructor ‘stxxl::block_scheduler_algorithm_simulation::block_scheduler_algorithm_simulation(block_scheduler_algorithm_type*)’: /usr/include/stxxl/bits/mng/block_scheduler.h:781:11: error: class ‘stxxl::block_scheduler_algorithm_simulation’ does not have any field named ‘reference_counts’ 781 | reference_counts(swappable_blocks.size()) | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h: In destructor ‘virtual stxxl::block_scheduler_algorithm_simulation::~block_scheduler_algorithm_simulation()’: /usr/include/stxxl/bits/mng/block_scheduler.h:786:15: error: ‘evictable_blocks’ was not declared in this scope; did you mean ‘evictable_blocks_pop’? 786 | if (! evictable_blocks.empty()) | ^~~~~~~~~~~~~~~~ | evictable_blocks_pop /usr/include/stxxl/bits/mng/block_scheduler.h:788:18: error: ‘evictable_blocks’ was not declared in this scope; did you mean ‘evictable_blocks_pop’? 788 | while (! evictable_blocks.empty()) | ^~~~~~~~~~~~~~~~ | evictable_blocks_pop /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘virtual bool stxxl::block_scheduler_algorithm_simulation::evictable_blocks_empty()’: /usr/include/stxxl/bits/mng/block_scheduler.h:798:14: error: ‘evictable_blocks’ was not declared in this scope; did you mean ‘evictable_blocks_pop’? 798 | { return evictable_blocks.empty(); } | ^~~~~~~~~~~~~~~~ | evictable_blocks_pop /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘virtual stxxl::block_scheduler_algorithm_simulation::swappable_block_identifier_type stxxl::block_scheduler_algorithm_simulation::evictable_blocks_pop()’: /usr/include/stxxl/bits/mng/block_scheduler.h:802:48: error: ‘evictable_blocks’ was not declared in this scope; did you mean ‘evictable_blocks_pop’? 802 | swappable_block_identifier_type sbid = evictable_blocks.top(); | ^~~~~~~~~~~~~~~~ | evictable_blocks_pop /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘virtual stxxl::block_scheduler_algorithm_simulation::internal_block_type& stxxl::block_scheduler_algorithm_simulation::acquire(swappable_block_identifier_type, bool)’: /usr/include/stxxl/bits/mng/block_scheduler.h:809:11: error: ‘reference_counts’ was not declared in this scope 809 | ++reference_counts[sbid]; | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘virtual void stxxl::block_scheduler_algorithm_simulation::release(swappable_block_identifier_type, bool)’: /usr/include/stxxl/bits/mng/block_scheduler.h:824:11: error: ‘reference_counts’ was not declared in this scope 824 | --reference_counts[sbid] += dirty; | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘virtual void stxxl::block_scheduler_algorithm_simulation::deinitialize(swappable_block_identifier_type)’: /usr/include/stxxl/bits/mng/block_scheduler.h:839:9: error: ‘reference_counts’ was not declared in this scope 839 | reference_counts[sbid] = false; | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘virtual void stxxl::block_scheduler_algorithm_simulation::initialize(swappable_block_identifier_type, external_block_type)’: /usr/include/stxxl/bits/mng/block_scheduler.h:847:9: error: ‘reference_counts’ was not declared in this scope 847 | reference_counts[sbid] = true; | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘virtual stxxl::block_scheduler_algorithm_simulation::external_block_type stxxl::block_scheduler_algorithm_simulation::extract_external_block(swappable_block_identifier_type)’: /usr/include/stxxl/bits/mng/block_scheduler.h:855:9: error: ‘reference_counts’ was not declared in this scope 855 | reference_counts[sbid] = false; | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘virtual void stxxl::block_scheduler_algorithm_simulation::swappable_blocks_resize(swappable_block_identifier_type)’: /usr/include/stxxl/bits/mng/block_scheduler.h:864:9: error: ‘reference_counts’ was not declared in this scope 864 | reference_counts.resize(size, 0); | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘virtual bool stxxl::block_scheduler_algorithm_simulation::is_initialized(swappable_block_identifier_type) const’: /usr/include/stxxl/bits/mng/block_scheduler.h:869:16: error: ‘reference_counts’ was not declared in this scope 869 | return reference_counts[sbid] > 0; | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h: At global scope: /usr/include/stxxl/bits/mng/block_scheduler.h:939:10: error: ‘deque’ in namespace ‘std’ does not name a template type 939 | std::deque > next_use; | ^~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:23:1: note: ‘std::deque’ is defined in header ‘’; did you forget to ‘#include ’? 22 | #include +++ |+#include 23 | /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘void stxxl::block_scheduler_algorithm_offline_lfd::init(block_scheduler_algorithm_type*)’: /usr/include/stxxl/bits/mng/block_scheduler.h:956:14: error: ‘vector’ is not a member of ‘std’ 956 | std::vector > | ^~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:956:14: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/mng/block_scheduler.h:956:48: error: expected primary-expression before ‘>’ token 956 | std::vector > | ^ /usr/include/stxxl/bits/mng/block_scheduler.h:968:21: error: ‘blocks_next_acquire’ was not declared in this scope 968 | blocks_next_acquire[it->id] = std::make_pair(true, it->time); | ^~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:972:21: error: ‘next_use’ was not declared in this scope 972 | next_use.push_front(blocks_next_acquire[it->id]); | ^~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:992:80: error: ‘blocks_next_acquire’ was not declared in this scope 992 | evictable_blocks.insert(sbid, priority(swappable_blocks[sbid], blocks_next_acquire[sbid])); | ^~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘virtual void stxxl::block_scheduler_algorithm_offline_lfd::release(swappable_block_identifier_type, bool)’: /usr/include/stxxl/bits/mng/block_scheduler.h:1065:13: error: ‘next_use’ was not declared in this scope 1065 | if (next_use.empty()) | ^~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:1085:80: error: ‘next_use’ was not declared in this scope 1085 | evictable_blocks.insert(sbid, priority(swappable_blocks[sbid], next_use.front())); | ^~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:1090:9: error: ‘next_use’ was not declared in this scope 1090 | next_use.pop_front(); | ^~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h: At global scope: /usr/include/stxxl/bits/mng/block_scheduler.h:1136:27: error: ‘vector’ in namespace ‘std’ does not name a template type 1136 | typedef typename std::vector::iterator swappable_blocks_iterator; | ^~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:1136:27: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/mng/block_scheduler.h:1136:33: error: expected unqualified-id before ‘<’ token 1136 | typedef typename std::vector::iterator swappable_blocks_iterator; | ^ /usr/include/stxxl/bits/mng/block_scheduler.h:1138:18: error: ‘map’ in namespace ‘std’ does not name a template type 1138 | typedef std::map scheduled_blocks_type; | ^~~ /usr/include/stxxl/bits/mng/block_scheduler.h:23:1: note: ‘std::map’ is defined in header ‘’; did you forget to ‘#include ’? 22 | #include +++ |+#include 23 | /usr/include/stxxl/bits/mng/block_scheduler.h:1139:22: error: ‘scheduled_blocks_type’ has not been declared 1139 | typedef typename scheduled_blocks_type::iterator scheduled_blocks_iterator; | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:1140:22: error: ‘scheduled_blocks_type’ has not been declared 1140 | typedef typename scheduled_blocks_type::reference scheduled_blocks_reference; | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:1141:18: error: ‘map’ in namespace ‘std’ does not name a template type 1141 | typedef std::map write_scheduled_blocks_type; | ^~~ /usr/include/stxxl/bits/mng/block_scheduler.h:1141:13: note: ‘std::map’ is defined in header ‘’; did you forget to ‘#include ’? 1141 | typedef std::map write_scheduled_blocks_type; | ^~~ /usr/include/stxxl/bits/mng/block_scheduler.h:1142:22: error: ‘write_scheduled_blocks_type’ has not been declared 1142 | typedef typename write_scheduled_blocks_type::iterator write_scheduled_blocks_iterator; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:1143:22: error: ‘write_scheduled_blocks_type’ has not been declared 1143 | typedef typename write_scheduled_blocks_type::reference write_scheduled_blocks_reference; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:1156:9: error: ‘swappable_blocks_iterator’ does not name a type; did you mean ‘scheduled_blocks_iterator’? 1156 | swappable_blocks_iterator block_to_start_read; // used by read_after_write, set by schedule_read() | ^~~~~~~~~~~~~~~~~~~~~~~~~ | scheduled_blocks_iterator /usr/include/stxxl/bits/mng/block_scheduler.h:1158:9: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 1158 | request_ptr write_req; // completes with read_after_write | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/mng/block_scheduler.h:1183:9: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 1183 | request_ptr read_req; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/mng/block_scheduler.h:1184:14: error: ‘deque’ in namespace ‘std’ does not name a template type 1184 | std::deque operations; // invariant: not empty; front: last scheduled operation, back: upcoming operation | ^~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:1184:9: note: ‘std::deque’ is defined in header ‘’; did you forget to ‘#include ’? 1184 | std::deque operations; // invariant: not empty; front: last scheduled operation, back: upcoming operation | ^~~ /usr/include/stxxl/bits/mng/block_scheduler.h:1199:5: error: ‘scheduled_blocks_type’ does not name a type; did you mean ‘scheduled_block_meta’? 1199 | scheduled_blocks_type scheduled_blocks; | ^~~~~~~~~~~~~~~~~~~~~ | scheduled_block_meta /usr/include/stxxl/bits/mng/block_scheduler.h:1202:5: error: ‘write_scheduled_blocks_type’ does not name a type; did you mean ‘write_scheduled_blocks_iterator’? 1202 | write_scheduled_blocks_type write_scheduled_blocks; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | write_scheduled_blocks_iterator /usr/include/stxxl/bits/mng/block_scheduler.h:1385:10: error: ‘void stxxl::block_scheduler_algorithm_offline_lru_prefetching::wait_on_write(const scheduled_blocks_iterator&)’ cannot be overloaded with ‘void stxxl::block_scheduler_algorithm_offline_lru_prefetching::wait_on_write(const write_scheduled_blocks_iterator&)’ 1385 | void wait_on_write(const scheduled_blocks_iterator& schedule_meta) | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:1365:10: note: previous declaration ‘void stxxl::block_scheduler_algorithm_offline_lru_prefetching::wait_on_write(const write_scheduled_blocks_iterator&)’ 1365 | void wait_on_write(const write_scheduled_blocks_iterator& writing_block) | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h: In constructor ‘stxxl::block_scheduler_algorithm_offline_lru_prefetching::write_read_request::write_read_request()’: /usr/include/stxxl/bits/mng/block_scheduler.h:1161:58: error: class ‘stxxl::block_scheduler_algorithm_offline_lru_prefetching::write_read_request’ does not have any field named ‘block_to_start_read’ 1161 | : write_done_soon(false), shall_read(false), block_to_start_read(), taker(), write_req(0) { } | ^~~~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:1161:90: error: class ‘stxxl::block_scheduler_algorithm_offline_lru_prefetching::write_read_request’ does not have any field named ‘write_req’ 1161 | : write_done_soon(false), shall_read(false), block_to_start_read(), taker(), write_req(0) { } | ^~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h: In constructor ‘stxxl::block_scheduler_algorithm_offline_lru_prefetching::scheduled_block_meta::scheduled_block_meta(stxxl::block_scheduler_algorithm_offline_lru_prefetching::block_scheduler_operation)’: /usr/include/stxxl/bits/mng/block_scheduler.h:1189:15: error: class ‘stxxl::block_scheduler_algorithm_offline_lru_prefetching::scheduled_block_meta’ does not have any field named ‘read_req’ 1189 | read_req(0), | ^~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:1190:15: error: class ‘stxxl::block_scheduler_algorithm_offline_lru_prefetching::scheduled_block_meta’ does not have any field named ‘operations’ 1190 | operations() | ^~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:1191:11: error: ‘operations’ was not declared in this scope; did you mean ‘operator=’? 1191 | { operations.push_front(op); } | ^~~~~~~~~~ | operator= /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘stxxl::block_scheduler_algorithm_offline_lru_prefetching::write_read_request* stxxl::block_scheduler_algorithm_offline_lru_prefetching::schedule_write(swappable_block_identifier_type)’: /usr/include/stxxl/bits/mng/block_scheduler.h:1217:22: error: ‘write_scheduled_blocks’ was not declared in this scope; did you mean ‘write_scheduled_blocks_iterator’? 1217 | bool t = write_scheduled_blocks.insert(std::make_pair(sbid, wrr)).second; | ^~~~~~~~~~~~~~~~~~~~~~ | write_scheduled_blocks_iterator /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘bool stxxl::block_scheduler_algorithm_offline_lru_prefetching::try_interrupt_read(const write_scheduled_blocks_iterator&)’: /usr/include/stxxl/bits/mng/block_scheduler.h:1235:22: error: base operand of ‘->’ is not a pointer 1235 | writing_block->second->shall_read = false; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1237:28: error: base operand of ‘->’ is not a pointer 1237 | if (! writing_block->second->write_done_soon) | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1240:58: error: base operand of ‘->’ is not a pointer 1240 | scheduled_blocks_reference taker = *writing_block->second->taker; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1244:19: error: request for member ‘second’ in ‘taker’, which is of non-class type ‘stxxl::block_scheduler_algorithm_offline_lru_prefetching::scheduled_blocks_reference’ {aka ‘int’} 1244 | if (taker.second.read_req.valid()) | ^~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘void stxxl::block_scheduler_algorithm_offline_lru_prefetching::schedule_read(scheduled_blocks_iterator)’: /usr/include/stxxl/bits/mng/block_scheduler.h:1260:46: error: ‘write_scheduled_blocks’ was not declared in this scope; did you mean ‘write_scheduled_blocks_iterator’? 1260 | write_scheduled_blocks_iterator it = write_scheduled_blocks.find(block_to_read->first); | ^~~~~~~~~~~~~~~~~~~~~~ | write_scheduled_blocks_iterator /usr/include/stxxl/bits/mng/block_scheduler.h:1260:87: error: base operand of ‘->’ is not a pointer 1260 | write_scheduled_blocks_iterator it = write_scheduled_blocks.find(block_to_read->first); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1263:63: error: base operand of ‘->’ is not a pointer 1263 | scheduled_blocks_iterator other_block_to_read = it->second->taker; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1265:19: error: base operand of ‘->’ is not a pointer 1265 | if (it->second->shall_read) | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1270:50: error: base operand of ‘->’ is not a pointer 1270 | std::swap(other_block_to_read->second.giver, block_to_read->second.giver); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1270:79: error: base operand of ‘->’ is not a pointer 1270 | std::swap(other_block_to_read->second.giver, block_to_read->second.giver); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1271:44: error: base operand of ‘->’ is not a pointer 1271 | if (other_block_to_read->second.giver.first) | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1273:109: error: base operand of ‘->’ is not a pointer 1273 | write_scheduled_blocks_iterator it = write_scheduled_blocks.find(other_block_to_read->second.giver.second); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1275:31: error: base operand of ‘->’ is not a pointer 1275 | it->second->taker = other_block_to_read; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1277:48: error: base operand of ‘->’ is not a pointer 1277 | other_block_to_read->second.giver.first = false; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1279:38: error: base operand of ‘->’ is not a pointer 1279 | if (block_to_read->second.giver.first) | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1281:103: error: base operand of ‘->’ is not a pointer 1281 | write_scheduled_blocks_iterator it = write_scheduled_blocks.find(block_to_read->second.giver.second); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1283:31: error: base operand of ‘->’ is not a pointer 1283 | it->second->taker = block_to_read; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1285:42: error: base operand of ‘->’ is not a pointer 1285 | block_to_read->second.giver.first = false; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1288:85: error: base operand of ‘->’ is not a pointer 1288 | internal_block_type* tmp_iblock = swappable_blocks[block_to_read->first].detach_internal_block(); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1289:51: error: base operand of ‘->’ is not a pointer 1289 | swappable_blocks[block_to_read->first].attach_internal_block( | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1290:61: error: base operand of ‘->’ is not a pointer 1290 | swappable_blocks[other_block_to_read->first].detach_internal_block()); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1291:57: error: base operand of ‘->’ is not a pointer 1291 | swappable_blocks[other_block_to_read->first].attach_internal_block(tmp_iblock); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1302:46: error: base operand of ‘->’ is not a pointer 1302 | std::swap(other_block_to_read->second.giver, block_to_read->second.giver); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1302:75: error: base operand of ‘->’ is not a pointer 1302 | std::swap(other_block_to_read->second.giver, block_to_read->second.giver); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1303:40: error: base operand of ‘->’ is not a pointer 1303 | if (other_block_to_read->second.giver.first) | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1305:105: error: base operand of ‘->’ is not a pointer 1305 | write_scheduled_blocks_iterator it = write_scheduled_blocks.find(other_block_to_read->second.giver.second); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1307:27: error: base operand of ‘->’ is not a pointer 1307 | it->second->taker = other_block_to_read; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1309:44: error: base operand of ‘->’ is not a pointer 1309 | other_block_to_read->second.giver.first = false; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1311:34: error: base operand of ‘->’ is not a pointer 1311 | if (block_to_read->second.giver.first) | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1313:99: error: base operand of ‘->’ is not a pointer 1313 | write_scheduled_blocks_iterator it = write_scheduled_blocks.find(block_to_read->second.giver.second); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1315:27: error: base operand of ‘->’ is not a pointer 1315 | it->second->taker = block_to_read; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1317:38: error: base operand of ‘->’ is not a pointer 1317 | block_to_read->second.giver.first = false; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1320:81: error: base operand of ‘->’ is not a pointer 1320 | internal_block_type* tmp_iblock = swappable_blocks[block_to_read->first].detach_internal_block(); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1321:47: error: base operand of ‘->’ is not a pointer 1321 | swappable_blocks[block_to_read->first].attach_internal_block( | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1322:40: error: base operand of ‘->’ is not a pointer 1322 | other_block_to_read->second.reserved_iblock); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1323:36: error: base operand of ‘->’ is not a pointer 1323 | other_block_to_read->second.reserved_iblock = tmp_iblock; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1330:26: error: base operand of ‘->’ is not a pointer 1330 | if (block_to_read->second.giver.first) | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1332:102: error: base operand of ‘->’ is not a pointer 1332 | write_scheduled_blocks_iterator writing_block = write_scheduled_blocks.find(block_to_read->second.giver.second); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1337:30: error: base operand of ‘->’ is not a pointer 1337 | writing_block->second->block_to_start_read = swappable_blocks.begin() + block_to_read->first; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1337:102: error: base operand of ‘->’ is not a pointer 1337 | writing_block->second->block_to_start_read = swappable_blocks.begin() + block_to_read->first; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1338:30: error: base operand of ‘->’ is not a pointer 1338 | writing_block->second->taker = block_to_read; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1339:30: error: base operand of ‘->’ is not a pointer 1339 | writing_block->second->shall_read = true; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1341:34: error: base operand of ‘->’ is not a pointer 1341 | if (writing_block->second->write_done_soon) | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1346:34: error: base operand of ‘->’ is not a pointer 1346 | block_to_read->second.giver.first = false; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1347:38: error: base operand of ‘->’ is not a pointer 1347 | if (block_to_read->second.read_req.valid()) | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1356:30: error: base operand of ‘->’ is not a pointer 1356 | block_to_read->second.giver.first = false; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1359:22: error: base operand of ‘->’ is not a pointer 1359 | block_to_read->second.read_req = swappable_blocks[block_to_read->first].read_async(); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1359:72: error: base operand of ‘->’ is not a pointer 1359 | block_to_read->second.read_req = swappable_blocks[block_to_read->first].read_async(); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘void stxxl::block_scheduler_algorithm_offline_lru_prefetching::wait_on_write(const write_scheduled_blocks_iterator&)’: /usr/include/stxxl/bits/mng/block_scheduler.h:1367:22: error: base operand of ‘->’ is not a pointer 1367 | writing_block->second->write_req->wait(); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1368:29: error: base operand of ‘->’ is not a pointer 1368 | delete writing_block->second; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1369:9: error: ‘write_scheduled_blocks’ was not declared in this scope; did you mean ‘write_scheduled_blocks_iterator’? 1369 | write_scheduled_blocks.erase(writing_block); | ^~~~~~~~~~~~~~~~~~~~~~ | write_scheduled_blocks_iterator /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘void stxxl::block_scheduler_algorithm_offline_lru_prefetching::wait_on_write(const swappable_block_identifier_type&)’: /usr/include/stxxl/bits/mng/block_scheduler.h:1377:46: error: ‘write_scheduled_blocks’ was not declared in this scope; did you mean ‘write_scheduled_blocks_iterator’? 1377 | write_scheduled_blocks_iterator it = write_scheduled_blocks.find(writing_block); | ^~~~~~~~~~~~~~~~~~~~~~ | write_scheduled_blocks_iterator /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘void stxxl::block_scheduler_algorithm_offline_lru_prefetching::wait_on_write(const scheduled_blocks_iterator&)’: /usr/include/stxxl/bits/mng/block_scheduler.h:1387:26: error: base operand of ‘->’ is not a pointer 1387 | if (schedule_meta->second.giver.first) | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1389:40: error: base operand of ‘->’ is not a pointer 1389 | wait_on_write(schedule_meta->second.giver.second); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1390:26: error: base operand of ‘->’ is not a pointer 1390 | schedule_meta->second.giver.first = false; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘void stxxl::block_scheduler_algorithm_offline_lru_prefetching::wait_on_read(const scheduled_blocks_iterator&)’: /usr/include/stxxl/bits/mng/block_scheduler.h:1400:26: error: base operand of ‘->’ is not a pointer 1400 | if (schedule_meta->second.read_req.valid()) | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1402:26: error: base operand of ‘->’ is not a pointer 1402 | schedule_meta->second.read_req->wait(); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1403:26: error: base operand of ‘->’ is not a pointer 1403 | schedule_meta->second.read_req = 0; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘stxxl::block_scheduler_algorithm_offline_lru_prefetching::internal_block_type* stxxl::block_scheduler_algorithm_offline_lru_prefetching::get_ready_block(const scheduled_blocks_iterator&)’: /usr/include/stxxl/bits/mng/block_scheduler.h:1413:47: error: base operand of ‘->’ is not a pointer 1413 | internal_block_type* r = schedule_meta->second.reserved_iblock; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1414:22: error: base operand of ‘->’ is not a pointer 1414 | schedule_meta->second.reserved_iblock = 0; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘bool stxxl::block_scheduler_algorithm_offline_lru_prefetching::shall_keep_internal_block(const scheduled_blocks_iterator&, bool) const’: /usr/include/stxxl/bits/mng/block_scheduler.h:1421:28: error: ‘deque’ in namespace ‘std’ does not name a template type 1421 | for (typename std::deque::reverse_iterator | ^~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:1421:28: note: ‘std::deque’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/mng/block_scheduler.h:1421:33: error: expected unqualified-id before ‘<’ token 1421 | for (typename std::deque::reverse_iterator | ^ /usr/include/stxxl/bits/mng/block_scheduler.h:1421:33: error: expected ‘;’ before ‘<’ token /usr/include/stxxl/bits/mng/block_scheduler.h:1421:33: error: expected primary-expression before ‘<’ token /usr/include/stxxl/bits/mng/block_scheduler.h:1421:59: error: expected primary-expression before ‘>’ token 1421 | for (typename std::deque::reverse_iterator | ^ /usr/include/stxxl/bits/mng/block_scheduler.h:1421:62: error: ‘::reverse_iterator’ has not been declared; did you mean ‘std::reverse_iterator’? 1421 | for (typename std::deque::reverse_iterator | ^~~~~~~~~~~~~~~~ | std::reverse_iterator /usr/include/c++/12/bits/stl_iterator.h:132:11: note: ‘std::reverse_iterator’ declared here 132 | class reverse_iterator | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:1422:14: error: expected ‘;’ before ‘rit’ 1422 | rit = schedule_meta->second.operations.rbegin() + ignore_first; | ^~~ /usr/include/stxxl/bits/mng/block_scheduler.h:1422:14: error: ‘rit’ was not declared in this scope; did you mean ‘rint’? 1422 | rit = schedule_meta->second.operations.rbegin() + ignore_first; | ^~~ | rint /usr/include/stxxl/bits/mng/block_scheduler.h:1422:33: error: base operand of ‘->’ is not a pointer 1422 | rit = schedule_meta->second.operations.rbegin() + ignore_first; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1422:76: error: expected ‘)’ before ‘;’ token 1422 | rit = schedule_meta->second.operations.rbegin() + ignore_first; | ^ /usr/include/stxxl/bits/mng/block_scheduler.h:1421:13: note: to match this ‘(’ 1421 | for (typename std::deque::reverse_iterator | ^ /usr/include/stxxl/bits/mng/block_scheduler.h:1423:14: error: ‘rit’ was not declared in this scope; did you mean ‘rint’? 1423 | rit != schedule_meta->second.operations.rend(); ++rit) | ^~~ | rint /usr/include/stxxl/bits/mng/block_scheduler.h:1423:34: error: base operand of ‘->’ is not a pointer 1423 | rit != schedule_meta->second.operations.rend(); ++rit) | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘bool stxxl::block_scheduler_algorithm_offline_lru_prefetching::shall_be_cleaned(const scheduled_blocks_iterator&) const’: /usr/include/stxxl/bits/mng/block_scheduler.h:1448:28: error: ‘deque’ in namespace ‘std’ does not name a template type 1448 | for (typename std::deque::reverse_iterator | ^~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:1448:28: note: ‘std::deque’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/mng/block_scheduler.h:1448:33: error: expected unqualified-id before ‘<’ token 1448 | for (typename std::deque::reverse_iterator | ^ /usr/include/stxxl/bits/mng/block_scheduler.h:1448:33: error: expected ‘;’ before ‘<’ token /usr/include/stxxl/bits/mng/block_scheduler.h:1448:33: error: expected primary-expression before ‘<’ token /usr/include/stxxl/bits/mng/block_scheduler.h:1448:59: error: expected primary-expression before ‘>’ token 1448 | for (typename std::deque::reverse_iterator | ^ /usr/include/stxxl/bits/mng/block_scheduler.h:1448:62: error: ‘::reverse_iterator’ has not been declared; did you mean ‘std::reverse_iterator’? 1448 | for (typename std::deque::reverse_iterator | ^~~~~~~~~~~~~~~~ | std::reverse_iterator /usr/include/c++/12/bits/stl_iterator.h:132:11: note: ‘std::reverse_iterator’ declared here 132 | class reverse_iterator | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:1449:14: error: expected ‘;’ before ‘rit’ 1449 | rit = schedule_meta->second.operations.rbegin() + 1; | ^~~ /usr/include/stxxl/bits/mng/block_scheduler.h:1449:14: error: ‘rit’ was not declared in this scope; did you mean ‘rint’? 1449 | rit = schedule_meta->second.operations.rbegin() + 1; | ^~~ | rint /usr/include/stxxl/bits/mng/block_scheduler.h:1449:33: error: base operand of ‘->’ is not a pointer 1449 | rit = schedule_meta->second.operations.rbegin() + 1; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1449:65: error: expected ‘)’ before ‘;’ token 1449 | rit = schedule_meta->second.operations.rbegin() + 1; | ^ /usr/include/stxxl/bits/mng/block_scheduler.h:1448:13: note: to match this ‘(’ 1448 | for (typename std::deque::reverse_iterator | ^ /usr/include/stxxl/bits/mng/block_scheduler.h:1450:14: error: ‘rit’ was not declared in this scope; did you mean ‘rint’? 1450 | rit != schedule_meta->second.operations.rend(); ++rit) | ^~~ | rint /usr/include/stxxl/bits/mng/block_scheduler.h:1450:34: error: base operand of ‘->’ is not a pointer 1450 | rit != schedule_meta->second.operations.rend(); ++rit) | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘bool stxxl::block_scheduler_algorithm_offline_lru_prefetching::shall_be_read(const scheduled_blocks_iterator&, bool) const’: /usr/include/stxxl/bits/mng/block_scheduler.h:1474:46: error: base operand of ‘->’ is not a pointer 1474 | return swappable_blocks[schedule_meta->first].is_initialized() | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1475:32: error: base operand of ‘->’ is not a pointer 1475 | && schedule_meta->second.operations.rbegin() + ignore_first != schedule_meta->second.operations.rend() | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1475:92: error: base operand of ‘->’ is not a pointer 1475 | && schedule_meta->second.operations.rbegin() + ignore_first != schedule_meta->second.operations.rend() | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1476:34: error: base operand of ‘->’ is not a pointer 1476 | && *(schedule_meta->second.operations.rbegin() + ignore_first) == block_scheduler_type::op_acquire; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘void stxxl::block_scheduler_algorithm_offline_lru_prefetching::operation_done(scheduled_blocks_iterator&)’: /usr/include/stxxl/bits/mng/block_scheduler.h:1481:22: error: base operand of ‘->’ is not a pointer 1481 | schedule_meta->second.operations.pop_back(); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1482:26: error: base operand of ‘->’ is not a pointer 1482 | if (schedule_meta->second.operations.empty()) | ^~ In file included from /usr/include/c++/12/cassert:44, from /usr/include/stxxl/bits/common/uint_types.h:26, from /tmp/U7304441Ge/dump1.h:51: /usr/include/stxxl/bits/mng/block_scheduler.h:1484:13: error: base operand of ‘->’ is not a pointer 1484 | assert(! schedule_meta->second.giver.first); | ^~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:1485:13: error: ‘scheduled_blocks’ was not declared in this scope; did you mean ‘scheduled_block_meta’? 1485 | scheduled_blocks.erase(schedule_meta); | ^~~~~~~~~~~~~~~~ | scheduled_block_meta /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘void stxxl::block_scheduler_algorithm_offline_lru_prefetching::schedule_next_operations()’: /usr/include/stxxl/bits/mng/block_scheduler.h:1508:66: error: ‘scheduled_blocks’ was not declared in this scope; did you mean ‘scheduled_block_meta’? 1508 | std::pair ins_res = scheduled_blocks.insert( | ^~~~~~~~~~~~~~~~ | scheduled_block_meta /usr/include/stxxl/bits/mng/block_scheduler.h:1512:30: error: base operand of ‘->’ is not a pointer 1512 | schedule_meta->second.operations.push_front(next_op_to_schedule->op); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1526:40: error: base operand of ‘->’ is not a pointer 1526 | if (! schedule_meta->second.reserved_iblock) | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1530:38: error: base operand of ‘->’ is not a pointer 1530 | schedule_meta->second.reserved_iblock = get_free_internal_block_from_block_scheduler(); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1531:44: error: base operand of ‘->’ is not a pointer 1531 | if (! schedule_meta->second.reserved_iblock) | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1541:50: error: base operand of ‘->’ is not a pointer 1541 | schedule_meta->second.operations.pop_front(); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1551:42: error: base operand of ‘->’ is not a pointer 1551 | schedule_meta->second.giver.first = (wrr != NULL); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1552:42: error: base operand of ‘->’ is not a pointer 1552 | schedule_meta->second.giver.second = giver; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1553:42: error: base operand of ‘->’ is not a pointer 1553 | schedule_meta->second.reserved_iblock = swappable_blocks[giver].detach_internal_block(); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1562:71: error: base operand of ‘->’ is not a pointer 1562 | sblock.attach_internal_block(schedule_meta->second.reserved_iblock); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1563:42: error: base operand of ‘->’ is not a pointer 1563 | schedule_meta->second.reserved_iblock = 0; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1582:19: error: ‘write_scheduled_blocks’ was not declared in this scope; did you mean ‘write_scheduled_blocks_iterator’? 1582 | if (! write_scheduled_blocks.count(*it)) | ^~~~~~~~~~~~~~~~~~~~~~ | write_scheduled_blocks_iterator /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘void stxxl::block_scheduler_algorithm_offline_lru_prefetching::deinit()’: /usr/include/stxxl/bits/mng/block_scheduler.h:1602:15: error: ‘scheduled_blocks’ was not declared in this scope; did you mean ‘scheduled_block_meta’? 1602 | if (! scheduled_blocks.empty()) | ^~~~~~~~~~~~~~~~ | scheduled_block_meta /usr/include/stxxl/bits/mng/block_scheduler.h:1613:18: error: ‘scheduled_blocks’ was not declared in this scope; did you mean ‘scheduled_block_meta’? 1613 | while (! scheduled_blocks.empty()) | ^~~~~~~~~~~~~~~~ | scheduled_block_meta /usr/include/stxxl/bits/mng/block_scheduler.h:1617:19: error: base operand of ‘->’ is not a pointer 1617 | if (it->second.reserved_iblock) | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1618:46: error: base operand of ‘->’ is not a pointer 1618 | return_free_internal_block(it->second.reserved_iblock); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1621:18: error: ‘write_scheduled_blocks’ was not declared in this scope; did you mean ‘write_scheduled_blocks_iterator’? 1621 | while (! write_scheduled_blocks.empty()) | ^~~~~~~~~~~~~~~~~~~~~~ | write_scheduled_blocks_iterator /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘virtual stxxl::block_scheduler_algorithm_offline_lru_prefetching::internal_block_type& stxxl::block_scheduler_algorithm_offline_lru_prefetching::acquire(swappable_block_identifier_type, bool)’: /usr/include/stxxl/bits/mng/block_scheduler.h:1667:51: error: ‘scheduled_blocks’ was not declared in this scope; did you mean ‘scheduled_block_meta’? 1667 | scheduled_blocks_iterator schedule_meta = scheduled_blocks.find(sbid); | ^~~~~~~~~~~~~~~~ | scheduled_block_meta /usr/include/stxxl/bits/mng/block_scheduler.h:1669:9: error: base operand of ‘->’ is not a pointer 1669 | assert(schedule_meta->second.operations.back() == | ^~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘virtual void stxxl::block_scheduler_algorithm_offline_lru_prefetching::release(swappable_block_identifier_type, bool)’: /usr/include/stxxl/bits/mng/block_scheduler.h:1711:51: error: ‘scheduled_blocks’ was not declared in this scope; did you mean ‘scheduled_block_meta’? 1711 | scheduled_blocks_iterator schedule_meta = scheduled_blocks.find(sbid); | ^~~~~~~~~~~~~~~~ | scheduled_block_meta /usr/include/stxxl/bits/mng/block_scheduler.h:1713:9: error: base operand of ‘->’ is not a pointer 1713 | assert(schedule_meta->second.operations.back() == | ^~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:1738:31: error: ‘write_scheduled_blocks’ was not declared in this scope; did you mean ‘write_scheduled_blocks_iterator’? 1738 | if (! write_scheduled_blocks.count(sbid)) | ^~~~~~~~~~~~~~~~~~~~~~ | write_scheduled_blocks_iterator /usr/include/stxxl/bits/mng/block_scheduler.h:1748:34: error: base operand of ‘->’ is not a pointer 1748 | schedule_meta->second.reserved_iblock = sblock.detach_internal_block(); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘virtual void stxxl::block_scheduler_algorithm_offline_lru_prefetching::deinitialize(swappable_block_identifier_type)’: /usr/include/stxxl/bits/mng/block_scheduler.h:1767:51: error: ‘scheduled_blocks’ was not declared in this scope; did you mean ‘scheduled_block_meta’? 1767 | scheduled_blocks_iterator schedule_meta = scheduled_blocks.find(sbid); | ^~~~~~~~~~~~~~~~ | scheduled_block_meta /usr/include/stxxl/bits/mng/block_scheduler.h:1769:9: error: base operand of ‘->’ is not a pointer 1769 | assert(schedule_meta->second.operations.back() == block_scheduler_type::op_deinitialize); | ^~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:1791:30: error: base operand of ‘->’ is not a pointer 1791 | schedule_meta->second.reserved_iblock = iblock; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘virtual void stxxl::block_scheduler_algorithm_offline_lru_prefetching::initialize(swappable_block_identifier_type, external_block_type)’: /usr/include/stxxl/bits/mng/block_scheduler.h:1809:51: error: ‘scheduled_blocks’ was not declared in this scope; did you mean ‘scheduled_block_meta’? 1809 | scheduled_blocks_iterator schedule_meta = scheduled_blocks.find(sbid); | ^~~~~~~~~~~~~~~~ | scheduled_block_meta /usr/include/stxxl/bits/mng/block_scheduler.h:1811:9: error: base operand of ‘->’ is not a pointer 1811 | assert(schedule_meta->second.operations.back() == block_scheduler_type::op_initialize); | ^~~~~~ /usr/include/stxxl/bits/mng/block_scheduler.h:1817:55: error: base operand of ‘->’ is not a pointer 1817 | sblock.attach_internal_block(schedule_meta->second.reserved_iblock); | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h:1818:26: error: base operand of ‘->’ is not a pointer 1818 | schedule_meta->second.reserved_iblock = 0; | ^~ /usr/include/stxxl/bits/mng/block_scheduler.h: In member function ‘virtual stxxl::block_scheduler_algorithm_offline_lru_prefetching::external_block_type stxxl::block_scheduler_algorithm_offline_lru_prefetching::extract_external_block(swappable_block_identifier_type)’: /usr/include/stxxl/bits/mng/block_scheduler.h:1831:51: error: ‘scheduled_blocks’ was not declared in this scope; did you mean ‘scheduled_block_meta’? 1831 | scheduled_blocks_iterator schedule_meta = scheduled_blocks.find(sbid); | ^~~~~~~~~~~~~~~~ | scheduled_block_meta /usr/include/stxxl/bits/mng/block_scheduler.h:1833:9: error: base operand of ‘->’ is not a pointer 1833 | assert(schedule_meta->second.operations.back() == block_scheduler_type::op_extract_external_block); | ^~~~~~ /usr/include/stxxl/bits/containers/matrix.h: At global scope: /usr/include/stxxl/bits/containers/matrix.h:239:18: error: ‘vector’ in namespace ‘std’ does not name a template type 239 | typedef std::vector blocks_type; | ^~~~~~ /usr/include/stxxl/bits/containers/matrix.h:20:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 19 | #include +++ |+#include 20 | /usr/include/stxxl/bits/containers/matrix.h:258:5: error: ‘blocks_type’ does not name a type 258 | blocks_type blocks; | ^~~~~~~~~~~ /usr/include/stxxl/bits/containers/matrix.h: In member function ‘stxxl::swappable_block_matrix::swappable_block_identifier_type& stxxl::swappable_block_matrix::bl(size_type, size_type)’: /usr/include/stxxl/bits/containers/matrix.h:264:14: error: ‘blocks’ was not declared in this scope; did you mean ‘block’? 264 | { return blocks[row * width + col]; } | ^~~~~~ | block /usr/include/stxxl/bits/containers/matrix.h: In constructor ‘stxxl::swappable_block_matrix::swappable_block_matrix(block_scheduler_type&, size_type, size_type, bool)’: /usr/include/stxxl/bits/containers/matrix.h:274:11: error: class ‘stxxl::swappable_block_matrix’ does not have any field named ‘blocks’ 274 | blocks(height * width), | ^~~~~~ /usr/include/stxxl/bits/containers/matrix.h: In constructor ‘stxxl::swappable_block_matrix::swappable_block_matrix(const stxxl::swappable_block_matrix&, size_type, size_type, size_type, size_type)’: /usr/include/stxxl/bits/containers/matrix.h:295:11: error: class ‘stxxl::swappable_block_matrix’ does not have any field named ‘blocks’ 295 | blocks(height * width), | ^~~~~~ /usr/include/stxxl/bits/containers/matrix.h: In constructor ‘stxxl::swappable_block_matrix::swappable_block_matrix(const stxxl::swappable_block_matrix&, const stxxl::swappable_block_matrix&, const stxxl::swappable_block_matrix&, const stxxl::swappable_block_matrix&)’: /usr/include/stxxl/bits/containers/matrix.h:321:11: error: class ‘stxxl::swappable_block_matrix’ does not have any field named ‘blocks’ 321 | blocks(height * width), | ^~~~~~ /usr/include/stxxl/bits/containers/matrix.h: In copy constructor ‘stxxl::swappable_block_matrix::swappable_block_matrix(const stxxl::swappable_block_matrix&)’: /usr/include/stxxl/bits/containers/matrix.h:347:11: error: class ‘stxxl::swappable_block_matrix’ does not have any field named ‘blocks’ 347 | blocks(height * width), | ^~~~~~ /usr/include/stxxl/bits/containers/matrix.h: In member function ‘const stxxl::swappable_block_matrix::swappable_block_identifier_type& stxxl::swappable_block_matrix::block(size_type, size_type) const’: /usr/include/stxxl/bits/containers/matrix.h:385:14: error: ‘blocks’ was not declared in this scope; did you mean ‘block’? 385 | { return blocks[row * width + col]; } | ^~~~~~ | block /usr/include/stxxl/bits/containers/matrix.h: In member function ‘void stxxl::swappable_block_matrix::transpose()’: /usr/include/stxxl/bits/containers/matrix.h:404:9: error: ‘blocks_type’ was not declared in this scope 404 | blocks_type bn(blocks.size()); | ^~~~~~~~~~~ /usr/include/stxxl/bits/containers/matrix.h:407:17: error: ‘bn’ was not declared in this scope; did you mean ‘bs’? 407 | bn[col * height + row] = bl(row, col); | ^~ | bs /usr/include/stxxl/bits/containers/matrix.h:408:9: error: ‘bn’ was not declared in this scope; did you mean ‘bs’? 408 | bn.swap(blocks); | ^~ | bs /usr/include/stxxl/bits/containers/matrix.h:408:17: error: ‘blocks’ was not declared in this scope; did you mean ‘block’? 408 | bn.swap(blocks); | ^~~~~~ | block /usr/include/stxxl/bits/containers/matrix.h: In member function ‘void stxxl::swappable_block_matrix::set_zero()’: /usr/include/stxxl/bits/containers/matrix.h:417:34: error: expected ‘;’ before ‘::’ token 417 | for (typename blocks_type::iterator it = blocks.begin(); it != blocks.end(); ++it) | ^~ /usr/include/stxxl/bits/containers/matrix.h:417:36: error: ‘::iterator’ has not been declared; did you mean ‘std::iterator’? 417 | for (typename blocks_type::iterator it = blocks.begin(); it != blocks.end(); ++it) | ^~~~~~~~ | std::iterator /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: ‘std::iterator’ declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /usr/include/stxxl/bits/containers/matrix.h:417:45: error: expected ‘;’ before ‘it’ 417 | for (typename blocks_type::iterator it = blocks.begin(); it != blocks.end(); ++it) | ^~ /usr/include/stxxl/bits/containers/matrix.h:417:45: error: ‘it’ was not declared in this scope; did you mean ‘int’? 417 | for (typename blocks_type::iterator it = blocks.begin(); it != blocks.end(); ++it) | ^~ | int /usr/include/stxxl/bits/containers/matrix.h:417:50: error: ‘blocks’ was not declared in this scope; did you mean ‘block’? 417 | for (typename blocks_type::iterator it = blocks.begin(); it != blocks.end(); ++it) | ^~~~~~ | block /usr/include/stxxl/bits/containers/matrix.h:417:64: error: expected ‘)’ before ‘;’ token 417 | for (typename blocks_type::iterator it = blocks.begin(); it != blocks.end(); ++it) | ^ /usr/include/stxxl/bits/containers/matrix.h:417:13: note: to match this ‘(’ 417 | for (typename blocks_type::iterator it = blocks.begin(); it != blocks.end(); ++it) | ^ /usr/include/stxxl/bits/containers/matrix.h:417:66: error: ‘it’ was not declared in this scope; did you mean ‘int’? 417 | for (typename blocks_type::iterator it = blocks.begin(); it != blocks.end(); ++it) | ^~ | int /usr/include/stxxl/bits/containers/matrix.h:417:72: error: ‘blocks’ was not declared in this scope; did you mean ‘block’? 417 | for (typename blocks_type::iterator it = blocks.begin(); it != blocks.end(); ++it) | ^~~~~~ | block In file included from /usr/include/stxxl/bits/containers/pq_ext_merger.h:19, from /tmp/U7304441Ge/dump1.h:76: /usr/include/stxxl/bits/containers/pq_helpers.h: At global scope: /usr/include/stxxl/bits/containers/pq_helpers.h:90:61: error: ‘vector’ in namespace ‘std’ does not name a template type 90 | template , | ^~~~~~ /usr/include/stxxl/bits/containers/pq_helpers.h:21:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 20 | #include +++ |+#include 21 | /usr/include/stxxl/bits/containers/pq_helpers.h:90:67: error: expected ‘>’ before ‘<’ token 90 | template , | ^ /usr/include/stxxl/bits/containers/pq_helpers.h:97:13: error: ‘CompareType’ does not name a type; did you mean ‘ContainerType’? 97 | typedef CompareType compare_type; | ^~~~~~~~~~~ | ContainerType /usr/include/stxxl/bits/containers/pq_helpers.h:105:5: error: ‘CompareType’ does not name a type; did you mean ‘ContainerType’? 105 | CompareType comp; | ^~~~~~~~~~~ | ContainerType /usr/include/stxxl/bits/containers/pq_helpers.h: In member function ‘void stxxl::priority_queue_local::internal_priority_queue::push(const value_type&)’: /usr/include/stxxl/bits/containers/pq_helpers.h:148:67: error: ‘comp’ was not declared in this scope 148 | std::push_heap(heap.begin(), heap.begin() + current_size, comp); | ^~~~ /usr/include/stxxl/bits/containers/pq_helpers.h: In member function ‘void stxxl::priority_queue_local::internal_priority_queue::pop()’: /usr/include/stxxl/bits/containers/pq_helpers.h:165:66: error: ‘comp’ was not declared in this scope 165 | std::pop_heap(heap.begin(), heap.begin() + current_size, comp); | ^~~~ /usr/include/stxxl/bits/containers/pq_helpers.h: In member function ‘void stxxl::priority_queue_local::internal_priority_queue::sort_to(value_type*)’: /usr/include/stxxl/bits/containers/pq_helpers.h:174:57: error: ‘comp’ was not declared in this scope 174 | sort(heap.begin(), heap.begin() + current_size, comp); | ^~~~ /usr/include/stxxl/bits/containers/pq_ext_merger.h: In member function ‘void stxxl::priority_queue_local::ext_merger::multi_merge(OutputIterator, OutputIterator)’: /usr/include/stxxl/bits/containers/pq_ext_merger.h:582:14: error: ‘vector’ is not a member of ‘std’ 582 | std::vector seqs; | ^~~~~~ /usr/include/stxxl/bits/containers/pq_ext_merger.h:20:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 19 | #include +++ |+#include 20 | /usr/include/stxxl/bits/containers/pq_ext_merger.h:582:29: error: expected primary-expression before ‘>’ token 582 | std::vector seqs; | ^ /usr/include/stxxl/bits/containers/pq_ext_merger.h:582:31: error: ‘seqs’ was not declared in this scope 582 | std::vector seqs; | ^~~~ /usr/include/stxxl/bits/containers/pq_ext_merger.h:583:14: error: ‘vector’ is not a member of ‘std’ 583 | std::vector orig_seq_index; | ^~~~~~ /usr/include/stxxl/bits/containers/pq_ext_merger.h:583:14: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/pq_ext_merger.h:583:34: error: expected primary-expression before ‘>’ token 583 | std::vector orig_seq_index; | ^ /usr/include/stxxl/bits/containers/pq_ext_merger.h:583:36: error: ‘orig_seq_index’ was not declared in this scope 583 | std::vector orig_seq_index; | ^~~~~~~~~~~~~~ In file included from /tmp/U7304441Ge/dump1.h:78: /usr/include/stxxl/bits/containers/pq_losertree.h: In member function ‘void stxxl::priority_queue_local::loser_tree::multi_merge(Element*, stxxl::unsigned_type)’: /usr/include/stxxl/bits/containers/pq_losertree.h:620:18: error: ‘vector’ is not a member of ‘std’ 620 | std::vector > seqs; | ^~~~~~ /usr/include/stxxl/bits/containers/pq_losertree.h:1:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? +++ |+#include 1 | /*************************************************************************** /usr/include/stxxl/bits/containers/pq_losertree.h:620:55: error: expected primary-expression before ‘>’ token 620 | std::vector > seqs; | ^ /usr/include/stxxl/bits/containers/pq_losertree.h:620:57: error: ‘seqs’ was not declared in this scope 620 | std::vector > seqs; | ^~~~ /usr/include/stxxl/bits/containers/pq_losertree.h:621:18: error: ‘vector’ is not a member of ‘std’ 621 | std::vector orig_seq_index; | ^~~~~~ /usr/include/stxxl/bits/containers/pq_losertree.h:621:18: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/stxxl/bits/containers/pq_losertree.h:621:33: error: expected primary-expression before ‘>’ token 621 | std::vector orig_seq_index; | ^ /usr/include/stxxl/bits/containers/pq_losertree.h:621:35: error: ‘orig_seq_index’ was not declared in this scope 621 | std::vector orig_seq_index; | ^~~~~~~~~~~~~~ In file included from /tmp/U7304441Ge/dump1.h:80: /usr/include/stxxl/bits/containers/priority_queue.h: At global scope: /usr/include/stxxl/bits/containers/priority_queue.h:126:76: error: ‘vector’ is not a member of ‘std’ 126 | typedef priority_queue_local::internal_priority_queue, comparator_type> | ^~~~~~ /usr/include/stxxl/bits/containers/priority_queue.h:27:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 26 | #include +++ |+#include 27 | /usr/include/stxxl/bits/containers/priority_queue.h:126:93: error: template argument 2 is invalid 126 | typedef priority_queue_local::internal_priority_queue, comparator_type> | ^ /usr/include/stxxl/bits/containers/priority_queue.h:126:94: error: expected unqualified-id before ‘,’ token 126 | typedef priority_queue_local::internal_priority_queue, comparator_type> | ^ /usr/include/stxxl/bits/containers/priority_queue.h:157:5: error: ‘insert_heap_type’ does not name a type 157 | insert_heap_type insert_heap; | ^~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/priority_queue.h: In member function ‘stxxl::priority_queue::size_type stxxl::priority_queue::size() const’: /usr/include/stxxl/bits/containers/priority_queue.h:327:12: error: ‘insert_heap’ was not declared in this scope; did you mean ‘empty_insert_heap’? 327 | insert_heap.size() - 1 + | ^~~~~~~~~~~ | empty_insert_heap /usr/include/stxxl/bits/containers/priority_queue.h: In member function ‘const stxxl::priority_queue::value_type& stxxl::priority_queue::top() const’: /usr/include/stxxl/bits/containers/priority_queue.h:335:13: error: ‘insert_heap’ was not declared in this scope; did you mean ‘empty_insert_heap’? 335 | assert(!insert_heap.empty()); | ^~~~~~~~~~~ /usr/include/stxxl/bits/containers/priority_queue.h: In member function ‘void stxxl::priority_queue::pop()’: /usr/include/stxxl/bits/containers/priority_queue.h:348:13: error: ‘insert_heap’ was not declared in this scope; did you mean ‘empty_insert_heap’? 348 | assert(!insert_heap.empty()); | ^~~~~~~~~~~ /usr/include/stxxl/bits/containers/priority_queue.h: In member function ‘void stxxl::priority_queue::push(const value_type&)’: /usr/include/stxxl/bits/containers/priority_queue.h:366:9: error: ‘insert_heap’ was not declared in this scope; did you mean ‘empty_insert_heap’? 366 | if (insert_heap.size() == N + 1) | ^~~~~~~~~~~ | empty_insert_heap /usr/include/stxxl/bits/containers/priority_queue.h:369:13: error: ‘insert_heap’ was not declared in this scope; did you mean ‘empty_insert_heap’? 369 | assert(!insert_heap.empty()); | ^~~~~~~~~~~ /usr/include/stxxl/bits/containers/priority_queue.h: In constructor ‘stxxl::priority_queue::priority_queue(pool_type&)’: /usr/include/stxxl/bits/containers/priority_queue.h:381:7: error: class ‘stxxl::priority_queue’ does not have any field named ‘insert_heap’ 381 | insert_heap(N + 2), | ^~~~~~~~~~~ /usr/include/stxxl/bits/containers/priority_queue.h: In constructor ‘stxxl::priority_queue::priority_queue(stxxl::prefetch_pool::BlockSize, typename ConfigType::value_type> >&, stxxl::write_pool::BlockSize, typename ConfigType::value_type> >&)’: /usr/include/stxxl/bits/containers/priority_queue.h:394:7: error: class ‘stxxl::priority_queue’ does not have any field named ‘insert_heap’ 394 | insert_heap(N + 2), | ^~~~~~~~~~~ /usr/include/stxxl/bits/containers/priority_queue.h: In constructor ‘stxxl::priority_queue::priority_queue(stxxl::unsigned_type, stxxl::unsigned_type)’: /usr/include/stxxl/bits/containers/priority_queue.h:406:7: error: class ‘stxxl::priority_queue’ does not have any field named ‘insert_heap’ 406 | insert_heap(N + 2), | ^~~~~~~~~~~ /usr/include/stxxl/bits/containers/priority_queue.h: In member function ‘void stxxl::priority_queue::init()’: /usr/include/stxxl/bits/containers/priority_queue.h:425:5: error: ‘insert_heap’ was not declared in this scope; did you mean ‘empty_insert_heap’? 425 | insert_heap.push(sentinel); // always keep the sentinel | ^~~~~~~~~~~ | empty_insert_heap /usr/include/stxxl/bits/containers/priority_queue.h: In member function ‘void stxxl::priority_queue::empty_insert_heap()’: /usr/include/stxxl/bits/containers/priority_queue.h:733:12: error: ‘insert_heap’ was not declared in this scope; did you mean ‘empty_insert_heap’? 733 | assert(insert_heap.size() == (N + 1)); | ^~~~~~~~~~~ /usr/include/stxxl/bits/containers/priority_queue.h: In member function ‘void stxxl::priority_queue::dump_sizes() const’: /usr/include/stxxl/bits/containers/priority_queue.h:815:38: error: ‘insert_heap’ was not declared in this scope; did you mean ‘empty_insert_heap’? 815 | STXXL_MSG(" insert_heap\t= " << insert_heap.size() - 1 << "/" << capacity); | ^~~~~~~~~~~ In file included from /tmp/U7304441Ge/dump1.h:82: /usr/include/stxxl/bits/containers/sequence.h: At global scope: /usr/include/stxxl/bits/containers/sequence.h:75:18: error: ‘deque’ in namespace ‘std’ does not name a template type 75 | typedef std::deque bid_deque_type; | ^~~~~ /usr/include/stxxl/bits/containers/sequence.h:19:1: note: ‘std::deque’ is defined in header ‘’; did you forget to ‘#include ’? 18 | #include +++ |+#include 19 | /usr/include/stxxl/bits/containers/sequence.h:108:5: error: ‘bid_deque_type’ does not name a type 108 | bid_deque_type m_bids; | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/sequence.h:571:26: error: ‘bid_deque_type’ has not been declared 571 | typedef typename bid_deque_type::const_iterator bid_iter_type; | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/sequence.h:702:26: error: ‘bid_deque_type’ has not been declared 702 | typedef typename bid_deque_type::const_reverse_iterator bid_iter_type; | ^~~~~~~~~~~~~~ /usr/include/stxxl/bits/containers/sequence.h: In member function ‘void stxxl::sequence::swap(stxxl::sequence&)’: /usr/include/stxxl/bits/containers/sequence.h:187:19: error: ‘m_bids’ was not declared in this scope 187 | std::swap(m_bids, obj.m_bids); | ^~~~~~ /usr/include/stxxl/bits/containers/sequence.h: In member function ‘void stxxl::sequence::push_front(const value_type&)’: /usr/include/stxxl/bits/containers/sequence.h:270:24: error: ‘m_bids’ was not declared in this scope 270 | assert(m_bids.empty()); | ^~~~~~ /usr/include/stxxl/bits/containers/sequence.h:294:17: error: ‘m_bids’ was not declared in this scope 294 | m_bids.push_front(newbid); | ^~~~~~ /usr/include/stxxl/bits/containers/sequence.h: In member function ‘void stxxl::sequence::push_back(const value_type&)’: /usr/include/stxxl/bits/containers/sequence.h:331:24: error: ‘m_bids’ was not declared in this scope 331 | assert(m_bids.empty()); | ^~~~~~ /usr/include/stxxl/bits/containers/sequence.h:355:17: error: ‘m_bids’ was not declared in this scope 355 | m_bids.push_back(newbid); | ^~~~~~ /usr/include/stxxl/bits/containers/sequence.h: In member function ‘void stxxl::sequence::pop_front()’: /usr/include/stxxl/bits/containers/sequence.h:389:24: error: ‘m_bids’ was not declared in this scope 389 | assert(m_bids.empty()); | ^~~~~~ /usr/include/stxxl/bits/containers/sequence.h:401:24: error: ‘m_bids’ was not declared in this scope 401 | assert(m_bids.empty()); | ^~~~~~ /usr/include/stxxl/bits/containers/sequence.h:410:21: error: ‘m_bids’ was not declared in this scope 410 | assert(!m_bids.empty()); | ^~~~~~ /usr/include/stxxl/bits/containers/sequence.h:411:13: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 411 | request_ptr req = m_pool->read(m_front_block, m_bids.front()); | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/containers/sequence.h:422:13: error: ‘req’ was not declared in this scope 422 | req->wait(); | ^~~ /usr/include/stxxl/bits/containers/sequence.h: In member function ‘void stxxl::sequence::pop_back()’: /usr/include/stxxl/bits/containers/sequence.h:447:24: error: ‘m_bids’ was not declared in this scope 447 | assert(m_bids.empty()); | ^~~~~~ /usr/include/stxxl/bits/containers/sequence.h:459:24: error: ‘m_bids’ was not declared in this scope 459 | assert(m_bids.empty()); | ^~~~~~ /usr/include/stxxl/bits/containers/sequence.h:469:21: error: ‘m_bids’ was not declared in this scope 469 | assert(!m_bids.empty()); | ^~~~~~ /usr/include/stxxl/bits/containers/sequence.h:470:13: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 470 | request_ptr req = m_pool->read(m_back_block, m_bids.back()); | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/containers/sequence.h:481:13: error: ‘req’ was not declared in this scope 481 | req->wait(); | ^~~ /usr/include/stxxl/bits/containers/sequence.h: In destructor ‘stxxl::sequence::~sequence()’: /usr/include/stxxl/bits/containers/sequence.h:558:14: error: ‘m_bids’ was not declared in this scope 558 | if (!m_bids.empty()) | ^~~~~~ /usr/include/stxxl/bits/containers/sequence.h: In member function ‘stxxl::sequence::stream& stxxl::sequence::stream::operator++()’: /usr/include/stxxl/bits/containers/sequence.h:659:17: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 659 | request_ptr req = m_sequence.m_pool->read(m_current_block, *m_next_bid); | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/containers/sequence.h:660:138: error: invalid type argument of unary ‘*’ (have ‘stxxl::sequence::stream::bid_iter_type’ {aka ‘int’}) 660 | STXXL_VERBOSE_SEQUENCE("sequence[" << this << "]::stream::operator++ read block " << m_current_block << " @ " << FMT_BID(*m_next_bid)); | ^~~~~~~~~~~ /usr/include/stxxl/bits/containers/sequence.h:660:138: error: invalid type argument of unary ‘*’ (have ‘stxxl::sequence::stream::bid_iter_type’ {aka ‘int’}) 660 | STXXL_VERBOSE_SEQUENCE("sequence[" << this << "]::stream::operator++ read block " << m_current_block << " @ " << FMT_BID(*m_next_bid)); | ^~~~~~~~~~~ /usr/include/stxxl/bits/containers/sequence.h:660:138: error: invalid type argument of unary ‘*’ (have ‘stxxl::sequence::stream::bid_iter_type’ {aka ‘int’}) 660 | STXXL_VERBOSE_SEQUENCE("sequence[" << this << "]::stream::operator++ read block " << m_current_block << " @ " << FMT_BID(*m_next_bid)); | ^~~~~~~~~~~ /usr/include/stxxl/bits/containers/sequence.h:667:45: error: invalid type argument of unary ‘*’ (have ‘stxxl::sequence::stream::bid_iter_type’ {aka ‘int’}) 667 | m_sequence.m_pool->hint(*bid); | ^~~~ /usr/include/stxxl/bits/containers/sequence.h:671:17: error: ‘req’ was not declared in this scope 671 | req->wait(); | ^~~ /usr/include/stxxl/bits/containers/sequence.h: In member function ‘stxxl::sequence::reverse_stream& stxxl::sequence::reverse_stream::operator++()’: /usr/include/stxxl/bits/containers/sequence.h:790:17: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 790 | request_ptr req = m_sequence.m_pool->read(m_current_block, *m_next_bid); | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/containers/sequence.h:791:146: error: invalid type argument of unary ‘*’ (have ‘stxxl::sequence::reverse_stream::bid_iter_type’ {aka ‘int’}) 791 | STXXL_VERBOSE_SEQUENCE("sequence[" << this << "]::reverse_stream::operator++ read block " << m_current_block << " @ " << FMT_BID(*m_next_bid)); | ^~~~~~~~~~~ /usr/include/stxxl/bits/containers/sequence.h:791:146: error: invalid type argument of unary ‘*’ (have ‘stxxl::sequence::reverse_stream::bid_iter_type’ {aka ‘int’}) 791 | STXXL_VERBOSE_SEQUENCE("sequence[" << this << "]::reverse_stream::operator++ read block " << m_current_block << " @ " << FMT_BID(*m_next_bid)); | ^~~~~~~~~~~ /usr/include/stxxl/bits/containers/sequence.h:791:146: error: invalid type argument of unary ‘*’ (have ‘stxxl::sequence::reverse_stream::bid_iter_type’ {aka ‘int’}) 791 | STXXL_VERBOSE_SEQUENCE("sequence[" << this << "]::reverse_stream::operator++ read block " << m_current_block << " @ " << FMT_BID(*m_next_bid)); | ^~~~~~~~~~~ /usr/include/stxxl/bits/containers/sequence.h:798:45: error: invalid type argument of unary ‘*’ (have ‘stxxl::sequence::reverse_stream::bid_iter_type’ {aka ‘int’}) 798 | m_sequence.m_pool->hint(*bid); | ^~~~ /usr/include/stxxl/bits/containers/sequence.h:802:17: error: ‘req’ was not declared in this scope 802 | req->wait(); | ^~~ In file included from /tmp/U7304441Ge/dump1.h:95: /usr/include/stxxl/bits/io/fileperblock_file.h: At global scope: /usr/include/stxxl/bits/io/fileperblock_file.h:32:5: error: ‘offset_type’ does not name a type 32 | offset_type current_size; | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/fileperblock_file.h:38:36: error: ‘offset_type’ has not been declared 38 | std::string filename_for_block(offset_type offset); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/fileperblock_file.h:53:38: error: ‘offset_type’ has not been declared 53 | virtual void serve(void* buffer, offset_type offset, size_type bytes, | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/fileperblock_file.h:53:58: error: ‘size_type’ has not been declared 53 | virtual void serve(void* buffer, offset_type offset, size_type bytes, | ^~~~~~~~~ /usr/include/stxxl/bits/io/fileperblock_file.h:58:27: error: ‘offset_type’ has not been declared 58 | virtual void set_size(offset_type new_size) { current_size = new_size; } | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/fileperblock_file.h:62:13: error: ‘offset_type’ does not name a type 62 | virtual offset_type size() { return current_size; } | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/fileperblock_file.h:68:26: error: ‘offset_type’ has not been declared 68 | virtual void discard(offset_type offset, offset_type length); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/fileperblock_file.h:68:46: error: ‘offset_type’ has not been declared 68 | virtual void discard(offset_type offset, offset_type length); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/fileperblock_file.h:71:31: error: ‘offset_type’ has not been declared 71 | virtual void export_files(offset_type offset, offset_type length, std::string filename); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/fileperblock_file.h:71:51: error: ‘offset_type’ has not been declared 71 | virtual void export_files(offset_type offset, offset_type length, std::string filename); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/fileperblock_file.h:47:24: error: ‘DEFAULT_QUEUE’ was not declared in this scope 47 | int queue_id = DEFAULT_QUEUE, | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/io/fileperblock_file.h:48:28: error: ‘NO_ALLOCATOR’ was not declared in this scope 48 | int allocator_id = NO_ALLOCATOR, | ^~~~~~~~~~~~ /usr/include/stxxl/bits/io/fileperblock_file.h:49:34: error: ‘DEFAULT_DEVICE_ID’ was not declared in this scope 49 | unsigned int device_id = DEFAULT_DEVICE_ID); | ^~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/io/fileperblock_file.h: In member function ‘virtual void stxxl::fileperblock_file::set_size(int)’: /usr/include/stxxl/bits/io/fileperblock_file.h:58:51: error: ‘current_size’ was not declared in this scope 58 | virtual void set_size(offset_type new_size) { current_size = new_size; } | ^~~~~~~~~~~~ In file included from /usr/include/stxxl/bits/io/io.h:19, from /tmp/U7304441Ge/dump1.h:96: /usr/include/stxxl/bits/io/syscall_file.h: At global scope: /usr/include/stxxl/bits/io/syscall_file.h:47:30: error: ‘offset_type’ has not been declared 47 | void serve(void* buffer, offset_type offset, size_type bytes, | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/syscall_file.h:47:50: error: ‘size_type’ has not been declared 47 | void serve(void* buffer, offset_type offset, size_type bytes, | ^~~~~~~~~ /usr/include/stxxl/bits/io/syscall_file.h:40:24: error: ‘DEFAULT_QUEUE’ was not declared in this scope 40 | int queue_id = DEFAULT_QUEUE, | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/io/syscall_file.h:41:28: error: ‘NO_ALLOCATOR’ was not declared in this scope 41 | int allocator_id = NO_ALLOCATOR, | ^~~~~~~~~~~~ /usr/include/stxxl/bits/io/syscall_file.h:42:34: error: ‘DEFAULT_DEVICE_ID’ was not declared in this scope 42 | unsigned int device_id = DEFAULT_DEVICE_ID) | ^~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/io/syscall_file.h: In constructor ‘stxxl::syscall_file::syscall_file(const std::string&, int, int, int, unsigned int)’: /usr/include/stxxl/bits/io/syscall_file.h:43:11: error: type ‘stxxl::file’ is not a direct base of ‘stxxl::syscall_file’ 43 | : file(device_id), | ^~~~ In file included from /usr/include/stxxl/bits/io/io.h:20: /usr/include/stxxl/bits/io/mmap_file.h: At global scope: /usr/include/stxxl/bits/io/mmap_file.h:50:30: error: ‘offset_type’ has not been declared 50 | void serve(void* buffer, offset_type offset, size_type bytes, | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/mmap_file.h:50:50: error: ‘size_type’ has not been declared 50 | void serve(void* buffer, offset_type offset, size_type bytes, | ^~~~~~~~~ /usr/include/stxxl/bits/io/mmap_file.h:43:24: error: ‘DEFAULT_QUEUE’ was not declared in this scope 43 | int queue_id = DEFAULT_QUEUE, | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/io/mmap_file.h:44:28: error: ‘NO_ALLOCATOR’ was not declared in this scope 44 | int allocator_id = NO_ALLOCATOR, | ^~~~~~~~~~~~ /usr/include/stxxl/bits/io/mmap_file.h:45:34: error: ‘DEFAULT_DEVICE_ID’ was not declared in this scope 45 | unsigned int device_id = DEFAULT_DEVICE_ID) | ^~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/io/mmap_file.h: In constructor ‘stxxl::mmap_file::mmap_file(const std::string&, int, int, int, unsigned int)’: /usr/include/stxxl/bits/io/mmap_file.h:46:11: error: type ‘stxxl::file’ is not a direct base of ‘stxxl::mmap_file’ 46 | : file(device_id), | ^~~~ In file included from /usr/include/stxxl/bits/io/io.h:21: /usr/include/stxxl/bits/io/simdisk_file.h: At global scope: /usr/include/stxxl/bits/io/simdisk_file.h:138:30: error: ‘offset_type’ has not been declared 138 | void serve(void* buffer, offset_type offset, size_type bytes, | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/simdisk_file.h:138:50: error: ‘size_type’ has not been declared 138 | void serve(void* buffer, offset_type offset, size_type bytes, | ^~~~~~~~~ /usr/include/stxxl/bits/io/simdisk_file.h:140:19: error: ‘offset_type’ has not been declared 140 | void set_size(offset_type newsize); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/simdisk_file.h:127:24: error: ‘DEFAULT_QUEUE’ was not declared in this scope 127 | int queue_id = DEFAULT_QUEUE, | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/io/simdisk_file.h:128:28: error: ‘NO_ALLOCATOR’ was not declared in this scope 128 | int allocator_id = NO_ALLOCATOR, | ^~~~~~~~~~~~ /usr/include/stxxl/bits/io/simdisk_file.h:129:34: error: ‘DEFAULT_DEVICE_ID’ was not declared in this scope 129 | unsigned int device_id = DEFAULT_DEVICE_ID) | ^~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/io/simdisk_file.h: In constructor ‘stxxl::sim_disk_file::sim_disk_file(const std::string&, int, int, int, unsigned int)’: /usr/include/stxxl/bits/io/simdisk_file.h:130:11: error: type ‘stxxl::file’ is not a direct base of ‘stxxl::sim_disk_file’ 130 | : file(device_id), | ^~~~ In file included from /usr/include/stxxl/bits/io/io.h:24: /usr/include/stxxl/bits/io/mem_file.h: At global scope: /usr/include/stxxl/bits/io/mem_file.h:33:5: error: ‘offset_type’ does not name a type 33 | offset_type m_size; | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/mem_file.h:48:30: error: ‘offset_type’ has not been declared 48 | void serve(void* buffer, offset_type offset, size_type bytes, | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/mem_file.h:48:50: error: ‘size_type’ has not been declared 48 | void serve(void* buffer, offset_type offset, size_type bytes, | ^~~~~~~~~ /usr/include/stxxl/bits/io/mem_file.h:51:5: error: ‘offset_type’ does not name a type 51 | offset_type size(); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/mem_file.h:52:19: error: ‘offset_type’ has not been declared 52 | void set_size(offset_type newsize); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/mem_file.h:54:18: error: ‘offset_type’ has not been declared 54 | void discard(offset_type offset, offset_type size); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/mem_file.h:54:38: error: ‘offset_type’ has not been declared 54 | void discard(offset_type offset, offset_type size); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/mem_file.h:41:24: error: ‘DEFAULT_QUEUE’ was not declared in this scope 41 | int queue_id = DEFAULT_QUEUE, | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/io/mem_file.h:42:28: error: ‘NO_ALLOCATOR’ was not declared in this scope 42 | int allocator_id = NO_ALLOCATOR, | ^~~~~~~~~~~~ /usr/include/stxxl/bits/io/mem_file.h:43:34: error: ‘DEFAULT_DEVICE_ID’ was not declared in this scope 43 | unsigned int device_id = DEFAULT_DEVICE_ID) | ^~~~~~~~~~~~~~~~~ /usr/include/stxxl/bits/io/mem_file.h: In constructor ‘stxxl::mem_file::mem_file(int, int, unsigned int)’: /usr/include/stxxl/bits/io/mem_file.h:44:11: error: type ‘stxxl::file’ is not a direct base of ‘stxxl::mem_file’ 44 | : file(device_id), | ^~~~ /usr/include/stxxl/bits/io/mem_file.h:46:24: error: class ‘stxxl::mem_file’ does not have any field named ‘m_size’ 46 | m_ptr(NULL), m_size(0) | ^~~~~~ In file included from /usr/include/stxxl/bits/io/io.h:26: /usr/include/stxxl/bits/io/wbtl_file.h: At global scope: /usr/include/stxxl/bits/io/wbtl_file.h:38:23: error: ‘offset_type’ was not declared in this scope 38 | typedef std::pair place; | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:38:36: error: ‘offset_type’ was not declared in this scope 38 | typedef std::pair place; | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:38:47: error: template argument 1 is invalid 38 | typedef std::pair place; | ^ /usr/include/stxxl/bits/io/wbtl_file.h:38:47: error: template argument 2 is invalid /usr/include/stxxl/bits/io/wbtl_file.h:39:18: error: ‘map’ in namespace ‘std’ does not name a template type 39 | typedef std::map sortseq; | ^~~ /usr/include/stxxl/bits/io/wbtl_file.h:26:1: note: ‘std::map’ is defined in header ‘’; did you forget to ‘#include ’? 25 | #include +++ |+#include 26 | /usr/include/stxxl/bits/io/wbtl_file.h:40:18: error: ‘map’ in namespace ‘std’ does not name a template type 40 | typedef std::map place_map; | ^~~ /usr/include/stxxl/bits/io/wbtl_file.h:40:13: note: ‘std::map’ is defined in header ‘’; did you forget to ‘#include ’? 40 | typedef std::map place_map; | ^~~ /usr/include/stxxl/bits/io/wbtl_file.h:44:5: error: ‘offset_type’ does not name a type 44 | offset_type sz; | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:45:5: error: ‘size_type’ does not name a type; did you mean ‘int_type’? 45 | size_type write_block_size; | ^~~~~~~~~ | int_type /usr/include/stxxl/bits/io/wbtl_file.h:49:5: error: ‘sortseq’ does not name a type; did you mean ‘sorter’? 49 | sortseq address_mapping; | ^~~~~~~ | sorter /usr/include/stxxl/bits/io/wbtl_file.h:51:5: error: ‘place_map’ does not name a type 51 | place_map reverse_mapping; | ^~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:53:5: error: ‘sortseq’ does not name a type; did you mean ‘sorter’? 53 | sortseq free_space; | ^~~~~~~ | sorter /usr/include/stxxl/bits/io/wbtl_file.h:54:5: error: ‘offset_type’ does not name a type 54 | offset_type free_bytes; | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:63:5: error: ‘offset_type’ does not name a type 63 | offset_type buffer_address[2]; | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:65:5: error: ‘size_type’ does not name a type; did you mean ‘int_type’? 65 | size_type curpos; | ^~~~~~~~~ | int_type /usr/include/stxxl/bits/io/wbtl_file.h:66:5: error: ‘request_ptr’ does not name a type; did you mean ‘request’? 66 | request_ptr backend_request; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/io/wbtl_file.h:68:58: error: ‘offset_type’ was not declared in this scope 68 | struct FirstFit : public std::binary_function | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:68:75: error: template argument 2 is invalid 68 | struct FirstFit : public std::binary_function | ^ /usr/include/stxxl/bits/io/wbtl_file.h:72:19: error: ‘offset_type’ does not name a type 72 | const offset_type size) const | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:83:9: error: ‘size_type’ has not been declared 83 | size_type write_buffer_size, | ^~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:88:5: error: ‘offset_type’ does not name a type 88 | offset_type size(); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:89:19: error: ‘offset_type’ has not been declared 89 | void set_size(offset_type newsize); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:91:30: error: ‘offset_type’ has not been declared 91 | void serve(void* buffer, offset_type offset, size_type bytes, | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:91:50: error: ‘size_type’ has not been declared 91 | void serve(void* buffer, offset_type offset, size_type bytes, | ^~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:93:18: error: ‘offset_type’ has not been declared 93 | void discard(offset_type offset, offset_type size); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:93:38: error: ‘offset_type’ has not been declared 93 | void discard(offset_type offset, offset_type size); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:97:27: error: ‘offset_type’ has not been declared 97 | void _add_free_region(offset_type offset, offset_type size); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:97:47: error: ‘offset_type’ has not been declared 97 | void _add_free_region(offset_type offset, offset_type size); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:100:30: error: ‘offset_type’ has not been declared 100 | void sread(void* buffer, offset_type offset, size_type bytes); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:100:50: error: ‘size_type’ has not been declared 100 | void sread(void* buffer, offset_type offset, size_type bytes); | ^~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:101:31: error: ‘offset_type’ has not been declared 101 | void swrite(void* buffer, offset_type offset, size_type bytes); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:101:51: error: ‘size_type’ has not been declared 101 | void swrite(void* buffer, offset_type offset, size_type bytes); | ^~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:102:5: error: ‘offset_type’ does not name a type 102 | offset_type get_next_write_block(); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:103:27: error: ‘offset_type’ has not been declared 103 | void check_corruption(offset_type region_pos, offset_type region_size, | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:103:51: error: ‘offset_type’ has not been declared 103 | void check_corruption(offset_type region_pos, offset_type region_size, | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:104:27: error: ‘sortseq’ has not been declared 104 | sortseq::iterator pred, sortseq::iterator succ); | ^~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:104:45: error: expected ‘,’ or ‘...’ before ‘pred’ 104 | sortseq::iterator pred, sortseq::iterator succ); | ^~~~ /usr/include/stxxl/bits/io/wbtl_file.h:85:24: error: ‘DEFAULT_QUEUE’ was not declared in this scope 85 | int queue_id = DEFAULT_QUEUE, | ^~~~~~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h:86:28: error: ‘NO_ALLOCATOR’ was not declared in this scope 86 | int allocator_id = NO_ALLOCATOR); | ^~~~~~~~~~~~ /usr/include/stxxl/bits/io/wbtl_file.h: In member function ‘bool stxxl::wbtl_file::FirstFit::operator()(const stxxl::wbtl_file::place&, int) const’: /usr/include/stxxl/bits/io/wbtl_file.h:74:27: error: request for member ‘second’ in ‘entry’, which is of non-class type ‘const stxxl::wbtl_file::place’ {aka ‘const int’} 74 | return (entry.second >= size); | ^~~~~~ In file included from /tmp/U7304441Ge/dump1.h:107: /usr/include/stxxl/bits/io/request_queue_impl_1q.h: At global scope: /usr/include/stxxl/bits/io/request_queue_impl_1q.h:34:23: error: ‘request_ptr’ was not declared in this scope; did you mean ‘request’? 34 | typedef std::list queue_type; | ^~~~~~~~~~~ | request /usr/include/stxxl/bits/io/request_queue_impl_1q.h:34:34: error: template argument 1 is invalid 34 | typedef std::list queue_type; | ^ /usr/include/stxxl/bits/io/request_queue_impl_1q.h:34:34: error: template argument 2 is invalid /usr/include/stxxl/bits/io/request_queue_impl_1q.h:60:22: error: ‘request_ptr’ has not been declared 60 | void add_request(request_ptr& req); | ^~~~~~~~~~~ /usr/include/stxxl/bits/io/request_queue_impl_1q.h:61:25: error: ‘request_ptr’ has not been declared 61 | bool cancel_request(request_ptr& req); | ^~~~~~~~~~~ /tmp/U7304441Ge/dump1.h:209:3: error: ‘mallinfo2’ does not name a type 209 | mallinfo2* tmp_add_class_22; | ^~~~~~~~~