/in/foo.cc: In function 'int main()':
/in/foo.cc:32:15: warning: left operand of comma operator has no effect [-Wunused-value]
for(int x=2;x<=n,x++);
~^~~
/in/foo.cc:32:22: error: expected ';' before ')' token
for(int x=2;x<=n,x++);
^
/in/foo.cc:32:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int x=2;x<=n,x++);
^~~
/in/foo.cc:33:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
{
^
/in/foo.cc:34:25: error: 'x' was not declared in this scope
int flag=isSuperPrime(x);
^