From: Erik Hensema <erik.hensema@group2000.nl>
To: 'Pthreads-win32' <pthreads-win32@sourceware.cygnus.com>
Subject: Solved: errno problems
Date: Wed, 10 Nov 1999 02:21:00 -0000 [thread overview]
Message-ID: <A01E735D4940D311A3850090275559330BA9A0@NTSRV02> (raw)
Hi,
I wrote to this list about errno being different inside and outside
pthread.dll. I've solved the problems. This is how & why:
Linking to different C-libraries results in different versions of errno,
printf, etc. This could result in access violations, or in more obscure
problems, like my problems with errno.
I have recompiled all my source code with /MDd (link with MSVCRTD.LIB debug
lib), including the pthread.dll, and now everything works as expected.
Note that by default, the msdev environnement links with /ML, this should
also be changed to /MD or /MDd.
This is a know problem described in the MS knowledge base, I can supply a KB
number, if someone likes to read the article.
--
Erik Hensema
Work: erik.hensema@group2000.nl
Home: erik@hensema.xs4all.nl
reply other threads:[~1999-11-10 2:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=A01E735D4940D311A3850090275559330BA9A0@NTSRV02 \
--to=erik.hensema@group2000.nl \
--cc=pthreads-win32@sourceware.cygnus.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).