Build fails

19 views
Skip to first unread message

o lu

unread,
Jul 29, 2020, 5:46:14 AM7/29/20
to RethinkDB
    [1/163] CC build/release/obj/clustering/immediate_consistency/history.o
In file included from ./src/region/region.hpp:6,
                 from ./src/region/region_map.hpp:11,
                 from ./src/clustering/immediate_consistency/history.hpp:10,
                 from src/clustering/immediate_consistency/history.cc:2:
./src/btree/keys.hpp: In member function ‘bool store_key_t::increment()’:
./src/btree/keys.hpp:122:38: warning: implicitly-declared ‘store_key_t& store_key_t::operator=(const store_key_t&)’ is deprecated [-Wdeprecated-copy]
  122 |             *this = store_key_t::max();
      |                                      ^
./src/btree/keys.hpp:65:5: note: because ‘store_key_t’ has user-provided ‘store_key_t::store_key_t(const store_key_t&)’
   65 |     store_key_t(const store_key_t &_key) {
      |     ^~~~~~~~~~~
In file included from src/clustering/immediate_consistency/history.cc:2:
./src/clustering/immediate_consistency/history.hpp: At global scope:
./src/clustering/immediate_consistency/history.hpp:105:56: error: expected class-name before ‘{’ token
  105 | class missing_branch_exc_t : public std::runtime_error {
      |                                                        ^
./src/clustering/immediate_consistency/history.hpp: In constructor ‘missing_branch_exc_t::missing_branch_exc_t()’:
./src/clustering/immediate_consistency/history.hpp:108:27: error: expected class-name before ‘(’ token
  108 |         std::runtime_error("tried to look up a branch that is not in the history") { }
      |                           ^
./src/clustering/immediate_consistency/history.hpp:108:27: error: expected ‘{’ before ‘(’ token


Using G++10 on Linux MInt 20
Reply all
Reply to author
Forward
0 new messages