public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
* Solved: errno problems
@ 1999-11-10  2:21 Erik Hensema
  0 siblings, 0 replies; only message in thread
From: Erik Hensema @ 1999-11-10  2:21 UTC (permalink / raw)
  To: 'Pthreads-win32'

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-11-10  2:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-10  2:21 Solved: errno problems Erik Hensema

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).