/in/foo.cc: In function 'bool isSimilar(std::string, std::string)':
/in/foo.cc:23:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | while (i<sh.size()&&j<lo.size())
| ~^~~~~~~~~~
/in/foo.cc:23:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | while (i<sh.size()&&j<lo.size())
| ~^~~~~~~~~~
/in/foo.cc:27:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
27 | if(d++>1)return false;j++;
| ^~
/in/foo.cc:27:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
27 | if(d++>1)return false;j++;
| ^