Project : Forums
Compiler : GNU GCC Compiler (called directly)
Directory : C:\dev\forums2\
--------------------------------------------------------------------------------
Switching to target: default
Compiling: main.c
main.c: In function `main':
main.c:6: error: `pthread_t' undeclared (first use in this function)
main.c:6: error: (Each undeclared identifier is reported only once
main.c:6: error: for each function it appears in.)
main.c:6: error: syntax error before "idTh1"
main.c:13: warning: implicit declaration of function `pthread_create'
main.c:13: error: `idTh1' undeclared (first use in this function)
main.c:13: error: `NULL' undeclared (first use in this function)
main.c:15: warning: implicit declaration of function `perror'
main.c:15: warning: implicit declaration of function `exit'
main.c:19: warning: implicit declaration of function `pthread_join'
main.c:25: warning: implicit declaration of function `printf'
main.c: In function `traitementTh1':
main.c:38: warning: implicit declaration of function `pthread_exit'
Process terminated with status 1 (0 minutes, 2 seconds)
6 errors, 6 warnings
Partager