/in/foo.cc: In function 'int main()':
/in/foo.cc:13:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   13 |     while (i < expression.length() && isdigit(expression[i])) {
      |            ~~^~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:23:14: 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 < expression.length()) {
      |            ~~^~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:36:18: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized]
   36 |     std::cout << result << std::endl;
      |                  ^~~~~~
/in/foo.cc:28:9: note: 'result' was declared here
   28 |     int result;
      |         ^~~~~~