/in/foo.cc: In function 'void work(int)':
/in/foo.cc:26:22: warning: statement is a reference, not call, to function 'exit' [-Waddress]
if(now>1000) exit;
^
/in/foo.cc:26:22: warning: statement has no effect [-Wunused-value]
/in/foo.cc:19:16: warning: unused variable 'x1' [-Wunused-variable]
double p,q,x1,x2,y1,y2;
^~
/in/foo.cc:19:19: warning: unused variable 'x2' [-Wunused-variable]
double p,q,x1,x2,y1,y2;
^~
/in/foo.cc:19:22: warning: unused variable 'y1' [-Wunused-variable]
double p,q,x1,x2,y1,y2;
^~
/in/foo.cc:19:25: warning: unused variable 'y2' [-Wunused-variable]
double p,q,x1,x2,y1,y2;
^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:42:15: warning: variable 'now' set but not used [-Wunused-but-set-variable]
int t,k,i,now;
^~~
/in/foo.cc: In function 'int ext(int)':
/in/foo.cc:15:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^