/in/foo.cc:24:95: error: 'find_with_base_and_initial_number' function uses 'auto' type specifier without trailing return type
auto find_with_base_and_initial_number(int mmap[],int base,int a,int b,long int lb,long int ub) {
^
/in/foo.cc:24:95: note: deduced return type only available with -std=c++14 or -std=gnu++14
/in/foo.cc:42:65: error: 'find_with_base' function uses 'auto' type specifier without trailing return type
auto find_with_base(int mmap[],int rbase,long int lb,long int ub) {
^
/in/foo.cc:42:65: note: deduced return type only available with -std=c++14 or -std=gnu++14
/in/foo.cc:50:61: error: 'find' function uses 'auto' type specifier without trailing return type
auto find(int mmap[],int rlb,int rub,long int lb,long int ub) {
^
/in/foo.cc:50:61: note: deduced return type only available with -std=c++14 or -std=gnu++14
/in/foo.cc: In function 'auto find(int*, int, int, long int, long int)':
/in/foo.cc:51:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (size_t i = rlb; i <= rub; i++)
~~^~~~~~
/in/foo.cc: At global scope:
/in/foo.cc:57:30: error: 'rollout' function uses 'auto' type specifier without trailing return type
auto rollout(int mmap[],int n) {
^
/in/foo.cc:57:30: note: deduced return type only available with -std=c++14 or -std=gnu++14
/in/foo.cc: In function 'auto rollout(int*, int)':
/in/foo.cc:62:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (mmap[i] == n )
^~
/in/foo.cc:65:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
puts("");
^~~~