koala.cpp: In function 'int maxValue(int, int)':
koala.cpp:31:1: warning: no return statement in function returning non-void [-Wreturn-type]
31 | }
| ^
koala.cpp: At global scope:
koala.cpp:33:6: error: ambiguating new declaration of 'bool greaterValue(int, int)'
33 | bool greaterValue(int n, int w) {
| ^~~~~~~~~~~~
In file included from koala.cpp:2:
koala.h:8:5: note: old declaration 'int greaterValue(int, int)'
8 | int greaterValue(int N, int W);
| ^~~~~~~~~~~~
koala.cpp: In function 'bool greaterValue(int, int)':
koala.cpp:35:1: warning: no return statement in function returning non-void [-Wreturn-type]
35 | }
| ^
koala.cpp: In function 'int minValue(int, int)':
koala.cpp:27:1: warning: control reaches end of non-void function [-Wreturn-type]
27 | }
| ^