/in/foo.cc: In function 'int main()':
/in/foo.cc:7:12: error: expected ')' before ';' token
if(m%i==0;n%i==0)
^
/in/foo.cc:7:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(m%i==0;n%i==0)
^~
/in/foo.cc:7:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(m%i==0;n%i==0)
^
/in/foo.cc:7:19: error: expected ';' before ')' token
if(m%i==0;n%i==0)
^
/in/foo.cc:7:16: warning: statement has no effect [-Wunused-value]
if(m%i==0;n%i==0)
~~~^~~