From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21808 invoked by alias); 14 Sep 2006 18:30:17 -0000 Received: (qmail 21799 invoked by uid 22791); 14 Sep 2006 18:30:16 -0000 X-Spam-Check-By: sourceware.org Received: from efesto.telvia.it (HELO efesto.telvia.it) (213.155.209.50) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 14 Sep 2006 18:30:15 +0000 Received: from [213.155.205.111] (unverified [213.155.205.111]) by efesto.telvia.it (Vircom SMTPRS 5.3.228) with ESMTP id for ; Thu, 14 Sep 2006 20:29:59 +0200 Message-ID: <45099FB3.4080507@telvia.it> Date: Thu, 14 Sep 2006 18:30:00 -0000 From: Romano Paolo Tenca User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: pthreads-win32@sources.redhat.com Subject: small fixes References: <001f01c6d816$57058ee0$2101a8c0@dit3155830689b> In-Reply-To: <001f01c6d816$57058ee0$2101a8c0@dit3155830689b> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact pthreads-win32-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sourceware.org X-SW-Source: 2006/txt/msg00050.txt.bz2 (reposting: wrong subject in previous message) 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