This is the mail archive of the mailing list for the pthreas-win32 project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: VCE test failed under Microsoft Visual Studio .NET 2003


Thanks for the test suite patches re Intel C++ 8.1.

VCE test failure is a known problem for VC6.0 and VC7.0. I will add
VS .NET 2003 to the list. See the BUGS file for more on this, but note
that the workaround described there doesn't work with recent snapshots,
although please try it if you have the time - it may provide clues.

As far as anyone can tell, this isn't a problem in the library, but is
assumed to be a problem in the VC++ compiler series related to exception
frame unwinding, and possibly also related to optimisation levels. Try
tracing the exception and it simply seems to disappear.

The GCE version tests pass, which supports the view that it's not a bug
in the library. Did the Intel C++ 8.1 version pass?

It is generally recommended, for POSIX portability, that people use the
VC version rather than VCE version of the pthread dll - even for C++
applications. See the README file and FAQ file for discussion on this.


On Thu, 2005-03-03 at 11:04 +0800, Dongsheng Song wrote:
> I using Microsoft Visual Studio .NET 2003 compile the latest 
> pthread-win32 code, VC test passed, VCE test fail:
> ...
> cl /GX /TP /DPtW32NoCatchWarn /D__CLEANUP_CXX /O2 /Ob2 /W3 /WX /MD 
> /nologo -I. s
> emaphore4.c /Fesemaphore4.exe /link /INCREMENTAL:NO pthreadVCE1.lib 
> ws2_32.lib
> semaphore4.c
> ... Running VCE test: semaphore4.exe
> Assertion failed: (-value == (MAX_COUNT - 1)), file semaphore4.c, line 122
> NMAKE : fatal error U1077: â.\semaphore4.exeâ : return code â0x1â
> Stop.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]