/in/foo.cc: In function 'int main()':
/in/foo.cc:10:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
10 | for(int i=0;i<=line.size()-str.size();i++)for(int j=0,ii=i;j<str.size();j++){if(line[ii++]!=str[j])break;if(j==str.size()-1)count++;}
| ~^~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:10:65: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
10 | for(int i=0;i<=line.size()-str.size();i++)for(int j=0,ii=i;j<str.size();j++){if(line[ii++]!=str[j])break;if(j==str.size()-1)count++;}
| ~^~~~~~~~~~~
/in/foo.cc:10:114: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
10 | for(int i=0;i<=line.size()-str.size();i++)for(int j=0,ii=i;j<str.size();j++){if(line[ii++]!=str[j])break;if(j==str.size()-1)count++;}
| ~^~~~~~~~~~~~~~