message.cpp: In function 'std::vector<int> get_known_allies()':
message.cpp:23:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<bool> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for(int k=0;k<cur_bits.size();k++) cur+=cur_bits[k][j]+'0';
| ~^~~~~~~~~~~~~~~~
message.cpp: In function 'void send_message(std::vector<bool>, std::vector<bool>)':
message.cpp:49:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
49 | for(int j=0;j<allies.size();j++) cur[allies[j]]=known_pattern[j][i]-'0';
| ~^~~~~~~~~~~~~~
message.cpp:56:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
56 | while(al_pos < positions.size()-1)
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~
message.cpp:60:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | cur[i] = (al_pos<positions.size()-1?positions[al_pos]:0);
| ~~~~~~^~~~~~~~~~~~~~~~~~~
message.cpp:70:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
70 | while(msg_pos < msg.size())
| ~~~~~~~~^~~~~~~~~~~~
message.cpp:74:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
74 | cur[i]=(msg_pos < msg.size()? msg[msg_pos] : 0);
| ~~~~~~~~^~~~~~~~~~~~
message.cpp: In function 'std::vector<bool> receive_message(std::vector<std::vector<bool> >)':
message.cpp:92:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<bool> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
92 | for(int i=0;i<received_bits.size();i++)
| ~^~~~~~~~~~~~~~~~~~~~~
message.cpp:111:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<bool> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
111 | while(st<received_bits.size())
| ~~^~~~~~~~~~~~~~~~~~~~~
message.cpp:120:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
120 | for(int i=4;i<msg.size();i++) ret.push_back(msg[i]);
| ~^~~~~~~~~~~