Main.cc: In function 'int c(int, int)': Main.cc:8:11: error: expected primary-expression before ')' token if(b==) return a; ^ Main.cc:10:1: warning: control reaches end of non-void function [-Wreturn-type] } ^