foo.cc: In member function ‘PolyList PolyList::operator+(const PolyList&) const’:
foo.cc:32:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<PolyListNode>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
32 | while (i < terms.size() && j < other.terms.size()) {
| ~~^~~~~~~~~~~~~~
foo.cc:32:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<PolyListNode>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
32 | while (i < terms.size() && j < other.terms.size()) {
| ~~^~~~~~~~~~~~~~~~~~~~
foo.cc:49:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<PolyListNode>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
49 | while (i < terms.size()) {
| ~~^~~~~~~~~~~~~~
foo.cc:53:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<PolyListNode>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
53 | while (j < other.terms.size()) {
| ~~^~~~~~~~~~~~~~~~~~~~