/in/foo.cc: In function 'int main()':
/in/foo.cc:10:26: error: expected ';' before 's'
for(j=2,flag=1;(i>=j*j)s&& flag;j++)
^
/in/foo.cc:10:27: warning: for increment expression has no effect [-Wunused-value]
for(j=2,flag=1;(i>=j*j)s&& flag;j++)
~^~~~~~~
/in/foo.cc:10:34: error: expected ')' before ';' token
for(j=2,flag=1;(i>=j*j)s&& flag;j++)
^
/in/foo.cc:10:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(j=2,flag=1;(i>=j*j)s&& flag;j++)
^~~
/in/foo.cc:10:35: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(j=2,flag=1;(i>=j*j)s&& flag;j++)
^
/in/foo.cc:10:38: error: expected ';' before ')' token
for(j=2,flag=1;(i>=j*j)s&& flag;j++)
^
/in/foo.cc:7:6: warning: unused variable 'bl' [-Wunused-variable]
int bl=sqrt(y);
^~