Borderou de evaluare (job #2489877)
Utilizator | Data | 9 noiembrie 2019 12:42:16 | |
---|---|---|---|
Problema | Aria | Status | done |
Runda | Arhiva educationala | Compilator | c-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'stringReverse':
main.c:82:6: warning: unused variable 'i' [-Wunused-variable]
int i;
^
main.c:81:10: warning: unused variable 'aux' [-Wunused-variable]
char aux;
^~~
main.c: In function 'inmultire':
main.c:131:12: warning: unused variable 'q' [-Wunused-variable]
int i,j,p,q;
^
main.c:131:10: warning: unused variable 'p' [-Wunused-variable]
int i,j,p,q;
^
main.c: In function 'main':
main.c:205:23: warning: passing argument 2 of 'pthread_join' from incompatible pointer type [-Wincompatible-pointer-types]
if(pthread_join(thr, &result)){
^
In file included from main.c:21:0:
/usr/include/pthread.h:250:12: note: expected 'void **' but argument is of type 'int *'
extern int pthread_join (pthread_t __th, void **__thread_return);
^~~~~~~~~~~~
main.c:166:10: warning: variable 's' set but not used [-Wunused-but-set-variable]
char s[50],t[50];
^
./cc5MJFx6.o: In function `inmultire_element':
main.c:(.text+0x5f): undefined reference to `pthread_exit'
./cc5MJFx6.o: In function `inmultire':
main.c:(.text+0x1e1): undefined reference to `pthread_create'
main.c:(.text+0x202): undefined reference to `pthread_join'
main.c:(.text+0x210): undefined reference to `pthread_join'
main.c:(.text+0x21e): undefined reference to `pthread_join'
main.c:(.text+0x22c): undefined reference to `pthread_join'
./cc5MJFx6.o: In function `main':
main.c:(.text.startup+0xa5): undefined reference to `pthread_create'
main.c:(.text.startup+0xb8): undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !