Compiler output
prog.cpp: In member function 'bool cmp::operator()(const string&, const string&)':
prog.cpp:17:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
prog.cpp:17:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
prog.cpp:18:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
prog.cpp:19:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
prog.cpp: In function 'int main()':
prog.cpp:29:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
prog.cpp:29:39: warning: array subscript has type 'char' [-Wchar-subscripts]
prog.cpp:32:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
prog.cpp:32:43: warning: array subscript has type 'char' [-Wchar-subscripts]