In file included from 0_0_10784010_11939.cpp:1:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/unistd.h:10:16: io.h: No such file or directory
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/unistd.h:11:21: process.h: No such file or directory
In file included from 0_0_10784010_11939.cpp:1:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/unistd.h:37: error: `off_t' has not been declared
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/unistd.h:38: error: expected constructor, destructor, or type conversion before "int"
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/unistd.h:38: error: expected `,' or `;' before "int"
0_0_10784010_11939.cpp:4:21: pthread.h: No such file or directory
0_0_10784010_11939.cpp:5:23: semaphore.h: No such file or directory
0_0_10784010_11939.cpp:7:21: windows.h: No such file or directory
0_0_10784010_11939.cpp:8:17: dos.h: No such file or directory
0_0_10784010_11939.cpp:15: error: `sem_t' does not name a type
0_0_10784010_11939.cpp:16: error: `sem_t' does not name a type
0_0_10784010_11939.cpp:17: error: `pthread_mutex_t' does not name a type
0_0_10784010_11939.cpp: In function `void* product()':
0_0_10784010_11939.cpp:27: error: `empty_sem' undeclared (first use this function)
0_0_10784010_11939.cpp:27: error: (Each undeclared identifier is reported only once for each function it appears in.)
0_0_10784010_11939.cpp:27: error: `sem_wait' undeclared (first use this function)
0_0_10784010_11939.cpp:28: error: `mutex' undeclared (first use this function)
0_0_10784010_11939.cpp:28: error: `pthread_mutex_lock' undeclared (first use this function)
0_0_10784010_11939.cpp:35: error: `pthread_mutex_unlock' undeclared (first use this function)
0_0_10784010_11939.cpp:36: error: `full_sem' undeclared (first use this function)
0_0_10784010_11939.cpp:36: error: `sem_post' undeclared (first use this function)
0_0_10784010_11939.cpp: In function `void* purchase()':
0_0_10784010_11939.cpp:42: error: `full_sem' undeclared (first use this function)
0_0_10784010_11939.cpp:42: error: `sem_wait' undeclared (first use this function)
0_0_10784010_11939.cpp:43: error: `mutex' undeclared (first use this function)
0_0_10784010_11939.cpp:43: error: `pthread_mutex_lock' undeclared (first use this function)
0_0_10784010_11939.cpp:50: error: `pthread_mutex_unlock' undeclared (first use this function)
0_0_10784010_11939.cpp:51: error: `empty_sem' undeclared (first use this function)
0_0_10784010_11939.cpp:51: error: `sem_post' undeclared (first use this function)
0_0_10784010_11939.cpp: In function `int main()':
0_0_10784010_11939.cpp:55: error: `pthread_t' undeclared (first use this function)
0_0_10784010_11939.cpp:55: error: expected `;' before "pro"
0_0_10784010_11939.cpp:56: error: expected `;' before "pur"
0_0_10784010_11939.cpp:57: error: `empty_sem' undeclared (first use this function)
0_0_10784010_11939.cpp:57: error: `sem_init' undeclared (first use this function)
0_0_10784010_11939.cpp:57: error: `full_sem' undeclared (first use this function)
0_0_10784010_11939.cpp:57: error: `mutex' undeclared (first use this function)
0_0_10784010_11939.cpp:57: error: `pthread_mutex_init' undeclared (first use this function)
0_0_10784010_11939.cpp:67: error: `pro' undeclared (first use this function)
0_0_10784010_11939.cpp:67: error: `pthread_create' undeclared (first use this function)
0_0_10784010_11939.cpp:73: error: `pur' undeclared (first use this function)
0_0_10784010_11939.cpp:79: error: `pthread_join' undeclared (first use this function)
|