Run Code | API | Code Wall | Misc | Feedback | Login | Theme | Privacy | Patreon |
Nearly workingError(s): source_file.c: In function ‘main’: source_file.c:52:11: error: unused variable ‘info’ [-Werror=unused-variable] thinfo info[k]; //structs to be passed ^ source_file.c:51:14: error: unused variable ‘thread’ [-Werror=unused-variable] pthread_t thread[k]; //Thread variables ^ source_file.c:75:17: error: ‘info’ undeclared (first use in this function) info[k].row = i; ^ source_file.c:75:17: note: each undeclared identifier is reported only once for each function it appears in source_file.c:77:37: error: ‘thread’ undeclared (first use in this function) if (pthread_create(&thread[k], NULL, &compute_C_ij, (void *)&info[k]) != 0) { ^ cc1: all warnings being treated as errors |
λ
.NET NoSQL database for rapid development
|