public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
From: Romano Paolo Tenca <rotenca@telvia.it>
To: pthreads-win32@sources.redhat.com
Subject: small fixes
Date: Thu, 14 Sep 2006 18:30:00 -0000	[thread overview]
Message-ID: <45099FB3.4080507@telvia.it> (raw)
In-Reply-To: <001f01c6d816$57058ee0$2101a8c0@dit3155830689b>

(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



      parent reply	other threads:[~2006-09-14 18:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-14 15:56 Re:Status for Windows CE with pthreads 2.7.0? David Bo Jensen
2006-09-14 18:27 ` Status " Romano Paolo Tenca
2006-09-14 18:30 ` Romano Paolo Tenca [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45099FB3.4080507@telvia.it \
    --to=rotenca@telvia.it \
    --cc=pthreads-win32@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).