/in/foo.cc: In function 'int findmincount(int*, int)':
/in/foo.cc:33:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if (a[i] = min) {
^
/in/foo.cc: In function 'int findmincount1(int*, int)':
/in/foo.cc:51:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if (b[i] = min) {
^
/in/foo.cc: In function 'int findmincount(int*, int)':
/in/foo.cc:38:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/foo.cc: In function 'int findmincount1(int*, int)':
/in/foo.cc:56:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^