/in/foo.c: In function 'main':
/in/foo.c:6:11: warning: right-hand operand of comma expression has no effect [-Wunused-value]
for(i = 2,i <= 1000,i ++);{
^
/in/foo.c:6:26: error: expected ';' before ')' token
for(i = 2,i <= 1000,i ++);{
^
/in/foo.c:6:26: error: expected expression before ')' token
/in/foo.c:6:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i = 2,i <= 1000,i ++);{
^~~
/in/foo.c:6:28: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(i = 2,i <= 1000,i ++);{
^
/in/foo.c:8:12: warning: right-hand operand of comma expression has no effect [-Wunused-value]
for(j = 0,j < i,j ++);{
^
/in/foo.c:8:23: error: expected ';' before ')' token
for(j = 0,j < i,j ++);{
^
/in/foo.c:8:23: error: expected expression before ')' token
/in/foo.c:8:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(j = 0,j < i,j ++);{
^~~
/in/foo.c:8:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(j = 0,j < i,j ++);{
^
/in/foo.c:13:5: error: expected '(' before '{' token
if{sum == i}{
^
/in/foo.c:13:6: warning: statement with no effect [-Wunused-value]
if{sum == i}{
^~~
/in/foo.c:14:17: error: expected ')' before 'd'
printf(""d%"是完数\n");
^
/in/foo.c:14:15: warning: zero-length gnu_printf format string [-Wformat-zero-length]
printf(""d%"是完数\n");
^~
/in/foo.c:15:6: error: 'ruturn' undeclared (first use in this function)
ruturn 0;
^~~~~~
/in/foo.c:15:6: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:15:13: error: expected ';' before numeric constant
ruturn 0;
^
/in/foo.c:16:1: error: expected declaration or statement at end of input
}
^
/in/foo.c:16:1: error: expected declaration or statement at end of input