/in/foo.cc: In function 'void getNext(int*, const string&)':
/in/foo.cc:13:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i < (str.length() )) {
~~^~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'bool subString(const string&, const string&, std::vector<int>&)':
/in/foo.cc:31:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i<str1.length()){
~^~~~~~~~~~~~~~
/in/foo.cc:35:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (j >= str2.length()) {
~~^~~~~~~~~~~~~~~~