From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15579 invoked by alias); 26 Apr 2005 02:34:50 -0000 Mailing-List: contact pthreads-win32-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sources.redhat.com Received: (qmail 14622 invoked from network); 26 Apr 2005 02:34:40 -0000 Received: from unknown (HELO quokka.dot.net.au) (202.147.68.16) by sourceware.org with SMTP; 26 Apr 2005 02:34:40 -0000 Received: from [203.129.42.231] (helo=ppp-42-231.grapevine.net.au) by quokka.dot.net.au with esmtp (Exim 3.35 #1 (Debian)) id 1DQFuH-0003qI-00; Tue, 26 Apr 2005 12:34:37 +1000 Subject: Re: Some tests fail in VC++2005 From: Ross Johnson To: Will Bryant Cc: Pthreads-Win32 list In-Reply-To: <426C5666.60202@ecosm.com> References: <00a601c5467b$a5ac6e70$fe00a8c0@C2> <1114148748.14400.85.camel@desk.home> <4268A8FE.5070806@btinternet.com> <1114388437.9484.20.camel@desk.home> <426C5666.60202@ecosm.com> Content-Type: text/plain Date: Tue, 26 Apr 2005 02:34:00 -0000 Message-Id: <1114482870.10350.22.camel@desk.home> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SW-Source: 2005/txt/msg00083.txt.bz2 On Mon, 2005-04-25 at 14:31 +1200, Will Bryant wrote: > Ross Johnson wrote: > > >[snip] In the Borland case I confirmed this by > >printing the location pointers, and is obviously fixable, but I couldn't > >find any information on what might cause the errno() routine to return > >different locations for the same thread depending on whether the call > >was inside or outside of the dll. > > > > > Were you compiling both with the same RTL option(s)? No. Oops. I was using cw32mt.lib (static lib) for the dll, and nothing specified for the test apps. I'm now using cw32mti.lib (import lib for cw32mt.dll) for both dll and test apps. Now errno is ok, but I'm getting memory read exceptions on some tests, but that will have to wait for another time. Thanks. Ross