/in/foo.cc: In function 'int cdiv(int, int)':
/in/foo.cc:7:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
7 | while (tmp = m % n)
| ~~~~^~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:53:25: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
53 | cout << b << ' ' << a;
| ^
/in/foo.cc:39:28: note: 'a' was declared here
39 | int b1, a1, b2, a2, b, a;
| ^
/in/foo.cc:53:18: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized]
53 | cout << b << ' ' << a;
| ^~~
/in/foo.cc:39:25: note: 'b' was declared here
39 | int b1, a1, b2, a2, b, a;
| ^