/in/foo.cc: In function 'void printGeneration(const std::vector<bool>&, int)':
/in/foo.cc:7:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < cells.size(); ++i) {
~~^~~~~~~~~~~~~~
/in/foo.cc: In function 'std::vector<bool> evolveCells(const std::vector<bool>&, int, int)':
/in/foo.cc:17:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < cells.size(); ++i) {
~~^~~~~~~~~~~~~~
/in/foo.cc:21:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i < cells.size() - 1 && cells[i + 1]) liveNeighbours++;
~~^~~~~~~~~~~~~~~~~~
/in/foo.cc:25:9: error: 'bitset' is not a member of 'std'
std::bitset<7> binaryRule(rule);
^~~
/in/foo.cc:25:39: error: 'binaryRule' was not declared in this scope
std::bitset<7> binaryRule(rule);
^