Skip to content

Instantly share code, notes, and snippets.

@katafrakt
Created January 19, 2016 11:09
Show Gist options
  • Save katafrakt/27795a33a4be215f4969 to your computer and use it in GitHub Desktop.
Save katafrakt/27795a33a4be215f4969 to your computer and use it in GitHub Desktop.
RethinkDB compilation errors
[44/396] CC build/release/obj/clustering/table_manager/multi_table_manager.o
In file included from ./src/clustering/administration/servers/server_metadata.hpp:10:0,
from ./src/clustering/administration/tables/table_metadata.hpp:12,
from ./src/clustering/table_contract/contract_metadata.hpp:12,
from ./src/clustering/table_contract/coordinator/coordinator.hpp:6,
from ./src/clustering/table_manager/table_manager.hpp:5,
from ./src/clustering/table_manager/multi_table_manager.hpp:8,
from src/clustering/table_manager/multi_table_manager.cc:2:
./src/rpc/mailbox/typed.hpp: In member function ‘void mailbox_t<void(a0_t, a1_t, a2_t, a3_t, a4_t, a5_t, a6_t, a7_t)>::read_impl_t::read(read_stream_t*, signal_t*) [with arg0_t = uuid_u; arg1_t = multi_table_manager_timestamp_t; arg2_t = multi_table_manager_bcard_t::status_t; arg3_t = boost::optional<table_basic_config_t>; arg4_t = boost::optional<raft_member_id_t>; arg5_t = boost::optional<raft_persistent_state_t<table_raft_state_t> >; arg6_t = boost::optional<raft_start_election_immediately_t>; arg7_t = mailbox_addr_t<void()>]’:
./src/rpc/mailbox/typed.hpp:806:20: error: ‘*((void*)& arg6 +4)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
arg6_t arg6;
^
cc1plus: all warnings being treated as errors
src/build.mk:391: recipe for target 'build/release/obj/clustering/table_manager/multi_table_manager.o' failed
make[1]: *** [build/release/obj/clustering/table_manager/multi_table_manager.o] Error 1
Makefile:52: recipe for target 'make' failed
make: *** [make] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment