Borderou de evaluare (job #140767)

Utilizator avatar dumitrualin Dumitru Alin dumitrualin IP ascuns
Problemă Cezar (clasa a 5-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 6 apr. 2015 11:23:51 Scor 0

Raport evaluator

Eroare de compilare: user.c:4:1: warning: data definition has no type or storage class [enabled by default] user.c:4:1: warning: type defaults to ‘int’ in declaration of ‘fin’ [-Wimplicit-int] user.c:4:1: error: conflicting types for ‘fin’ user.c:3:7: note: previous declaration of ‘fin’ was here user.c:4:5: warning: initialization makes integer from pointer without a cast [enabled by default] user.c:4:1: error: initializer element is not constant user.c:5:1: warning: data definition has no type or storage class [enabled by default] user.c:5:1: warning: type defaults to ‘int’ in declaration of ‘fout’ [-Wimplicit-int] user.c:5:1: error: conflicting types for ‘fout’ user.c:3:13: note: previous declaration of ‘fout’ was here user.c:5:7: warning: initialization makes integer from pointer without a cast [enabled by default] user.c:5:1: error: initializer element is not constant user.c:9:1: warning: data definition has no type or storage class [enabled by default] user.c:9:1: warning: type defaults to ‘int’ in declaration of ‘c’ [-Wimplicit-int] user.c:9:1: error: conflicting types for ‘c’ user.c:8:6: note: previous declaration of ‘c’ was here user.c:9:1: warning: passing argument 1 of ‘fgetc’ makes pointer from integer without a cast [enabled by default] /usr/include/stdio.h:537:12: note: expected ‘struct FILE *’ but argument is of type ‘int’ user.c:9:1: error: initializer element is not constant user.c:10:1: error: expected identifier or ‘(’ before ‘while’ user.c:17:8: error: expected declaration specifiers or ‘...’ before '\xa' user.c:17:14: error: expected declaration specifiers or ‘...’ before ‘fout’ user.c:19:1: error: expected identifier or ‘(’ before ‘return’ user.c:20:1: error: expected identifier or ‘(’ before ‘}’ token