/in/foo.cc: In function 'std::__cxx11::string kaiserAddString(const string&, int)':
/in/foo.cc:36:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < str.length(); i++) {
~~^~~~~~~~~~~~~~
/in/foo.cc: At global scope:
/in/foo.cc:42:83: error: 'INT_MAX' was not declared in this scope
pair<bool, int> kaiserDiff(const string &lhs, const string &rhs, int upperLimit = INT_MAX, int lowerLimit = INT_MIN) {
^~~~~~~
/in/foo.cc:42:109: error: 'INT_MIN' was not declared in this scope
pair<bool, int> kaiserDiff(const string &lhs, const string &rhs, int upperLimit = INT_MAX, int lowerLimit = INT_MIN) {
^~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:85:77: error: 'INT_MAX' was not declared in this scope
pair<bool, int> diffBackward = kaiserDiff(src, str[kaiserBackward], INT_MAX, -6);
^~~~~~~