Borderou de evaluare (job #651270)
Utilizator | Data | 20 decembrie 2011 01:43:08 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘add’:
user.c:19: warning: assignment from incompatible pointer type
user.c:21: warning: assignment from incompatible pointer type
user.c: In function ‘dft’:
user.c:34: warning: passing argument 1 of ‘add’ from incompatible pointer type
user.c:16: note: expected ‘struct node **’ but argument is of type ‘struct node *’
user.c: In function ‘main’:
user.c:57: error: redeclaration of ‘index’ with no linkage
user.c:51: note: previous declaration of ‘index’ was here
user.c:57: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:57: note: use option -std=c99 or -std=gnu99 to compile your code
user.c:59: warning: passing argument 1 of ‘add’ from incompatible pointer type
user.c:16: note: expected ‘struct node **’ but argument is of type ‘struct node *’
user.c:60: warning: passing argument 1 of ‘add’ from incompatible pointer type
user.c:16: note: expected ‘struct node **’ but argument is of type ‘struct node *’
user.c:71: error: incompatible type for argument 1 of ‘free’
/usr/include/stdlib.h:488: note: expected ‘void *’ but argument is of type ‘node’
user.c:56: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
user.c:58: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !