Boost logo

Boost :

Subject: Re: [boost] Regression testing on win32 platforms
From: Arash Partow (arash_at_[hidden])
Date: 2010-01-11 14:39:38


Thanks for the reply John,

John Maddock wrote:
>
> That example works OK for me here with:
>
> Microsoft Visual Studio 2008
> Version 9.0.30729.1 SP
>
> Which specific MSVC version are you using?
>

Here are my details:

VS2008 Team, SP1

Command Line: /O2 /Oi /Ot /GL /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "NOMINMAX" /D "_SCL_SECURE_NO_WARNINGS" /D "_SECURE_SCL=0" /D "_UNICODE" /D "UNICODE" /FD /EHsc /MT /Gy /Fo"Release\\" /Fd"Release\vc90.pdb" /W4 /nologo /c /Zi /TP /errorReport:prompt

In short a release mode build with _SECURE_SCL=0 should causes it to crash. static-linking or otherwise still causes it to crash.

> Also note that some of those #defines will change the ABI of the C++ std
> lib - so the regex lib (or any other lib for that matter), should always
> be built with the same #defines that will be used in the program.

You are absolutely correct and that is what I've done (added new defs to bjam build script), and in all cases this crash still occurs.

I'd like to clarify that I'm not saying this is a BOOST issue, I'm just wondering if the regression tests have a mode where this particular define is being used - as it seems necessary to have it in when building in release mode if performance is important.

Regards,
Arash


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk