Borderou de evaluare (job #33439)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Gomoku (clasa a 6-a) | Compilator | c |
Rundă | Concurs clasa a 6-a | Status | evaluat |
Dată | 2 dec. 2013 15:53:47 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:26:9: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
/usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
user.c:26:9: warning: passing argument 2 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
/usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘const char * __restrict__’ but argument is of type ‘int’
user.c:37:9: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
/usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
user.c:37:9: warning: passing argument 2 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
/usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘const char * __restrict__’ but argument is of type ‘int’
user.c:41:1: error: expected declaration or statement at end of input
user.c:41:1: error: expected declaration or statement at end of input
user.c:6:10: warning: variable ‘fin’ set but not used [-Wunused-but-set-variable]
user.c:41:1: warning: control reaches end of non-void function [-Wreturn-type]