message.cpp: In function 'void send_message(std::vector<bool>, std::vector<bool>)':
message.cpp:25:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | while (msg_pos < M.size()) {
| ~~~~~~~~^~~~~~~~~~
message.cpp:28:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | if (!C[i] && msg_pos < M.size()) {
| ~~~~~~~~^~~~~~~~~~
message.cpp:26:13: warning: unused variable 'envio_pos' [-Wunused-variable]
26 | int envio_pos = 0;
| ^~~~~~~~~
message.cpp:6:9: warning: unused variable 'pos' [-Wunused-variable]
6 | int pos = 0;
| ^~~
message.cpp:7:9: warning: unused variable 'cnt' [-Wunused-variable]
7 | int cnt = 0;
| ^~~
message.cpp: In function 'std::vector<bool> receive_message(std::vector<std::vector<bool> >)':
message.cpp:66:23: warning: comparison of integer expressions of different signedness: 'std::vector<bool>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
66 | while (sec.size() > largo) {
| ~~~~~~~~~~~^~~~~~~