This is the mail archive of the
pthreads-win32@sourceware.org
mailing list for the pthreas-win32 project.
Re: Status for Windows CE with pthreads 2.7.0?
- From: Romano Paolo Tenca <rotenca at telvia dot it>
- To: pthreads-win32 at sources dot redhat dot com
- Date: Thu, 14 Sep 2006 20:27:12 +0200
- Subject: Re: Status for Windows CE with pthreads 2.7.0?
- References: <001f01c6d816$57058ee0$2101a8c0@dit3155830689b>
Some small fixes:
1) Should be said somewhere that the static lib must be build with this
option:
-lws2_32
2) In ptw32_MCS_lock.c, should be
#include "pthread.h"
#include "implement.h"
not
#include "implement.h"
#include "pthread.h"
3) gcc proto missing warnings:
gcc -c -o pthread_spin_lock.o -D__CLEANUP_C -O3 -finline-functions
-DPTW32_STATI
C_LIB -I. -DHAVE_CONFIG_H -Wall pthread_spin_lock.c
pthread_spin_lock.c: In function `pthread_spin_lock':
pthread_spin_lock.c:55: warning: implicit declaration of function
`ptw32_spinloc
k_check_need_init'
gcc -c -o pthread_spin_trylock.o -D__CLEANUP_C -O3 -finline-functions
-DPTW32_ST
ATIC_LIB -I. -DHAVE_CONFIG_H -Wall pthread_spin_trylock.c
pthread_spin_trylock.c: In function `pthread_spin_trylock':
pthread_spin_trylock.c:55: warning: implicit declaration of function
`ptw32_spin
lock_check_need_init'
--
Romano Paolo Tenca