Borderou de evaluare (job #77838)

Utilizator avatar petre_mircea Petrea Razvan petre_mircea IP ascuns
Problemă Comune (clasa a 5-a) Compilator c
Rundă s4_lab_6 Status evaluat
Dată 8 oct. 2014 16:34:41 Scor ascuns

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:5:1: warning: implicit declaration of function ‘feopen’ [-Wimplicit-function-declaration] user.c:5:4: warning: assignment makes pointer from integer without a cast [enabled by default] user.c:8:1: warning: passing argument 1 of ‘fscanf’ from incompatible pointer type [enabled by default] /usr/include/stdio.h:449:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’ user.c:8:1: warning: passing argument 2 of ‘fscanf’ from incompatible pointer type [enabled by default] /usr/include/stdio.h:449:12: note: expected ‘const char * __restrict__’ but argument is of type ‘int *’ user.c:13:9: error: expected expression before ‘>’ token user.c:17:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses] user.c:22:1: error: ‘else’ without a previous ‘if’ user.c:27:1: 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:27:1: warning: passing argument 2 of ‘fprintf’ from incompatible pointer type [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:27:1: warning: format not a string literal and no format arguments [-Wformat-security] user.c:8:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]