/in/foo.cc: In function 'int findmincount(int*, int)':
/in/foo.cc:15: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:35: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:20:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/foo.cc: In function 'int findmincount1(int*, int)':
/in/foo.cc:40:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^