/in/foo.cc: In function 'long int min(long int, long int)':
/in/foo.cc:65:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (a < b) return a; return b;
^~
/in/foo.cc:65:23: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (a < b) return a; return b;
^~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:83:23: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
while (scanf("%d", &n) != -1)
^
/in/foo.cc: In function 'int BST_insert(long int, long int)':
/in/foo.cc:62:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/foo.cc: In function 'int insert(long int)':
/in/foo.cc:79:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^